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

#define SWIGPERL
#define SWIG_CASTRANK_MODE


#ifdef __cplusplus
/* SwigValueWrapper is described in swig.swg */
template<typename T> class SwigValueWrapper {
  struct SwigMovePointer {
    T *ptr;
    SwigMovePointer(T *p) : ptr(p) { }
    ~SwigMovePointer() { delete ptr; }
    SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; }
  } pointer;
  SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
  SwigValueWrapper(const SwigValueWrapper<T>& rhs);
public:
  SwigValueWrapper() : pointer(0) { }
  SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; }
  operator T&() const { return *pointer.ptr; }
  T *operator&() { return pointer.ptr; }
};

template <typename T> T SwigValueInit() {
  return T();
}
#endif

/* -----------------------------------------------------------------------------
 *  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
# elif defined(__HP_aCC)
/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
#  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__)
#   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
#     define SWIGUNUSED __attribute__ ((__unused__)) 
#   else
#     define SWIGUNUSED
#   endif
# elif defined(__ICC)
#   define SWIGUNUSED __attribute__ ((__unused__)) 
# else
#   define SWIGUNUSED 
# endif
#endif

#ifndef SWIG_MSC_UNSUPPRESS_4505
# if defined(_MSC_VER)
#   pragma warning(disable : 4505) /* unreferenced local function has been removed */
# endif 
#endif

#ifndef SWIGUNUSEDPARM
# ifdef __cplusplus
#   define SWIGUNUSEDPARM(p)
# else
#   define SWIGUNUSEDPARM(p) p 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 */
#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
#  ifndef GCC_HASCLASSVISIBILITY
#    define GCC_HASCLASSVISIBILITY
#  endif
#endif

#ifndef SWIGEXPORT
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
#   if defined(STATIC_LINKED)
#     define SWIGEXPORT
#   else
#     define SWIGEXPORT __declspec(dllexport)
#   endif
# else
#   if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
#     define SWIGEXPORT __attribute__ ((visibility("default")))
#   else
#     define SWIGEXPORT
#   endif
# endif
#endif

/* calling conventions for Windows */
#ifndef SWIGSTDCALL
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
#   define SWIGSTDCALL __stdcall
# else
#   define SWIGSTDCALL
# endif 
#endif

/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
# define _CRT_SECURE_NO_DEPRECATE
#endif

/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
# define _SCL_SECURE_NO_DEPRECATE
#endif


/* -----------------------------------------------------------------------------
 * swigrun.swg
 *
 * This file contains generic C API 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 "4"

/* 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 strictly necessary, ie, if you have problems
  with your compiler or suchlike.
*/

#ifndef SWIGRUNTIME
# define SWIGRUNTIME SWIGINTERN
#endif

#ifndef SWIGRUNTIMEINLINE
# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
#endif

/*  Generic buffer size */
#ifndef SWIG_BUFFER_SIZE
# define SWIG_BUFFER_SIZE 1024
#endif

/* Flags for pointer conversions */
#define SWIG_POINTER_DISOWN        0x1
#define SWIG_CAST_NEW_MEMORY       0x2

/* Flags for new pointer objects */
#define SWIG_POINTER_OWN           0x1


/* 
   Flags/methods for returning states.
   
   The SWIG conversion methods, as ConvertPtr, return an integer 
   that tells if the conversion was successful or not. And if not,
   an error code can be returned (see swigerrors.swg for the codes).
   
   Use the following macros/flags to set or process the returning
   states.
   
   In old versions of SWIG, code such as the following was usually written:

     if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
       // success code
     } else {
       //fail code
     }

   Now you can be more explicit:

    int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
    if (SWIG_IsOK(res)) {
      // success code
    } else {
      // fail code
    }

   which is the same really, but now you can also do

    Type *ptr;
    int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
    if (SWIG_IsOK(res)) {
      // success code
      if (SWIG_IsNewObj(res) {
        ...
	delete *ptr;
      } else {
        ...
      }
    } else {
      // fail code
    }
    
   I.e., now SWIG_ConvertPtr can return new objects and you can
   identify the case and take care of the deallocation. Of course that
   also requires SWIG_ConvertPtr to return new result values, such as

      int SWIG_ConvertPtr(obj, ptr,...) {         
        if (<obj is ok>) {			       
          if (<need new object>) {		       
            *ptr = <ptr to new allocated object>; 
            return SWIG_NEWOBJ;		       
          } else {				       
            *ptr = <ptr to old object>;	       
            return SWIG_OLDOBJ;		       
          } 				       
        } else {				       
          return SWIG_BADOBJ;		       
        }					       
      }

   Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
   more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
   SWIG errors code.

   Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
   allows to return the 'cast rank', for example, if you have this

       int food(double)
       int fooi(int);

   and you call
 
      food(1)   // cast rank '1'  (1 -> 1.0)
      fooi(1)   // cast rank '0'

   just use the SWIG_AddCast()/SWIG_CheckState()
*/

#define SWIG_OK                    (0) 
#define SWIG_ERROR                 (-1)
#define SWIG_IsOK(r)               (r >= 0)
#define SWIG_ArgError(r)           ((r != SWIG_ERROR) ? r : SWIG_TypeError)  

/* The CastRankLimit says how many bits are used for the cast rank */
#define SWIG_CASTRANKLIMIT         (1 << 8)
/* The NewMask denotes the object was created (using new/malloc) */
#define SWIG_NEWOBJMASK            (SWIG_CASTRANKLIMIT  << 1)
/* The TmpMask is for in/out typemaps that use temporal objects */
#define SWIG_TMPOBJMASK            (SWIG_NEWOBJMASK << 1)
/* Simple returning values */
#define SWIG_BADOBJ                (SWIG_ERROR)
#define SWIG_OLDOBJ                (SWIG_OK)
#define SWIG_NEWOBJ                (SWIG_OK | SWIG_NEWOBJMASK)
#define SWIG_TMPOBJ                (SWIG_OK | SWIG_TMPOBJMASK)
/* Check, add and del mask methods */
#define SWIG_AddNewMask(r)         (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
#define SWIG_DelNewMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
#define SWIG_IsNewObj(r)           (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
#define SWIG_AddTmpMask(r)         (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
#define SWIG_DelTmpMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
#define SWIG_IsTmpObj(r)           (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))

/* Cast-Rank Mode */
#if defined(SWIG_CASTRANK_MODE)
#  ifndef SWIG_TypeRank
#    define SWIG_TypeRank             unsigned long
#  endif
#  ifndef SWIG_MAXCASTRANK            /* Default cast allowed */
#    define SWIG_MAXCASTRANK          (2)
#  endif
#  define SWIG_CASTRANKMASK          ((SWIG_CASTRANKLIMIT) -1)
#  define SWIG_CastRank(r)           (r & SWIG_CASTRANKMASK)
SWIGINTERNINLINE int SWIG_AddCast(int r) { 
  return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
}
SWIGINTERNINLINE int SWIG_CheckState(int r) { 
  return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0; 
}
#else /* no cast-rank mode */
#  define SWIG_AddCast
#  define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
#endif


#include <string.h>

#ifdef __cplusplus
extern "C" {
#endif

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

/* Structure to store information 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 */
  int                    owndata;		/* flag if the structure owns the clientdata */
} 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 (*f1 > *f2) ? 1 : -1;
  }
  return (int)((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;
}


/*
  Check the typename
*/
SWIGRUNTIME swig_cast_info *
SWIG_TypeCheck(const char *c, swig_type_info *ty) {
  if (ty) {
    swig_cast_info *iter = ty->cast;
    while (iter) {
      if (strcmp(iter->type->name, c) == 0) {
        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;
}

/* 
  Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
*/
SWIGRUNTIME swig_cast_info *
SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty) {
  if (ty) {
    swig_cast_info *iter = ty->cast;
    while (iter) {
      if (iter->type == from) {
        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;
}

/*
  Cast a pointer up an inheritance hierarchy
*/
SWIGRUNTIMEINLINE void *
SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
  return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
}

/* 
   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) return NULL;
  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;
  }
}
SWIGRUNTIME void
SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
  SWIG_TypeClientData(ti, clientdata);
  ti->owndata = 1;
}
  
/*
  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;
    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

/*  Errors in SWIG */
#define  SWIG_UnknownError    	   -1 
#define  SWIG_IOError        	   -2 
#define  SWIG_RuntimeError   	   -3 
#define  SWIG_IndexError     	   -4 
#define  SWIG_TypeError      	   -5 
#define  SWIG_DivisionByZero 	   -6 
#define  SWIG_OverflowError  	   -7 
#define  SWIG_SyntaxError    	   -8 
#define  SWIG_ValueError     	   -9 
#define  SWIG_SystemError    	   -10
#define  SWIG_AttributeError 	   -11
#define  SWIG_MemoryError    	   -12 
#define  SWIG_NullReferenceError   -13



#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"

/* Add in functionality missing in older versions of Perl. Much of this is based on Devel-PPPort on cpan. */

/* Add PERL_REVISION, PERL_VERSION, PERL_SUBVERSION if missing */
#ifndef PERL_REVISION
#  if !defined(__PATCHLEVEL_H_INCLUDED__) && !(defined(PATCHLEVEL) && defined(SUBVERSION))
#    define PERL_PATCHLEVEL_H_IMPLICIT
#    include <patchlevel.h>
#  endif
#  if !(defined(PERL_VERSION) || (defined(SUBVERSION) && defined(PATCHLEVEL)))
#    include <could_not_find_Perl_patchlevel.h>
#  endif
#  ifndef PERL_REVISION
#    define PERL_REVISION       (5)
#    define PERL_VERSION        PATCHLEVEL
#    define PERL_SUBVERSION     SUBVERSION
#  endif
#endif

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

#ifndef SvIOK_UV
# define SvIOK_UV(sv)       (SvIOK(sv) && (SvUVX(sv) == SvIVX(sv)))
#endif

#ifndef SvUOK
# define SvUOK(sv)           SvIOK_UV(sv)
#endif

#if ((PERL_VERSION < 4) || ((PERL_VERSION == 4) && (PERL_SUBVERSION <= 5)))
#  define PL_sv_undef               sv_undef
#  define PL_na	                    na
#  define PL_errgv                  errgv
#  define PL_sv_no                  sv_no
#  define PL_sv_yes                 sv_yes
#  define PL_markstack_ptr          markstack_ptr
#endif

#ifndef IVSIZE
#  ifdef LONGSIZE
#    define IVSIZE LONGSIZE
#  else
#    define IVSIZE 4 /* A bold guess, but the best we can make. */
#  endif
#endif

#ifndef INT2PTR
#  if (IVSIZE == PTRSIZE) && (UVSIZE == PTRSIZE)
#    define PTRV                  UV
#    define INT2PTR(any,d)        (any)(d)
#  else
#    if PTRSIZE == LONGSIZE
#      define PTRV                unsigned long
#    else
#      define PTRV                unsigned
#    endif
#    define INT2PTR(any,d)        (any)(PTRV)(d)
#  endif

#  define NUM2PTR(any,d)  (any)(PTRV)(d)
#  define PTR2IV(p)       INT2PTR(IV,p)
#  define PTR2UV(p)       INT2PTR(UV,p)
#  define PTR2NV(p)       NUM2PTR(NV,p)

#  if PTRSIZE == LONGSIZE
#    define PTR2ul(p)     (unsigned long)(p)
#  else
#    define PTR2ul(p)     INT2PTR(unsigned long,p)
#  endif
#endif /* !INT2PTR */

#ifndef SvPV_nolen
# define SvPV_nolen(x) SvPV(x,PL_na)
#endif

#ifndef get_sv
#  define get_sv perl_get_sv
#endif

#ifndef ERRSV
#  define ERRSV get_sv("@",FALSE)
#endif

#ifndef pTHX_
#define pTHX_
#endif   

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

/* -----------------------------------------------------------------------------
 * error manipulation
 * ----------------------------------------------------------------------------- */

SWIGINTERN const char*
SWIG_Perl_ErrorType(int code) {
  const char* type = 0;
  switch(code) {
  case SWIG_MemoryError:
    type = "MemoryError";
    break;
  case SWIG_IOError:
    type = "IOError";
    break;
  case SWIG_RuntimeError:
    type = "RuntimeError";
    break;
  case SWIG_IndexError:
    type = "IndexError";
    break;
  case SWIG_TypeError:
    type = "TypeError";
    break;
  case SWIG_DivisionByZero:
    type = "ZeroDivisionError";
    break;
  case SWIG_OverflowError:
    type = "OverflowError";
    break;
  case SWIG_SyntaxError:
    type = "SyntaxError";
    break;
  case SWIG_ValueError:
    type = "ValueError";
    break;
  case SWIG_SystemError:
    type = "SystemError";
    break;
  case SWIG_AttributeError:
    type = "AttributeError";
    break;
  default:
    type = "RuntimeError";
  }
  return type;
}




/* -----------------------------------------------------------------------------
 * perlrun.swg
 *
 * This file contains the runtime support for Perl modules
 * and includes code for managing global variables and pointer
 * type checking.
 * ----------------------------------------------------------------------------- */

#ifdef PERL_OBJECT
#define SWIG_PERL_OBJECT_DECL CPerlObj *SWIGUNUSEDPARM(pPerl),
#define SWIG_PERL_OBJECT_CALL pPerl,
#else
#define SWIG_PERL_OBJECT_DECL
#define SWIG_PERL_OBJECT_CALL
#endif

/* Common SWIG API */

/* for raw pointers */
#define SWIG_ConvertPtr(obj, pp, type, flags)           SWIG_Perl_ConvertPtr(SWIG_PERL_OBJECT_CALL obj, pp, type, flags)
#define SWIG_ConvertPtrAndOwn(obj, pp, type, flags,own) SWIG_Perl_ConvertPtrAndOwn(SWIG_PERL_OBJECT_CALL obj, pp, type, flags, own)
#define SWIG_NewPointerObj(p, type, flags)              SWIG_Perl_NewPointerObj(SWIG_PERL_OBJECT_CALL p, type, flags)

/* for raw packed data */
#define SWIG_ConvertPacked(obj, p, s, type)             SWIG_Perl_ConvertPacked(SWIG_PERL_OBJECT_CALL obj, p, s, type)
#define SWIG_NewPackedObj(p, s, type)	                SWIG_Perl_NewPackedObj(SWIG_PERL_OBJECT_CALL p, s, type)

/* for class or struct pointers */
#define SWIG_ConvertInstance(obj, pptr, type, flags)    SWIG_ConvertPtr(obj, pptr, type, flags)
#define SWIG_NewInstanceObj(ptr, type, flags)           SWIG_NewPointerObj(ptr, type, flags)

/* for C or C++ function pointers */
#define SWIG_ConvertFunctionPtr(obj, pptr, type)        SWIG_ConvertPtr(obj, pptr, type, 0)
#define SWIG_NewFunctionPtrObj(ptr, type)               SWIG_NewPointerObj(ptr, type, 0)

/* for C++ member pointers, ie, member methods */
#define SWIG_ConvertMember(obj, ptr, sz, ty)            SWIG_ConvertPacked(obj, ptr, sz, ty)
#define SWIG_NewMemberObj(ptr, sz, type)                SWIG_NewPackedObj(ptr, sz, type)


/* Runtime API */

#define SWIG_GetModule(clientdata)                      SWIG_Perl_GetModule()
#define SWIG_SetModule(clientdata, pointer)             SWIG_Perl_SetModule(pointer)


/* Error manipulation */

#define SWIG_ErrorType(code)                            SWIG_Perl_ErrorType(code)               
#define SWIG_Error(code, msg)            		sv_setpvf(GvSV(PL_errgv),"%s %s\n", SWIG_ErrorType(code), msg)
#define SWIG_fail                        		goto fail						    

/* Perl-specific SWIG API */

#define SWIG_MakePtr(sv, ptr, type, flags)              SWIG_Perl_MakePtr(SWIG_PERL_OBJECT_CALL sv, ptr, type, flags)
#define SWIG_MakePackedObj(sv, p, s, type)	        SWIG_Perl_MakePackedObj(SWIG_PERL_OBJECT_CALL sv, p, s, type)
#define SWIG_SetError(str)                              SWIG_Error(SWIG_RuntimeError, str)


#define SWIG_PERL_DECL_ARGS_1(arg1)                     (SWIG_PERL_OBJECT_DECL arg1)
#define SWIG_PERL_CALL_ARGS_1(arg1)                     (SWIG_PERL_OBJECT_CALL arg1)
#define SWIG_PERL_DECL_ARGS_2(arg1, arg2)               (SWIG_PERL_OBJECT_DECL arg1, arg2)
#define SWIG_PERL_CALL_ARGS_2(arg1, arg2)               (SWIG_PERL_OBJECT_CALL arg1, arg2)

/* -----------------------------------------------------------------------------
 * pointers/data manipulation
 * ----------------------------------------------------------------------------- */

/* For backward compatibility only */
#define SWIG_POINTER_EXCEPTION  0

#ifdef __cplusplus
extern "C" {
#endif

#define SWIG_OWNER   SWIG_POINTER_OWN
#define SWIG_SHADOW  SWIG_OWNER << 1

#define SWIG_MAYBE_PERL_OBJECT SWIG_PERL_OBJECT_DECL

/* SWIG Perl macros */

/* Macro to declare an XS function */
#ifndef XSPROTO
#   define XSPROTO(name) void name(pTHX_ CV* cv)
#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 

#ifdef PERL_OBJECT
#define MAGIC_PPERL  CPerlObj *pPerl = (CPerlObj *) this;

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

#define SWIG_MAGIC(a,b) (SV *a, MAGIC *b)
#define SWIGCLASS_STATIC

#else /* PERL_OBJECT */

#define MAGIC_PPERL
#define SWIGCLASS_STATIC static SWIGUNUSED

#ifndef MULTIPLICITY
#define SWIG_MAGIC(a,b) (SV *a, MAGIC *b)

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

#else /* MULTIPLICITY */

#define SWIG_MAGIC(a,b) (struct interpreter *interp, SV *a, MAGIC *b)

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

#endif /* MULTIPLICITY */
#endif /* PERL_OBJECT */

/* Workaround for bug in perl 5.6.x croak and earlier */
#if (PERL_VERSION < 8)
#  ifdef PERL_OBJECT
#    define SWIG_croak_null() SWIG_Perl_croak_null(pPerl)
static void SWIG_Perl_croak_null(CPerlObj *pPerl)
#  else
static void SWIG_croak_null()
#  endif
{
  SV *err=ERRSV;
#  if (PERL_VERSION < 6)
  croak("%_", err);
#  else
  if (SvOK(err) && !SvROK(err)) croak("%_", err);
  croak(Nullch);
#  endif
}
#else
#  define SWIG_croak_null() croak(Nullch)
#endif


/* 
   Define how strict is the cast between strings and integers/doubles
   when overloading between these types occurs.
   
   The default is making it as strict as possible by using SWIG_AddCast
   when needed.
   
   You can use -DSWIG_PERL_NO_STRICT_STR2NUM at compilation time to
   disable the SWIG_AddCast, making the casting between string and
   numbers less strict.

   In the end, we try to solve the overloading between strings and
   numerical types in the more natural way, but if you can avoid it,
   well, avoid it using %rename, for example.
*/
#ifndef SWIG_PERL_NO_STRICT_STR2NUM
# ifndef SWIG_PERL_STRICT_STR2NUM
#  define SWIG_PERL_STRICT_STR2NUM
# endif
#endif
#ifdef SWIG_PERL_STRICT_STR2NUM
/* string takes precedence */
#define SWIG_Str2NumCast(x) SWIG_AddCast(x)  
#else
/* number takes precedence */
#define SWIG_Str2NumCast(x) x
#endif



#include <stdlib.h>

SWIGRUNTIME const char *
SWIG_Perl_TypeProxyName(const swig_type_info *type) {
  if (!type) return NULL;
  if (type->clientdata != NULL) {
    return (const char*) type->clientdata;
  } 
  else {
    return type->name;
  }
}

/* Identical to SWIG_TypeCheck, except for strcmp comparison */
SWIGRUNTIME swig_cast_info *
SWIG_TypeProxyCheck(const char *c, swig_type_info *ty) {
  if (ty) {
    swig_cast_info *iter = ty->cast;
    while (iter) {
      if ( (!iter->type->clientdata && (strcmp(iter->type->name, c) == 0)) ||
            (iter->type->clientdata && (strcmp((char*)iter->type->clientdata, c) == 0)) ) {
        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;
}

/* Function for getting a pointer value */

SWIGRUNTIME int
SWIG_Perl_ConvertPtrAndOwn(SWIG_MAYBE_PERL_OBJECT SV *sv, void **ptr, swig_type_info *_t, int flags, int *own) {
  swig_cast_info *tc;
  void *voidptr = (void *)0;
  SV *tsv = 0;

  if (own)
    *own = 0;

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

  /* Check to see if this is an object */
  if (sv_isobject(sv)) {
    IV tmp = 0;
    tsv = (SV*) SvRV(sv);
    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)) {
	    tsv = (SV*)SvRV(sv);
            tmp = SvIV(tsv);
          }
        }
      } else {
        return SWIG_ERROR;
      }
    } else {
      tmp = SvIV(tsv);
    }
    voidptr = INT2PTR(void *,tmp);
  } else if (! SvOK(sv)) {            /* Check for undef */
    *(ptr) = (void *) 0;
    return SWIG_OK;
  } else if (SvTYPE(sv) == SVt_RV) {  /* Check for NULL pointer */
    if (!SvROK(sv)) {
      *(ptr) = (void *) 0;
      return SWIG_OK;
    } else {
      return SWIG_ERROR;
    }
  } else {                            /* Don't know what it is */
    return SWIG_ERROR;
  }
  if (_t) {
    /* Now see if the types match */
    char *_c = HvNAME(SvSTASH(SvRV(sv)));
    tc = SWIG_TypeProxyCheck(_c,_t);
    if (!tc) {
      return SWIG_ERROR;
    }
    {
      int newmemory = 0;
      *ptr = SWIG_TypeCast(tc,voidptr,&newmemory);
      if (newmemory == SWIG_CAST_NEW_MEMORY) {
        assert(own); /* badly formed typemap which will lead to a memory leak - it must set and use own to delete *ptr */
        if (own)
          *own = *own | SWIG_CAST_NEW_MEMORY;
      }
    }
  } else {
    *ptr = voidptr;
  }

  /* 
   *  DISOWN implementation: we need a perl guru to check this one.
   */
  if (tsv && (flags & SWIG_POINTER_DISOWN)) {
    /* 
     *  almost copy paste code from below SWIG_POINTER_OWN setting
     */
    SV *obj = sv;
    HV *stash = SvSTASH(SvRV(obj));
    GV *gv = *(GV**)hv_fetch(stash, "OWNER", 5, TRUE);
    if (isGV(gv)) {
      HV *hv = GvHVn(gv);
      /*
       * To set ownership (see below), a newSViv(1) entry is added. 
       * Hence, to remove ownership, we delete the entry.
       */
      if (hv_exists_ent(hv, obj, 0)) {
	hv_delete_ent(hv, obj, 0, 0);
      }
    }
  }
  return SWIG_OK;
}

SWIGRUNTIME int
SWIG_Perl_ConvertPtr(SWIG_MAYBE_PERL_OBJECT SV *sv, void **ptr, swig_type_info *_t, int flags) {
  return SWIG_Perl_ConvertPtrAndOwn(sv, ptr, _t, flags, 0);
}

SWIGRUNTIME void
SWIG_Perl_MakePtr(SWIG_MAYBE_PERL_OBJECT SV *sv, void *ptr, swig_type_info *t, int flags) {
  if (ptr && (flags & (SWIG_SHADOW | SWIG_POINTER_OWN))) {
    SV *self;
    SV *obj=newSV(0);
    HV *hash=newHV();
    HV *stash;
    sv_setref_pv(obj, (char *) SWIG_Perl_TypeProxyName(t), ptr);
    stash=SvSTASH(SvRV(obj));
    if (flags & SWIG_POINTER_OWN) {
      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 *) SWIG_Perl_TypeProxyName(t), ptr);
  }
}

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

SWIGRUNTIME 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(SWIG_Perl_TypeProxyName(type))) > 1000) return;
  *(r++) = '_';
  r = SWIG_PackData(r,ptr,sz);
  strcpy(r,SWIG_Perl_TypeProxyName(type));
  sv_setpv(sv, result);
}

SWIGRUNTIME SV *
SWIG_Perl_NewPackedObj(SWIG_MAYBE_PERL_OBJECT void *ptr, int sz, swig_type_info *type) {
  SV *result = sv_newmortal();
  SWIG_Perl_MakePackedObj(result, ptr, sz, type);
  return result;
}

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

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


/* Macros for low-level exception handling */
#define SWIG_croak(x)    { SWIG_Error(SWIG_RuntimeError, x); SWIG_fail; }


typedef XSPROTO(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;


/* 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
     SWIGRUNTIME void _swig_create_magic(SV *sv, char *name, int (*set)(SV *, MAGIC *), int (*get)(SV *,MAGIC *)) 
  #else
     SWIGRUNTIME 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)
SWIGRUNTIME 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 = (SwigMagicFunc) get;
  mg->mg_virtual->svt_set = (SwigMagicFunc) set;
  mg->mg_virtual->svt_len = 0;
  mg->mg_virtual->svt_clear = 0;
  mg->mg_virtual->svt_free = 0;
}


SWIGRUNTIME swig_module_info *
SWIG_Perl_GetModule(void) {
  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 | GV_ADDMULTI);
    if (pointer && SvOK(pointer)) {
      type_pointer = INT2PTR(swig_type_info **, SvIV(pointer));
    }
  }

  return (swig_module_info *) type_pointer;
}

SWIGRUNTIME 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 | GV_ADDMULTI);
  sv_setiv(pointer, PTR2IV(module));
}

#ifdef __cplusplus
}
#endif

/* Workaround perl5 global namespace pollution. Note that undefining library
 * functions like fopen will not solve the problem on all platforms as fopen
 * might be a macro on Windows but not necessarily on other operating systems. */
#ifdef do_open
  #undef do_open
#endif
#ifdef do_close
  #undef do_close
#endif
#ifdef do_exec
  #undef do_exec
#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 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
#ifdef free
  #undef free
#endif
#ifdef malloc
  #undef malloc
#endif
#ifdef calloc
  #undef calloc
#endif
#ifdef Stat
  #undef Stat
#endif
#ifdef check
  #undef check
#endif
#ifdef seekdir
  #undef seekdir
#endif
#ifdef open
  #undef open
#endif
#ifdef readdir
  #undef readdir
#endif
#ifdef bind
  #undef bind
#endif



#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0) 

#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else 



  #define SWIG_exception(code, msg) do { SWIG_Error(code, msg); SWIG_fail;; } while(0) 


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

#define SWIGTYPE_p_OpMap swig_types[0]
#define SWIGTYPE_p_OpenBabel__AliasData swig_types[1]
#define SWIGTYPE_p_OpenBabel__CharPtrLess swig_types[2]
#define SWIGTYPE_p_OpenBabel__DoubleType swig_types[3]
#define SWIGTYPE_p_OpenBabel__FastSearch swig_types[4]
#define SWIGTYPE_p_OpenBabel__FastSearchIndexer swig_types[5]
#define SWIGTYPE_p_OpenBabel__FptIndex swig_types[6]
#define SWIGTYPE_p_OpenBabel__FptIndexHeader swig_types[7]
#define SWIGTYPE_p_OpenBabel__LineSearchType swig_types[8]
#define SWIGTYPE_p_OpenBabel__OBAngle swig_types[9]
#define SWIGTYPE_p_OpenBabel__OBAngleData swig_types[10]
#define SWIGTYPE_p_OpenBabel__OBAromaticTyper swig_types[11]
#define SWIGTYPE_p_OpenBabel__OBAtom swig_types[12]
#define SWIGTYPE_p_OpenBabel__OBAtomAtomIter swig_types[13]
#define SWIGTYPE_p_OpenBabel__OBAtomBondIter swig_types[14]
#define SWIGTYPE_p_OpenBabel__OBAtomClassData swig_types[15]
#define SWIGTYPE_p_OpenBabel__OBAtomTyper swig_types[16]
#define SWIGTYPE_p_OpenBabel__OBBase swig_types[17]
#define SWIGTYPE_p_OpenBabel__OBBitVec swig_types[18]
#define SWIGTYPE_p_OpenBabel__OBBond swig_types[19]
#define SWIGTYPE_p_OpenBabel__OBBuilder swig_types[20]
#define SWIGTYPE_p_OpenBabel__OBChainsParser swig_types[21]
#define SWIGTYPE_p_OpenBabel__OBChiralData swig_types[22]
#define SWIGTYPE_p_OpenBabel__OBCommentData swig_types[23]
#define SWIGTYPE_p_OpenBabel__OBConformerData swig_types[24]
#define SWIGTYPE_p_OpenBabel__OBConversion swig_types[25]
#define SWIGTYPE_p_OpenBabel__OBDOSData swig_types[26]
#define SWIGTYPE_p_OpenBabel__OBDescriptor swig_types[27]
#define SWIGTYPE_p_OpenBabel__OBElectronicTransitionData swig_types[28]
#define SWIGTYPE_p_OpenBabel__OBElement swig_types[29]
#define SWIGTYPE_p_OpenBabel__OBElementTable swig_types[30]
#define SWIGTYPE_p_OpenBabel__OBError swig_types[31]
#define SWIGTYPE_p_OpenBabel__OBExternalBond swig_types[32]
#define SWIGTYPE_p_OpenBabel__OBExternalBondData swig_types[33]
#define SWIGTYPE_p_OpenBabel__OBFFCalculation2 swig_types[34]
#define SWIGTYPE_p_OpenBabel__OBFFCalculation3 swig_types[35]
#define SWIGTYPE_p_OpenBabel__OBFFCalculation4 swig_types[36]
#define SWIGTYPE_p_OpenBabel__OBFFConstraint swig_types[37]
#define SWIGTYPE_p_OpenBabel__OBFFConstraints swig_types[38]
#define SWIGTYPE_p_OpenBabel__OBFFParameter swig_types[39]
#define SWIGTYPE_p_OpenBabel__OBFingerprint swig_types[40]
#define SWIGTYPE_p_OpenBabel__OBForceField swig_types[41]
#define SWIGTYPE_p_OpenBabel__OBFormat swig_types[42]
#define SWIGTYPE_p_OpenBabel__OBGenericData swig_types[43]
#define SWIGTYPE_p_OpenBabel__OBGlobalDataBase swig_types[44]
#define SWIGTYPE_p_OpenBabel__OBGridData swig_types[45]
#define SWIGTYPE_p_OpenBabel__OBInternalCoord swig_types[46]
#define SWIGTYPE_p_OpenBabel__OBIsotopeTable swig_types[47]
#define SWIGTYPE_p_OpenBabel__OBMatrixData swig_types[48]
#define SWIGTYPE_p_OpenBabel__OBMessageHandler swig_types[49]
#define SWIGTYPE_p_OpenBabel__OBMol swig_types[50]
#define SWIGTYPE_p_OpenBabel__OBMolAngleIter swig_types[51]
#define SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter swig_types[52]
#define SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter swig_types[53]
#define SWIGTYPE_p_OpenBabel__OBMolAtomIter swig_types[54]
#define SWIGTYPE_p_OpenBabel__OBMolBondBFSIter swig_types[55]
#define SWIGTYPE_p_OpenBabel__OBMolBondIter swig_types[56]
#define SWIGTYPE_p_OpenBabel__OBMolPairIter swig_types[57]
#define SWIGTYPE_p_OpenBabel__OBMolRingIter swig_types[58]
#define SWIGTYPE_p_OpenBabel__OBMolTorsionIter swig_types[59]
#define SWIGTYPE_p_OpenBabel__OBNasaThermoData swig_types[60]
#define SWIGTYPE_p_OpenBabel__OBOp swig_types[61]
#define SWIGTYPE_p_OpenBabel__OBOrbital swig_types[62]
#define SWIGTYPE_p_OpenBabel__OBOrbitalData swig_types[63]
#define SWIGTYPE_p_OpenBabel__OBPairData swig_types[64]
#define SWIGTYPE_p_OpenBabel__OBPairTemplateT_double_t swig_types[65]
#define SWIGTYPE_p_OpenBabel__OBPairTemplateT_int_t swig_types[66]
#define SWIGTYPE_p_OpenBabel__OBPlugin swig_types[67]
#define SWIGTYPE_p_OpenBabel__OBPlugin__PluginMapType__const_iterator swig_types[68]
#define SWIGTYPE_p_OpenBabel__OBRTree swig_types[69]
#define SWIGTYPE_p_OpenBabel__OBRandom swig_types[70]
#define SWIGTYPE_p_OpenBabel__OBRateData swig_types[71]
#define SWIGTYPE_p_OpenBabel__OBResidue swig_types[72]
#define SWIGTYPE_p_OpenBabel__OBResidueAtomIter swig_types[73]
#define SWIGTYPE_p_OpenBabel__OBResidueData swig_types[74]
#define SWIGTYPE_p_OpenBabel__OBResidueIter swig_types[75]
#define SWIGTYPE_p_OpenBabel__OBRing swig_types[76]
#define SWIGTYPE_p_OpenBabel__OBRingData swig_types[77]
#define SWIGTYPE_p_OpenBabel__OBRingSearch swig_types[78]
#define SWIGTYPE_p_OpenBabel__OBRingTyper swig_types[79]
#define SWIGTYPE_p_OpenBabel__OBRotamerList swig_types[80]
#define SWIGTYPE_p_OpenBabel__OBRotationData swig_types[81]
#define SWIGTYPE_p_OpenBabel__OBRotor swig_types[82]
#define SWIGTYPE_p_OpenBabel__OBRotorKeys swig_types[83]
#define SWIGTYPE_p_OpenBabel__OBRotorList swig_types[84]
#define SWIGTYPE_p_OpenBabel__OBRotorRule swig_types[85]
#define SWIGTYPE_p_OpenBabel__OBRotorRules swig_types[86]
#define SWIGTYPE_p_OpenBabel__OBSSMatch swig_types[87]
#define SWIGTYPE_p_OpenBabel__OBSerialNums swig_types[88]
#define SWIGTYPE_p_OpenBabel__OBSetData swig_types[89]
#define SWIGTYPE_p_OpenBabel__OBSmartsMatcher swig_types[90]
#define SWIGTYPE_p_OpenBabel__OBSmartsPattern swig_types[91]
#define SWIGTYPE_p_OpenBabel__OBSqrtTbl swig_types[92]
#define SWIGTYPE_p_OpenBabel__OBStopwatch swig_types[93]
#define SWIGTYPE_p_OpenBabel__OBSymmetryData swig_types[94]
#define SWIGTYPE_p_OpenBabel__OBTorsion swig_types[95]
#define SWIGTYPE_p_OpenBabel__OBTorsionData swig_types[96]
#define SWIGTYPE_p_OpenBabel__OBTypeTable swig_types[97]
#define SWIGTYPE_p_OpenBabel__OBUnitCell swig_types[98]
#define SWIGTYPE_p_OpenBabel__OBVectorData swig_types[99]
#define SWIGTYPE_p_OpenBabel__OBVibrationData swig_types[100]
#define SWIGTYPE_p_OpenBabel__OBVirtualBond swig_types[101]
#define SWIGTYPE_p_OpenBabel__Pattern swig_types[102]
#define SWIGTYPE_p_OpenBabel__SpaceGroup swig_types[103]
#define SWIGTYPE_p_OpenBabel__Template swig_types[104]
#define SWIGTYPE_p_OpenBabel__matrix3x3 swig_types[105]
#define SWIGTYPE_p_OpenBabel__obLogBuf swig_types[106]
#define SWIGTYPE_p_OpenBabel__quadT_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_t swig_types[107]
#define SWIGTYPE_p_OpenBabel__rotor_digit swig_types[108]
#define SWIGTYPE_p_OpenBabel__tripleT_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_t swig_types[109]
#define SWIGTYPE_p_OpenBabel__vector3 swig_types[110]
#define SWIGTYPE_p_PluginIterator swig_types[111]
#define SWIGTYPE_p_PluginMapType swig_types[112]
#define SWIGTYPE_p_Unit swig_types[113]
#define SWIGTYPE_p_a_3__double swig_types[114]
#define SWIGTYPE_p_a_4__char swig_types[115]
#define SWIGTYPE_p_char swig_types[116]
#define SWIGTYPE_p_double swig_types[117]
#define SWIGTYPE_p_int swig_types[118]
#define SWIGTYPE_p_p_OpenBabel__OBDescriptor swig_types[119]
#define SWIGTYPE_p_p_OpenBabel__OBFingerprint swig_types[120]
#define SWIGTYPE_p_p_OpenBabel__OBForceField swig_types[121]
#define SWIGTYPE_p_p_OpenBabel__OBFormat swig_types[122]
#define SWIGTYPE_p_p_OpenBabel__OBOp swig_types[123]
#define SWIGTYPE_p_p_double swig_types[124]
#define SWIGTYPE_p_p_int swig_types[125]
#define SWIGTYPE_p_std__binary_functionT_char_const_p_char_const_p_bool_t swig_types[126]
#define SWIGTYPE_p_std__dequeT_int_t swig_types[127]
#define SWIGTYPE_p_std__istream swig_types[128]
#define SWIGTYPE_p_std__mapT_char_const_p_OpenBabel__OBPlugin_p_OpenBabel__CharPtrLess_t swig_types[129]
#define SWIGTYPE_p_std__mapT_int_OpenBabel__OBAtom_p_t swig_types[130]
#define SWIGTYPE_p_std__mapT_std__string_std__string_t swig_types[131]
#define SWIGTYPE_p_std__multimapT_double_unsigned_int_t swig_types[132]
#define SWIGTYPE_p_std__ostream swig_types[133]
#define SWIGTYPE_p_std__out_of_range swig_types[134]
#define SWIGTYPE_p_std__pairT_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_t swig_types[135]
#define SWIGTYPE_p_std__pairT_std__string_std__string_t swig_types[136]
#define SWIGTYPE_p_std__streampos swig_types[137]
#define SWIGTYPE_p_std__string swig_types[138]
#define SWIGTYPE_p_std__stringbuf swig_types[139]
#define SWIGTYPE_p_std__type_info swig_types[140]
#define SWIGTYPE_p_std__vectorT_OpenBabel__OBAtom_p_t swig_types[141]
#define SWIGTYPE_p_std__vectorT_OpenBabel__OBAtom_p_t__iterator swig_types[142]
#define SWIGTYPE_p_std__vectorT_OpenBabel__OBBase_p_t swig_types[143]
#define SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t swig_types[144]
#define SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator swig_types[145]
#define SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_t swig_types[146]
#define SWIGTYPE_p_std__vectorT_OpenBabel__OBExternalBond_t swig_types[147]
#define SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t swig_types[148]
#define SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t__iterator swig_types[149]
#define SWIGTYPE_p_std__vectorT_OpenBabel__OBInternalCoord_p_t swig_types[150]
#define SWIGTYPE_p_std__vectorT_OpenBabel__OBInternalCoord_p_t__iterator swig_types[151]
#define SWIGTYPE_p_std__vectorT_OpenBabel__OBMol_t swig_types[152]
#define SWIGTYPE_p_std__vectorT_OpenBabel__OBOrbital_t swig_types[153]
#define SWIGTYPE_p_std__vectorT_OpenBabel__OBResidue_p_t__iterator swig_types[154]
#define SWIGTYPE_p_std__vectorT_OpenBabel__OBResidue_t swig_types[155]
#define SWIGTYPE_p_std__vectorT_OpenBabel__OBRing_p_t swig_types[156]
#define SWIGTYPE_p_std__vectorT_OpenBabel__OBRing_p_t__iterator swig_types[157]
#define SWIGTYPE_p_std__vectorT_OpenBabel__OBRing_t swig_types[158]
#define SWIGTYPE_p_std__vectorT_OpenBabel__OBRotor_p_t__iterator swig_types[159]
#define SWIGTYPE_p_std__vectorT_OpenBabel__OBTorsion_t swig_types[160]
#define SWIGTYPE_p_std__vectorT_OpenBabel__tripleT_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_double_t_t swig_types[161]
#define SWIGTYPE_p_std__vectorT_OpenBabel__vector3_t swig_types[162]
#define SWIGTYPE_p_std__vectorT_double_p_t swig_types[163]
#define SWIGTYPE_p_std__vectorT_double_p_t__iterator swig_types[164]
#define SWIGTYPE_p_std__vectorT_double_t swig_types[165]
#define SWIGTYPE_p_std__vectorT_double_t__iterator swig_types[166]
#define SWIGTYPE_p_std__vectorT_int_t swig_types[167]
#define SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t swig_types[168]
#define SWIGTYPE_p_std__vectorT_std__pairT_std__string_std__string_t_t swig_types[169]
#define SWIGTYPE_p_std__vectorT_std__string_t swig_types[170]
#define SWIGTYPE_p_std__vectorT_std__vectorT_OpenBabel__vector3_t_t swig_types[171]
#define SWIGTYPE_p_std__vectorT_std__vectorT_int_t_t swig_types[172]
#define SWIGTYPE_p_std__vectorT_std__vectorT_int_t_t__iterator swig_types[173]
#define SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_t_t swig_types[174]
#define SWIGTYPE_p_std__vectorT_unsigned_char_p_t__iterator swig_types[175]
#define SWIGTYPE_p_std__vectorT_unsigned_int_t swig_types[176]
#define SWIGTYPE_p_std__vectorT_unsigned_short_t swig_types[177]
#define SWIGTYPE_p_unsigned_char swig_types[178]
#define SWIGTYPE_p_unsigned_int swig_types[179]
#define SWIGTYPE_p_void swig_types[180]
#define SWIGTYPE_p_word_vector swig_types[181]
static swig_type_info *swig_types[183];
static swig_module_info swig_module = {swig_types, 182, 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_Chemistry__OpenBabel

#define SWIG_name   "Chemistry::OpenBabelc::boot_Chemistry__OpenBabel"
#define SWIG_prefix "Chemistry::OpenBabelc::"

#define SWIGVERSION 0x020001 
#define SWIG_VERSION SWIGVERSION


#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a)) 
#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a)) 


#include <stdexcept>


#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


// used to set import/export for Cygwin DLLs
#ifdef WIN32
#define USING_OBDLL
#endif


#include <openbabel/obutil.h>
#include <openbabel/rand.h>
#include <openbabel/math/vector3.h>
#include <openbabel/math/matrix3x3.h>
#include <openbabel/generic.h>
#include <openbabel/griddata.h>

#include <openbabel/base.h>
#include <openbabel/mol.h>
#include <openbabel/atom.h>
#include <openbabel/bond.h>
#include <openbabel/residue.h>
#include <openbabel/internalcoord.h>

#include <openbabel/ring.h>
#include <openbabel/obconversion.h>
#include <openbabel/oberror.h>
#include <openbabel/plugin.h>
#include <openbabel/fingerprint.h>
#include <openbabel/descriptor.h>
#include <openbabel/format.h>

#include <openbabel/forcefield.h>
#include <openbabel/builder.h>
#include <openbabel/op.h>

#include <openbabel/bitvec.h>
#include <openbabel/data.h>
#include <openbabel/parsmart.h>
#include <openbabel/alias.h>
#include <openbabel/atomclass.h>

#include <openbabel/kinetics.h>
#include <openbabel/rotor.h>
#include <openbabel/rotamer.h>



#include <stdexcept>


#include <string>

double SwigSvToNumber(SV* sv) {
    return SvIOK(sv) ? double(SvIVX(sv)) : SvNVX(sv);
}
std::string SwigSvToString(SV* sv) {
    STRLEN len;
    char *ptr = SvPV(sv, len);
    return std::string(ptr, len);
}
void SwigSvFromString(SV* sv, const std::string& s) {
    sv_setpvn(sv,s.data(),s.size());
}


#include <list>
#include <algorithm>
#include <stdexcept>


#include <map>
#include <algorithm>
#include <stdexcept>


#include <vector>
#include <algorithm>
#include <stdexcept>


#include <string>


#include <limits.h>
#if !defined(SWIG_NO_LLONG_MAX)
# if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
#   define LLONG_MAX __LONG_LONG_MAX__
#   define LLONG_MIN (-LLONG_MAX - 1LL)
#   define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
# endif
#endif


SWIGINTERN int
SWIG_AsVal_double SWIG_PERL_DECL_ARGS_2(SV *obj, double *val)
{
  if (SvNIOK(obj)) {
    if (val) *val = SvNV(obj);
    return SWIG_OK;
  } else if (SvIOK(obj)) {
    if (val) *val = (double) SvIV(obj);
    return SWIG_AddCast(SWIG_OK);
  } else {
    const char *nptr = SvPV_nolen(obj);
    if (nptr) {
      char *endptr;
      double v;
      errno = 0;
      v = strtod(nptr, &endptr);
      if (errno == ERANGE) {
	errno = 0;
	return SWIG_OverflowError;
      } else {
	if (*endptr == '\0') {
	  if (val) *val = v;
	  return SWIG_Str2NumCast(SWIG_OK);
	}
      }
    }
  }
  return SWIG_TypeError;
}


#include <float.h>


#include <math.h>


SWIGINTERNINLINE int
SWIG_CanCastAsInteger(double *d, double min, double max) {
  double x = *d;
  if ((min <= x && x <= max)) {
   double fx = floor(x);
   double cx = ceil(x);
   double rd =  ((x - fx) < 0.5) ? fx : cx; /* simple rint */
   if ((errno == EDOM) || (errno == ERANGE)) {
     errno = 0;
   } else {
     double summ, reps, diff;
     if (rd < x) {
       diff = x - rd;
     } else if (rd > x) {
       diff = rd - x;
     } else {
       return 1;
     }
     summ = rd + x;
     reps = diff/summ;
     if (reps < 8*DBL_EPSILON) {
       *d = rd;
       return 1;
     }
   }
  }
  return 0;
}


SWIGINTERN int
SWIG_AsVal_unsigned_SS_long SWIG_PERL_DECL_ARGS_2(SV *obj, unsigned long *val) 
{
  if (SvUOK(obj)) {
    if (val) *val = SvUV(obj);
    return SWIG_OK;
  } else  if (SvIOK(obj)) {
    long v = SvIV(obj);
    if (v >= 0) {
      if (val) *val = v;
      return SWIG_OK;
    } else {
      return SWIG_OverflowError;
    }
  } else {
    int dispatch = 0;
    const char *nptr = SvPV_nolen(obj);
    if (nptr) {
      char *endptr;
      unsigned long v;
      errno = 0;
      v = strtoul(nptr, &endptr,0);
      if (errno == ERANGE) {
	errno = 0;
	return SWIG_OverflowError;
      } else {
	if (*endptr == '\0') {
	  if (val) *val = v;
	  return SWIG_Str2NumCast(SWIG_OK);
	}
      }
    }
    if (!dispatch) {
      double d;
      int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
      if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ULONG_MAX)) {
	if (val) *val = (unsigned long)(d);
	return res;
      }
    }
  }
  return SWIG_TypeError;
}


SWIGINTERN int
SWIG_AsVal_unsigned_SS_int SWIG_PERL_DECL_ARGS_2(SV * obj, unsigned int *val)
{
  unsigned long v;
  int res = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(obj, &v);
  if (SWIG_IsOK(res)) {
    if ((v > UINT_MAX)) {
      return SWIG_OverflowError;
    } else {
      if (val) *val = static_cast< unsigned int >(v);
    }
  }  
  return res;
}


SWIGINTERN int
SWIG_AsVal_long SWIG_PERL_DECL_ARGS_2(SV *obj, long* val)
{
  if (SvIOK(obj)) {
    if (val) *val = SvIV(obj);
    return SWIG_OK;
  } else {
    int dispatch = 0;
    const char *nptr = SvPV_nolen(obj);
    if (nptr) {
      char *endptr;
      long v;
      errno = 0;
      v = strtol(nptr, &endptr,0);
      if (errno == ERANGE) {
	errno = 0;
	return SWIG_OverflowError;
      } else {
	if (*endptr == '\0') {
	  if (val) *val = v;
	  return SWIG_Str2NumCast(SWIG_OK);
	}
      }
    }
    if (!dispatch) {
      double d;
      int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
      if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, LONG_MIN, LONG_MAX)) {
	if (val) *val = (long)(d);
	return res;
      }
    }
  }
  return SWIG_TypeError;
}


SWIGINTERN int
SWIG_AsVal_int SWIG_PERL_DECL_ARGS_2(SV * obj, int *val)
{
  long v;
  int res = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(obj, &v);
  if (SWIG_IsOK(res)) {
    if ((v < INT_MIN || v > INT_MAX)) {
      return SWIG_OverflowError;
    } else {
      if (val) *val = static_cast< int >(v);
    }
  }  
  return res;
}

SWIGINTERN int std_vector_Sl_int_Sg__get(std::vector< int > *self,int i){
                int size = int(self->size());
                if (i>=0 && i<size)
                    return (*self)[i];
                else
                    throw std::out_of_range("vector index out of range");
            }

SWIGINTERNINLINE SV *
SWIG_From_long  SWIG_PERL_DECL_ARGS_1(long value)
{    
  SV *obj = sv_newmortal();
  sv_setiv(obj, (IV) value);
  return obj;
}


SWIGINTERNINLINE SV *
SWIG_From_int  SWIG_PERL_DECL_ARGS_1(int value)
{    
  return SWIG_From_long  SWIG_PERL_CALL_ARGS_1(value);
}

SWIGINTERN void std_vector_Sl_int_Sg__set(std::vector< int > *self,int i,int x){
                int size = int(self->size());
                if (i>=0 && i<size)
                    (*self)[i] = x;
                else
                    throw std::out_of_range("vector index out of range");
            }
SWIGINTERN unsigned int std_vector_Sl_unsigned_SS_int_Sg__get(std::vector< unsigned int > *self,int i){
                int size = int(self->size());
                if (i>=0 && i<size)
                    return (*self)[i];
                else
                    throw std::out_of_range("vector index out of range");
            }

SWIGINTERNINLINE SV *
SWIG_From_unsigned_SS_long  SWIG_PERL_DECL_ARGS_1(unsigned long value)
{    
  SV *obj = sv_newmortal();
  sv_setuv(obj, (UV) value);
  return obj;
}


SWIGINTERNINLINE SV *
SWIG_From_unsigned_SS_int  SWIG_PERL_DECL_ARGS_1(unsigned int value)
{    
  return SWIG_From_unsigned_SS_long  SWIG_PERL_CALL_ARGS_1(value);
}

SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg__set(std::vector< unsigned int > *self,int i,unsigned int x){
                int size = int(self->size());
                if (i>=0 && i<size)
                    (*self)[i] = x;
                else
                    throw std::out_of_range("vector index out of range");
            }
SWIGINTERN std::vector< int > &std_vector_Sl_std_vector_Sl_int_Sg__Sg__get(std::vector< std::vector< int > > *self,int i){
                int size = int(self->size());
                if (i>=0 && i<size)
                    return (*self)[i];
                else
                    throw std::out_of_range("vector index out of range");
            }
SWIGINTERN void std_vector_Sl_std_vector_Sl_int_Sg__Sg__set(std::vector< std::vector< int > > *self,int i,std::vector< int > const &x){
                int size = int(self->size());
                if (i>=0 && i<size)
                    (*self)[i] = x;
                else
                    throw std::out_of_range("vector index out of range");
            }
SWIGINTERN double std_vector_Sl_double_Sg__get(std::vector< double > *self,int i){
                int size = int(self->size());
                if (i>=0 && i<size)
                    return (*self)[i];
                else
                    throw std::out_of_range("vector index out of range");
            }

SWIGINTERNINLINE SV *
SWIG_From_double  SWIG_PERL_DECL_ARGS_1(double value)
{    
  SV *obj = sv_newmortal();
  sv_setnv(obj, value);
  return obj;
}

SWIGINTERN void std_vector_Sl_double_Sg__set(std::vector< double > *self,int i,double x){
                int size = int(self->size());
                if (i>=0 && i<size)
                    (*self)[i] = x;
                else
                    throw std::out_of_range("vector index out of range");
            }

SWIGINTERN swig_type_info*
SWIG_pchar_descriptor(void)
{
  static int init = 0;
  static swig_type_info* info = 0;
  if (!init) {
    info = SWIG_TypeQuery("_p_char");
    init = 1;
  }
  return info;
}


SWIGINTERN int
SWIG_AsCharPtrAndSize(SV *obj, char** cptr, size_t* psize, int *alloc)
{
  if (SvMAGICAL(obj)) {
     SV *tmp = sv_newmortal();
     SvSetSV(tmp, obj);
     obj = tmp;
  }
  if (SvPOK(obj)) {
    STRLEN len = 0;
    char *cstr = SvPV(obj, len); 
    size_t size = len + 1;
    if (cptr)  {
      if (alloc) {
	if (*alloc == SWIG_NEWOBJ) {
	  *cptr = reinterpret_cast< char* >(memcpy((new char[size]), cstr, sizeof(char)*(size)));
	} else {
	  *cptr = cstr;
	  *alloc = SWIG_OLDOBJ;
	}
      }
    }
    if (psize) *psize = size;
    return SWIG_OK;
  } else {
    swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
    if (pchar_descriptor) {
      char* vptr = 0; 
      if (SWIG_ConvertPtr(obj, (void**)&vptr, pchar_descriptor, 0) == SWIG_OK) {
	if (cptr) *cptr = vptr;
	if (psize) *psize = vptr ? (strlen(vptr) + 1) : 0;
	if (alloc) *alloc = SWIG_OLDOBJ;
	return SWIG_OK;
      }
    }
  }
  return SWIG_TypeError;
}


SWIGINTERN int
SWIG_AsPtr_std_string SWIG_PERL_DECL_ARGS_2(SV * obj, std::string **val) 
{
  char* buf = 0 ; size_t size = 0; int alloc = SWIG_OLDOBJ;
  if (SWIG_IsOK((SWIG_AsCharPtrAndSize(obj, &buf, &size, &alloc)))) {
    if (buf) {
      if (val) *val = new std::string(buf, size - 1);
      if (alloc == SWIG_NEWOBJ) delete[] buf;
      return SWIG_NEWOBJ;
    } else {
      if (val) *val = 0;
      return SWIG_OLDOBJ;
    }
  } else {
    static int init = 0;
    static swig_type_info* descriptor = 0;
    if (!init) {
      descriptor = SWIG_TypeQuery("std::string" " *");
      init = 1;
    }
    if (descriptor) {
      std::string *vptr;
      int res = SWIG_ConvertPtr(obj, (void**)&vptr, descriptor, 0);
      if (SWIG_IsOK(res) && val) *val = vptr;
      return res;
    }
  }
  return SWIG_ERROR;
}

SWIGINTERN std::string std_vector_Sl_std_string_Sg__get(std::vector< std::string > *self,int i){
                int size = int(self->size());
                if (i>=0 && i<size)
                    return (*self)[i];
                else
                    throw std::out_of_range("vector index out of range");
            }

SWIGINTERNINLINE SV *
SWIG_FromCharPtrAndSize(const char* carray, size_t size)
{
  SV *obj = sv_newmortal();
  if (carray) {
    sv_setpvn(obj, carray, size);
  } else {
    sv_setsv(obj, &PL_sv_undef);
  }
  return obj;
}


SWIGINTERNINLINE SV *
SWIG_From_std_string  SWIG_PERL_DECL_ARGS_1(const std::string& s)
{
  if (s.size()) {
    return SWIG_FromCharPtrAndSize(s.data(), s.size());
  } else {
    return SWIG_FromCharPtrAndSize(s.c_str(), 0);
  }
}

SWIGINTERN void std_vector_Sl_std_string_Sg__set(std::vector< std::string > *self,int i,std::string x){
                int size = int(self->size());
                if (i>=0 && i<size)
                    (*self)[i] = x;
                else
                    throw std::out_of_range("vector index out of range");
            }
SWIGINTERN OpenBabel::vector3 &std_vector_Sl_OpenBabel_vector3_Sg__get(std::vector< OpenBabel::vector3 > *self,int i){
                int size = int(self->size());
                if (i>=0 && i<size)
                    return (*self)[i];
                else
                    throw std::out_of_range("vector index out of range");
            }
SWIGINTERN void std_vector_Sl_OpenBabel_vector3_Sg__set(std::vector< OpenBabel::vector3 > *self,int i,OpenBabel::vector3 const &x){
                int size = int(self->size());
                if (i>=0 && i<size)
                    (*self)[i] = x;
                else
                    throw std::out_of_range("vector index out of range");
            }
SWIGINTERN OpenBabel::OBMol &std_vector_Sl_OpenBabel_OBMol_Sg__get(std::vector< OpenBabel::OBMol > *self,int i){
                int size = int(self->size());
                if (i>=0 && i<size)
                    return (*self)[i];
                else
                    throw std::out_of_range("vector index out of range");
            }
SWIGINTERN void std_vector_Sl_OpenBabel_OBMol_Sg__set(std::vector< OpenBabel::OBMol > *self,int i,OpenBabel::OBMol const &x){
                int size = int(self->size());
                if (i>=0 && i<size)
                    (*self)[i] = x;
                else
                    throw std::out_of_range("vector index out of range");
            }
SWIGINTERN OpenBabel::OBBond &std_vector_Sl_OpenBabel_OBBond_Sg__get(std::vector< OpenBabel::OBBond > *self,int i){
                int size = int(self->size());
                if (i>=0 && i<size)
                    return (*self)[i];
                else
                    throw std::out_of_range("vector index out of range");
            }
SWIGINTERN void std_vector_Sl_OpenBabel_OBBond_Sg__set(std::vector< OpenBabel::OBBond > *self,int i,OpenBabel::OBBond const &x){
                int size = int(self->size());
                if (i>=0 && i<size)
                    (*self)[i] = x;
                else
                    throw std::out_of_range("vector index out of range");
            }
SWIGINTERN OpenBabel::OBResidue &std_vector_Sl_OpenBabel_OBResidue_Sg__get(std::vector< OpenBabel::OBResidue > *self,int i){
                int size = int(self->size());
                if (i>=0 && i<size)
                    return (*self)[i];
                else
                    throw std::out_of_range("vector index out of range");
            }
SWIGINTERN void std_vector_Sl_OpenBabel_OBResidue_Sg__set(std::vector< OpenBabel::OBResidue > *self,int i,OpenBabel::OBResidue const &x){
                int size = int(self->size());
                if (i>=0 && i<size)
                    (*self)[i] = x;
                else
                    throw std::out_of_range("vector index out of range");
            }
SWIGINTERN OpenBabel::OBRing &std_vector_Sl_OpenBabel_OBRing_Sg__get(std::vector< OpenBabel::OBRing > *self,int i){
                int size = int(self->size());
                if (i>=0 && i<size)
                    return (*self)[i];
                else
                    throw std::out_of_range("vector index out of range");
            }
SWIGINTERN void std_vector_Sl_OpenBabel_OBRing_Sg__set(std::vector< OpenBabel::OBRing > *self,int i,OpenBabel::OBRing const &x){
                int size = int(self->size());
                if (i>=0 && i<size)
                    (*self)[i] = x;
                else
                    throw std::out_of_range("vector index out of range");
            }
SWIGINTERN OpenBabel::OBRing *std_vector_Sl_OpenBabel_OBRing_Sm__Sg__get(std::vector< OpenBabel::OBRing * > *self,int i){
                int size = int(self->size());
                if (i>=0 && i<size)
                    return (*self)[i];
                else
                    throw std::out_of_range("vector index out of range");
            }
SWIGINTERN void std_vector_Sl_OpenBabel_OBRing_Sm__Sg__set(std::vector< OpenBabel::OBRing * > *self,int i,OpenBabel::OBRing *x){
                int size = int(self->size());
                if (i>=0 && i<size)
                    (*self)[i] = x;
                else
                    throw std::out_of_range("vector index out of range");
            }
SWIGINTERN OpenBabel::OBGenericData *std_vector_Sl_OpenBabel_OBGenericData_Sm__Sg__get(std::vector< OpenBabel::OBGenericData * > *self,int i){
                int size = int(self->size());
                if (i>=0 && i<size)
                    return (*self)[i];
                else
                    throw std::out_of_range("vector index out of range");
            }
SWIGINTERN void std_vector_Sl_OpenBabel_OBGenericData_Sm__Sg__set(std::vector< OpenBabel::OBGenericData * > *self,int i,OpenBabel::OBGenericData *x){
                int size = int(self->size());
                if (i>=0 && i<size)
                    (*self)[i] = x;
                else
                    throw std::out_of_range("vector index out of range");
            }

OpenBabel::OBAngleData *toAngleData(OpenBabel::OBGenericData *data) {
    return (OpenBabel::OBAngleData *) data;
}


OpenBabel::OBAtomClassData *toAtomClassData(OpenBabel::OBGenericData *data) {
    return (OpenBabel::OBAtomClassData *) data;
}


OpenBabel::OBChiralData *toChiralData(OpenBabel::OBGenericData *data) {
    return (OpenBabel::OBChiralData *) data;
}


OpenBabel::OBCommentData *toCommentData(OpenBabel::OBGenericData *data) {
    return (OpenBabel::OBCommentData *) data;
}


OpenBabel::OBConformerData *toConformerData(OpenBabel::OBGenericData *data) {
    return (OpenBabel::OBConformerData *) data;
}


OpenBabel::OBExternalBondData *toExternalBondData(OpenBabel::OBGenericData *data) {
    return (OpenBabel::OBExternalBondData *) data;
}


OpenBabel::OBGridData *toGridData(OpenBabel::OBGenericData *data) {
    return (OpenBabel::OBGridData *) data;
}


OpenBabel::OBMatrixData *toMatrixData(OpenBabel::OBGenericData *data) {
    return (OpenBabel::OBMatrixData *) data;
}


OpenBabel::OBNasaThermoData *toNasaThermoData(OpenBabel::OBGenericData *data) {
    return (OpenBabel::OBNasaThermoData *) data;
}


OpenBabel::OBPairData *toPairData(OpenBabel::OBGenericData *data) {
    return (OpenBabel::OBPairData *) data;
}


OpenBabel::OBRateData *toRateData(OpenBabel::OBGenericData *data) {
    return (OpenBabel::OBRateData *) data;
}


OpenBabel::OBRotamerList *toRotamerList(OpenBabel::OBGenericData *data) {
    return (OpenBabel::OBRotamerList *) data;
}


OpenBabel::OBRotationData *toRotationData(OpenBabel::OBGenericData *data) {
    return (OpenBabel::OBRotationData *) data;
}


OpenBabel::OBSerialNums *toSerialNums(OpenBabel::OBGenericData *data) {
    return (OpenBabel::OBSerialNums *) data;
}


OpenBabel::OBSetData *toSetData(OpenBabel::OBGenericData *data) {
    return (OpenBabel::OBSetData *) data;
}


OpenBabel::OBSymmetryData *toSymmetryData(OpenBabel::OBGenericData *data) {
    return (OpenBabel::OBSymmetryData *) data;
}


OpenBabel::OBTorsionData *toTorsionData(OpenBabel::OBGenericData *data) {
    return (OpenBabel::OBTorsionData *) data;
}


OpenBabel::OBUnitCell *toUnitCell(OpenBabel::OBGenericData *data) {
    return (OpenBabel::OBUnitCell *) data;
}


OpenBabel::OBVectorData *toVectorData(OpenBabel::OBGenericData *data) {
    return (OpenBabel::OBVectorData *) data;
}


OpenBabel::OBVibrationData *toVibrationData(OpenBabel::OBGenericData *data) {
    return (OpenBabel::OBVibrationData *) data;
}


OpenBabel::OBVirtualBond *toVirtualBond(OpenBabel::OBGenericData *data) {
    return (OpenBabel::OBVirtualBond *) data;
}


SWIGINTERNINLINE SV *
SWIG_From_size_t  SWIG_PERL_DECL_ARGS_1(size_t value)
{    
  return SWIG_From_unsigned_SS_long  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned long >(value));
}





SWIGINTERNINLINE SV * 
SWIG_FromCharPtr(const char *cptr)
{ 
  return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0));
}


SWIGINTERNINLINE SV *
SWIG_From_bool  SWIG_PERL_DECL_ARGS_1(bool value)
{    
  SV *obj = sv_newmortal();
  if (value) {
    sv_setsv(obj, &PL_sv_yes);
  } else {
    sv_setsv(obj, &PL_sv_no); 
  }
  return obj;
}


SWIGINTERN int
SWIG_AsVal_bool SWIG_PERL_DECL_ARGS_2(SV *obj, bool* val)
{
  if (obj == &PL_sv_yes) {
    if (val) *val = true;
    return SWIG_OK;
  } else if (obj == &PL_sv_no) { 
    if (val) *val = false;
    return SWIG_OK;
  } else {
    if (val) *val = SvTRUE(obj) ? true: false;
    return SWIG_AddCast(SWIG_OK);    
  }
  return SWIG_TypeError;
}


SWIGINTERN int
SWIG_AsCharArray(SV * obj, char *val, size_t size)
{ 
  char* cptr = 0; size_t csize = 0; int alloc = SWIG_OLDOBJ;
  int res = SWIG_AsCharPtrAndSize(obj, &cptr, &csize, &alloc);
  if (SWIG_IsOK(res)) {
    if ((csize == size + 1) && cptr && !(cptr[csize-1])) --csize;
    if (csize <= size) {
      if (val) {
	if (csize) memcpy(val, cptr, csize*sizeof(char));
	if (csize < size) memset(val + csize, 0, (size - csize)*sizeof(char));
      }
      if (alloc == SWIG_NEWOBJ) {
	delete[] cptr;
	res = SWIG_DelNewMask(res);
      }      
      return res;
    }
    if (alloc == SWIG_NEWOBJ) delete[] cptr;
  }
  return SWIG_TypeError;
}


SWIGINTERN int
SWIG_AsVal_char SWIG_PERL_DECL_ARGS_2(SV * obj, char *val)
{    
  int res = SWIG_AsCharArray(obj, val, 1);
  if (!SWIG_IsOK(res)) {
    long v;
    res = SWIG_AddCast(SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(obj, &v));
    if (SWIG_IsOK(res)) {
      if ((CHAR_MIN <= v) && (v <= CHAR_MAX)) {
	if (val) *val = static_cast< char >(v);
      } else {
	res = SWIG_OverflowError;
      }
    }
  }
  return res;
}


SWIGINTERNINLINE SV *
SWIG_From_char  SWIG_PERL_DECL_ARGS_1(char c) 
{ 
  return SWIG_FromCharPtrAndSize(&c,1);
}


SWIGINTERN int
SWIG_AsVal_short SWIG_PERL_DECL_ARGS_2(SV * obj, short *val)
{
  long v;
  int res = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(obj, &v);
  if (SWIG_IsOK(res)) {
    if ((v < SHRT_MIN || v > SHRT_MAX)) {
      return SWIG_OverflowError;
    } else {
      if (val) *val = static_cast< short >(v);
    }
  }  
  return res;
}


SWIGINTERNINLINE SV *
SWIG_From_unsigned_SS_short  SWIG_PERL_DECL_ARGS_1(unsigned short value)
{    
  return SWIG_From_unsigned_SS_long  SWIG_PERL_CALL_ARGS_1(value);
}


SWIGINTERN int
SWIG_AsVal_unsigned_SS_short SWIG_PERL_DECL_ARGS_2(SV * obj, unsigned short *val)
{
  unsigned long v;
  int res = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(obj, &v);
  if (SWIG_IsOK(res)) {
    if ((v > USHRT_MAX)) {
      return SWIG_OverflowError;
    } else {
      if (val) *val = static_cast< unsigned short >(v);
    }
  }  
  return res;
}


double *double_array(int size) {
   return (double *) malloc(sizeof(double)*size);
}
void double_destroy(int *a) {
   free(a);
}
void double_set(double *a, int i, double val) {
   a[i] = val;
}
double double_get(double *a, int i) {
   return a[i];
}

double (*rotation_matrix())[3] {
     return (double (*)[3]) malloc(9*sizeof(double));
}

void rotation_matrix_free(double (*m)[3]) {
    free(m);
}

#ifdef __cplusplus
extern "C" {
#endif

#ifdef PERL_OBJECT
#define MAGIC_CLASS _wrap_Chemistry__OpenBabel_var::
class _wrap_Chemistry__OpenBabel_var : public CPerlObj {
public:
#else
#define MAGIC_CLASS
#endif
SWIGCLASS_STATIC int swig_magic_readonly(pTHX_ SV *SWIGUNUSEDPARM(sv), MAGIC *SWIGUNUSEDPARM(mg)) {
    MAGIC_PPERL
    croak("Value is read-only.");
    return 0;
}
SWIGCLASS_STATIC int _wrap_VZero_get(pTHX_ SV *sv, MAGIC *SWIGUNUSEDPARM(mg)) { MAGIC_PPERL
  sv_setiv(SvRV(sv), PTR2IV(&OpenBabel::VZero)); return 1; }
SWIGCLASS_STATIC int _wrap_VX_get(pTHX_ SV *sv, MAGIC *SWIGUNUSEDPARM(mg)) { MAGIC_PPERL
  sv_setiv(SvRV(sv), PTR2IV(&OpenBabel::VX)); return 1; }
SWIGCLASS_STATIC int _wrap_VY_get(pTHX_ SV *sv, MAGIC *SWIGUNUSEDPARM(mg)) { MAGIC_PPERL
  sv_setiv(SvRV(sv), PTR2IV(&OpenBabel::VY)); return 1; }
SWIGCLASS_STATIC int _wrap_VZ_get(pTHX_ SV *sv, MAGIC *SWIGUNUSEDPARM(mg)) { MAGIC_PPERL
  sv_setiv(SvRV(sv), PTR2IV(&OpenBabel::VZ)); return 1; }
SWIGCLASS_STATIC int _wrap_obErrorLog_set(pTHX_ SV* sv, MAGIC * SWIGUNUSEDPARM(mg)) { MAGIC_PPERL { void *argp = 0;
    int res = SWIG_ConvertPtr(sv, &argp, SWIGTYPE_p_OpenBabel__OBMessageHandler,  0 ); if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in variable '""OpenBabel::obErrorLog""' of type '""OpenBabel::OBMessageHandler""'"); }
     if (!argp) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""OpenBabel::obErrorLog""' of type '""OpenBabel::OBMessageHandler""'"); }
     else { OpenBabel::obErrorLog = *(reinterpret_cast< OpenBabel::OBMessageHandler * >(argp)); }  }  fail: return 1; }
SWIGCLASS_STATIC int _wrap_obErrorLog_get(pTHX_ SV *sv, MAGIC *SWIGUNUSEDPARM(mg)) { MAGIC_PPERL
  sv_setiv(SvRV(sv), PTR2IV(&OpenBabel::obErrorLog)); return 1; }
SWIGCLASS_STATIC int _wrap_Residue_set(pTHX_ SV* sv, MAGIC * SWIGUNUSEDPARM(mg)) { MAGIC_PPERL { char (*inp)[4] = 0;
    int res = SWIG_ConvertPtr(sv, SWIG_as_voidptrptr(&inp), SWIGTYPE_p_a_4__char,  0 ); if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in variable '""OpenBabel::Residue""' of type '""char [100][4]""'"); }
     else if (inp) { size_t ii = 0; for (; ii < (size_t)100; ++ii) { if (inp[ii]) { size_t jj = 0;
          for (; jj < (size_t)4; ++jj) OpenBabel::Residue[ii][jj] = inp[ii][jj]; }  else {
          SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""OpenBabel::Residue""' of type '""char [100][4]""'"); }
         }  }  else {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""OpenBabel::Residue""' of type '""char [100][4]""'"); }
     }  fail: return 1; }
SWIGCLASS_STATIC int _wrap_Residue_get(pTHX_ SV *sv, MAGIC *SWIGUNUSEDPARM(mg)) { MAGIC_PPERL
  sv_setiv(SvRV(sv),PTR2IV(OpenBabel::Residue)); return 1; }
SWIGCLASS_STATIC int _wrap_ElemDesc_set(pTHX_ SV* sv, MAGIC * SWIGUNUSEDPARM(mg)) { MAGIC_PPERL { char (*inp)[4] = 0;
    int res = SWIG_ConvertPtr(sv, SWIG_as_voidptrptr(&inp), SWIGTYPE_p_a_4__char,  0 ); if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in variable '""OpenBabel::ElemDesc""' of type '""char [1024][4]""'"); }
     else if (inp) { size_t ii = 0; for (; ii < (size_t)1024; ++ii) { if (inp[ii]) { size_t jj = 0;
          for (; jj < (size_t)4; ++jj) OpenBabel::ElemDesc[ii][jj] = inp[ii][jj]; }  else {
          SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""OpenBabel::ElemDesc""' of type '""char [1024][4]""'"); }
         }  }  else {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""OpenBabel::ElemDesc""' of type '""char [1024][4]""'"); }
     }  fail: return 1; }
SWIGCLASS_STATIC int _wrap_ElemDesc_get(pTHX_ SV *sv, MAGIC *SWIGUNUSEDPARM(mg)) { MAGIC_PPERL
  sv_setiv(SvRV(sv),PTR2IV(OpenBabel::ElemDesc)); return 1; }
SWIGCLASS_STATIC int _wrap_ResNo_set(pTHX_ SV* sv, MAGIC * SWIGUNUSEDPARM(mg)) { MAGIC_PPERL { unsigned int val;
    int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(sv, &val); if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in variable '""OpenBabel::ResNo""' of type '""unsigned int""'"); } 
    OpenBabel::ResNo = static_cast< unsigned int >(val); }  fail: return 1; }
SWIGCLASS_STATIC int _wrap_ResNo_get(pTHX_ SV *sv, MAGIC *SWIGUNUSEDPARM(mg)) { MAGIC_PPERL
  sv_setsv(sv,SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(OpenBabel::ResNo)))  ; return 1; }
SWIGCLASS_STATIC int _wrap_ElemNo_set(pTHX_ SV* sv, MAGIC * SWIGUNUSEDPARM(mg)) { MAGIC_PPERL { unsigned int val;
    int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(sv, &val); if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in variable '""OpenBabel::ElemNo""' of type '""unsigned int""'"); } 
    OpenBabel::ElemNo = static_cast< unsigned int >(val); }  fail: return 1; }
SWIGCLASS_STATIC int _wrap_ElemNo_get(pTHX_ SV *sv, MAGIC *SWIGUNUSEDPARM(mg)) { MAGIC_PPERL
  sv_setsv(sv,SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(OpenBabel::ElemNo)))  ; return 1; }
SWIGCLASS_STATIC int _wrap_etab_set(pTHX_ SV* sv, MAGIC * SWIGUNUSEDPARM(mg)) { MAGIC_PPERL { void *argp = 0;
    int res = SWIG_ConvertPtr(sv, &argp, SWIGTYPE_p_OpenBabel__OBElementTable,  0 ); if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in variable '""OpenBabel::etab""' of type '""OpenBabel::OBElementTable""'"); } 
    if (!argp) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""OpenBabel::etab""' of type '""OpenBabel::OBElementTable""'"); }
     else { OpenBabel::etab = *(reinterpret_cast< OpenBabel::OBElementTable * >(argp)); }  }  fail: return 1; }
SWIGCLASS_STATIC int _wrap_etab_get(pTHX_ SV *sv, MAGIC *SWIGUNUSEDPARM(mg)) { MAGIC_PPERL
  sv_setiv(SvRV(sv), PTR2IV(&OpenBabel::etab)); return 1; }
SWIGCLASS_STATIC int _wrap_ttab_set(pTHX_ SV* sv, MAGIC * SWIGUNUSEDPARM(mg)) { MAGIC_PPERL { void *argp = 0;
    int res = SWIG_ConvertPtr(sv, &argp, SWIGTYPE_p_OpenBabel__OBTypeTable,  0 ); if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in variable '""OpenBabel::ttab""' of type '""OpenBabel::OBTypeTable""'"); } 
    if (!argp) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""OpenBabel::ttab""' of type '""OpenBabel::OBTypeTable""'"); }
     else { OpenBabel::ttab = *(reinterpret_cast< OpenBabel::OBTypeTable * >(argp)); }  }  fail: return 1; }
SWIGCLASS_STATIC int _wrap_ttab_get(pTHX_ SV *sv, MAGIC *SWIGUNUSEDPARM(mg)) { MAGIC_PPERL
  sv_setiv(SvRV(sv), PTR2IV(&OpenBabel::ttab)); return 1; }
SWIGCLASS_STATIC int _wrap_isotab_set(pTHX_ SV* sv, MAGIC * SWIGUNUSEDPARM(mg)) { MAGIC_PPERL { void *argp = 0;
    int res = SWIG_ConvertPtr(sv, &argp, SWIGTYPE_p_OpenBabel__OBIsotopeTable,  0 ); if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in variable '""OpenBabel::isotab""' of type '""OpenBabel::OBIsotopeTable""'"); } 
    if (!argp) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""OpenBabel::isotab""' of type '""OpenBabel::OBIsotopeTable""'"); }
     else { OpenBabel::isotab = *(reinterpret_cast< OpenBabel::OBIsotopeTable * >(argp)); }  }  fail: return 1; }
SWIGCLASS_STATIC int _wrap_isotab_get(pTHX_ SV *sv, MAGIC *SWIGUNUSEDPARM(mg)) { MAGIC_PPERL
  sv_setiv(SvRV(sv), PTR2IV(&OpenBabel::isotab)); return 1; }
SWIGCLASS_STATIC int _wrap_aromtyper_set(pTHX_ SV* sv, MAGIC * SWIGUNUSEDPARM(mg)) { MAGIC_PPERL { void *argp = 0;
    int res = SWIG_ConvertPtr(sv, &argp, SWIGTYPE_p_OpenBabel__OBAromaticTyper,  0 ); if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in variable '""OpenBabel::aromtyper""' of type '""OpenBabel::OBAromaticTyper""'"); }
     if (!argp) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""OpenBabel::aromtyper""' of type '""OpenBabel::OBAromaticTyper""'"); }
     else { OpenBabel::aromtyper = *(reinterpret_cast< OpenBabel::OBAromaticTyper * >(argp)); }  }  fail: return 1; }
SWIGCLASS_STATIC int _wrap_aromtyper_get(pTHX_ SV *sv, MAGIC *SWIGUNUSEDPARM(mg)) { MAGIC_PPERL
  sv_setiv(SvRV(sv), PTR2IV(&OpenBabel::aromtyper)); return 1; }
SWIGCLASS_STATIC int _wrap_atomtyper_set(pTHX_ SV* sv, MAGIC * SWIGUNUSEDPARM(mg)) { MAGIC_PPERL { void *argp = 0;
    int res = SWIG_ConvertPtr(sv, &argp, SWIGTYPE_p_OpenBabel__OBAtomTyper,  0 ); if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in variable '""OpenBabel::atomtyper""' of type '""OpenBabel::OBAtomTyper""'"); } 
    if (!argp) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""OpenBabel::atomtyper""' of type '""OpenBabel::OBAtomTyper""'"); }
     else { OpenBabel::atomtyper = *(reinterpret_cast< OpenBabel::OBAtomTyper * >(argp)); }  }  fail: return 1; }
SWIGCLASS_STATIC int _wrap_atomtyper_get(pTHX_ SV *sv, MAGIC *SWIGUNUSEDPARM(mg)) { MAGIC_PPERL
  sv_setiv(SvRV(sv), PTR2IV(&OpenBabel::atomtyper)); return 1; }
SWIGCLASS_STATIC int _wrap_chainsparser_set(pTHX_ SV* sv, MAGIC * SWIGUNUSEDPARM(mg)) { MAGIC_PPERL { void *argp = 0;
    int res = SWIG_ConvertPtr(sv, &argp, SWIGTYPE_p_OpenBabel__OBChainsParser,  0 ); if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in variable '""OpenBabel::chainsparser""' of type '""OpenBabel::OBChainsParser""'"); }
     if (!argp) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""OpenBabel::chainsparser""' of type '""OpenBabel::OBChainsParser""'"); }
     else { OpenBabel::chainsparser = *(reinterpret_cast< OpenBabel::OBChainsParser * >(argp)); }  }  fail: return 1; }
SWIGCLASS_STATIC int _wrap_chainsparser_get(pTHX_ SV *sv, MAGIC *SWIGUNUSEDPARM(mg)) { MAGIC_PPERL
  sv_setiv(SvRV(sv), PTR2IV(&OpenBabel::chainsparser)); return 1; }
SWIGCLASS_STATIC int _wrap_resdat_set(pTHX_ SV* sv, MAGIC * SWIGUNUSEDPARM(mg)) { MAGIC_PPERL { void *argp = 0;
    int res = SWIG_ConvertPtr(sv, &argp, SWIGTYPE_p_OpenBabel__OBResidueData,  0 ); if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in variable '""OpenBabel::resdat""' of type '""OpenBabel::OBResidueData""'"); } 
    if (!argp) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""OpenBabel::resdat""' of type '""OpenBabel::OBResidueData""'"); }
     else { OpenBabel::resdat = *(reinterpret_cast< OpenBabel::OBResidueData * >(argp)); }  }  fail: return 1; }
SWIGCLASS_STATIC int _wrap_resdat_get(pTHX_ SV *sv, MAGIC *SWIGUNUSEDPARM(mg)) { MAGIC_PPERL
  sv_setiv(SvRV(sv), PTR2IV(&OpenBabel::resdat)); return 1; }
SWIGCLASS_STATIC int _wrap_NoId_get(pTHX_ SV *sv, MAGIC *SWIGUNUSEDPARM(mg)) { MAGIC_PPERL
  sv_setsv(sv,SWIG_From_unsigned_SS_long  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned long >(OpenBabel::NoId)))  ; return 1; }
SWIGCLASS_STATIC int _wrap_AliasDataType_get(pTHX_ SV *sv, MAGIC *SWIGUNUSEDPARM(mg)) { MAGIC_PPERL
  sv_setsv(sv,SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(OpenBabel::AliasDataType)))  ;
  return 1; }


#ifdef PERL_OBJECT
};
#endif

#ifdef __cplusplus
}
#endif

#ifdef __cplusplus
extern "C" {
#endif
XS(_wrap_new_VectorInt__SWIG_0) { { unsigned int arg1 ; unsigned int val1 ; int ecode1 = 0 ; int argvi = 0;
    std::vector< int > *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: new_VectorInt(size);"); } 
    ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1); if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorInt" "', argument " "1"" of type '" "unsigned int""'"); }
      arg1 = static_cast< unsigned int >(val1); result = (std::vector< int > *)new std::vector< int >(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorInt__SWIG_1) { { int argvi = 0; std::vector< int > *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_VectorInt();"); }  result = (std::vector< int > *)new std::vector< int >();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorInt__SWIG_2) { { unsigned int arg1 ; int arg2 ; unsigned int val1 ; int ecode1 = 0 ; int val2 ;
    int ecode2 = 0 ; int argvi = 0; std::vector< int > *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: new_VectorInt(size,value);"); } 
    ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1); if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorInt" "', argument " "1"" of type '" "unsigned int""'"); }
      arg1 = static_cast< unsigned int >(val1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VectorInt" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); result = (std::vector< int > *)new std::vector< int >(arg1,arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorInt__SWIG_3) { { std::vector< int > *arg1 = 0 ; std::vector< int > temp1 ; std::vector< int > *v1 ;
    int argvi = 0; std::vector< int > *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new_VectorInt(std::vector< int > const &);"); }  { if (SWIG_ConvertPtr(ST(0),(void **) &v1, 
      SWIGTYPE_p_std__vectorT_int_t,1) != -1) { arg1 = v1; }  else if (SvROK(ST(0))) { AV *av = (AV *)SvRV(ST(0));
        if (SvTYPE(av) != SVt_PVAV) SWIG_croak("Type error in argument 1 of new_VectorInt. " "Expected an array of ""int");
        SV **tv; I32 len = av_len(av) + 1; for (int i=0; i<len; i++) { tv = av_fetch(av, i, 0); if (SvIOK(*tv)) {
            temp1.push_back((int)SvIVX(*tv)); }  else { SWIG_croak("Type error in argument 1 of " "new_VectorInt. "
            "Expected an array of ""int"); }  }  arg1 = &temp1; }  else {
        SWIG_croak("Type error in argument 1 of new_VectorInt. " "Expected an array of ""int"); }  } 
    result = (std::vector< int > *)new std::vector< int >((std::vector< int > const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorInt) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { { int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { { { 
            std::vector<int >* v; if (SWIG_ConvertPtr(ST(0),(void **) &v,  SWIGTYPE_p_std__vectorT_int_t,0) != -1) { _v = 1; }
             else if (SvROK(ST(0))) {  AV *av = (AV *)SvRV(ST(0)); if (SvTYPE(av) == SVt_PVAV) { I32 len = av_len(av) + 1;
                if (len == 0) {  _v = 1; }  else {  SV **tv = av_fetch(av, 0, 0); if (SvIOK(*tv)) _v = 1; else _v = 0; }  }  }
             else { _v = 0; }  }  } }  if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3:
    if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_4;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 4;
        if (_rank == _rankm) goto dispatch; }  }  check_4: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorInt__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorInt__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorInt__SWIG_3); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorInt__SWIG_2); return; }  } 
  croak("No matching function for overloaded 'new_VectorInt'"); XSRETURN(0); }
XS(_wrap_VectorInt_get) { { std::vector< int > *arg1 = (std::vector< int > *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ;
    int val2 ; int ecode2 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: VectorInt_get(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt_get" "', argument " "1"" of type '" "std::vector< int > *""'");  }
     arg1 = reinterpret_cast< std::vector< int > * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt_get" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); try { result = (int)std_vector_Sl_int_Sg__get(arg1,arg2);}  catch(std::out_of_range &_e) {
      sv_setsv(GvSV(PL_errgv), SWIG_NewPointerObj((new std::out_of_range(static_cast< const std::out_of_range& >(_e))),SWIGTYPE_p_std__out_of_range,SWIG_POINTER_OWN)); SWIG_fail ; }
     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_VectorInt_set) { { std::vector< int > *arg1 = (std::vector< int > *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ;
    int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: VectorInt_set(self,i,x);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt_set" "', argument " "1"" of type '" "std::vector< int > *""'");  }
     arg1 = reinterpret_cast< std::vector< int > * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt_set" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorInt_set" "', argument " "3"" of type '" "int""'"); }  
    arg3 = static_cast< int >(val3); try { std_vector_Sl_int_Sg__set(arg1,arg2,arg3);}  catch(std::out_of_range &_e) {
      sv_setsv(GvSV(PL_errgv), SWIG_NewPointerObj((new std::out_of_range(static_cast< const std::out_of_range& >(_e))),SWIGTYPE_p_std__out_of_range,SWIG_POINTER_OWN)); SWIG_fail ; }
     ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_VectorInt) { { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_VectorInt(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__vectorT_int_t, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_VectorInt" "', argument " "1"" of type '" "std::vector< int > *""'");  }
     arg1 = reinterpret_cast< std::vector< int > * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_new_VectorUnsignedInt__SWIG_0) { { unsigned int arg1 ; unsigned int val1 ; int ecode1 = 0 ; int argvi = 0;
    std::vector< unsigned int > *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new_VectorUnsignedInt(size);"); } 
    ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1); if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorUnsignedInt" "', argument " "1"" of type '" "unsigned int""'"); }
      arg1 = static_cast< unsigned int >(val1); result = (std::vector< unsigned int > *)new std::vector< unsigned int >(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_int_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorUnsignedInt__SWIG_1) { { int argvi = 0; std::vector< unsigned int > *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_VectorUnsignedInt();"); } 
    result = (std::vector< unsigned int > *)new std::vector< unsigned int >();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_int_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorUnsignedInt__SWIG_2) { { unsigned int arg1 ; unsigned int arg2 ; unsigned int val1 ; int ecode1 = 0 ;
    unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; std::vector< unsigned int > *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: new_VectorUnsignedInt(size,value);"); } 
    ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1); if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorUnsignedInt" "', argument " "1"" of type '" "unsigned int""'"); }
      arg1 = static_cast< unsigned int >(val1); ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VectorUnsignedInt" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2);
    result = (std::vector< unsigned int > *)new std::vector< unsigned int >(arg1,arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_int_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorUnsignedInt__SWIG_3) { { std::vector< unsigned int > *arg1 = 0 ; std::vector< unsigned int > temp1 ;
    std::vector< unsigned int > *v1 ; int argvi = 0; std::vector< unsigned int > *result = 0 ; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: new_VectorUnsignedInt(std::vector< unsigned int > const &);"); }  {
      if (SWIG_ConvertPtr(ST(0),(void **) &v1,  SWIGTYPE_p_std__vectorT_unsigned_int_t,1) != -1) { arg1 = v1; }
       else if (SvROK(ST(0))) { AV *av = (AV *)SvRV(ST(0)); if (SvTYPE(av) != SVt_PVAV)
        SWIG_croak("Type error in argument 1 of new_VectorUnsignedInt. " "Expected an array of ""unsigned int"); SV **tv;
        I32 len = av_len(av) + 1; for (int i=0; i<len; i++) { tv = av_fetch(av, i, 0); if (SvIOK(*tv)) {
            temp1.push_back((unsigned int)SvIVX(*tv)); }  else { SWIG_croak("Type error in argument 1 of "
            "new_VectorUnsignedInt. " "Expected an array of ""unsigned int"); }  }  arg1 = &temp1; }  else {
        SWIG_croak("Type error in argument 1 of new_VectorUnsignedInt. " "Expected an array of ""unsigned int"); }  } 
    result = (std::vector< unsigned int > *)new std::vector< unsigned int >((std::vector< unsigned int > const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_int_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorUnsignedInt) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { { int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { { { 
            std::vector<unsigned int >* v; if (SWIG_ConvertPtr(ST(0),(void **) &v, 
            SWIGTYPE_p_std__vectorT_unsigned_int_t,0) != -1) { _v = 1; }  else if (SvROK(ST(0))) {  AV *av = (AV *)SvRV(ST(0));
              if (SvTYPE(av) == SVt_PVAV) { I32 len = av_len(av) + 1; if (len == 0) {  _v = 1; }  else { 
                  SV **tv = av_fetch(av, 0, 0); if (SvIOK(*tv)) _v = 1; else _v = 0; }  }  }  else { _v = 0; }  }  } } 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorUnsignedInt__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorUnsignedInt__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorUnsignedInt__SWIG_3); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorUnsignedInt__SWIG_2); return; }  } 
  croak("No matching function for overloaded 'new_VectorUnsignedInt'"); XSRETURN(0); }
XS(_wrap_VectorUnsignedInt_get) { { std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; unsigned int result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: VectorUnsignedInt_get(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUnsignedInt_get" "', argument " "1"" of type '" "std::vector< unsigned int > *""'");  }
     arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUnsignedInt_get" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); try { result = (unsigned int)std_vector_Sl_unsigned_SS_int_Sg__get(arg1,arg2);} 
    catch(std::out_of_range &_e) {
      sv_setsv(GvSV(PL_errgv), SWIG_NewPointerObj((new std::out_of_range(static_cast< const std::out_of_range& >(_e))),SWIGTYPE_p_std__out_of_range,SWIG_POINTER_OWN)); SWIG_fail ; }
     ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_VectorUnsignedInt_set) { { std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; int arg2 ;
    unsigned int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; unsigned int val3 ; int ecode3 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) { SWIG_croak("Usage: VectorUnsignedInt_set(self,i,x);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUnsignedInt_set" "', argument " "1"" of type '" "std::vector< unsigned int > *""'");  }
     arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUnsignedInt_set" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorUnsignedInt_set" "', argument " "3"" of type '" "unsigned int""'"); }
      arg3 = static_cast< unsigned int >(val3); try { std_vector_Sl_unsigned_SS_int_Sg__set(arg1,arg2,arg3);} 
    catch(std::out_of_range &_e) {
      sv_setsv(GvSV(PL_errgv), SWIG_NewPointerObj((new std::out_of_range(static_cast< const std::out_of_range& >(_e))),SWIGTYPE_p_std__out_of_range,SWIG_POINTER_OWN)); SWIG_fail ; }
     ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_VectorUnsignedInt) { { std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: delete_VectorUnsignedInt(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_VectorUnsignedInt" "', argument " "1"" of type '" "std::vector< unsigned int > *""'");  }
     arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorVInt__SWIG_0) { { unsigned int arg1 ; unsigned int val1 ; int ecode1 = 0 ; int argvi = 0;
    std::vector< std::vector< int > > *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new_VectorVInt(size);"); }  ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
    if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorVInt" "', argument " "1"" of type '" "unsigned int""'"); }
      arg1 = static_cast< unsigned int >(val1);
    result = (std::vector< std::vector< int > > *)new std::vector< std::vector< int > >(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__vectorT_int_t_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorVInt__SWIG_1) { { int argvi = 0; std::vector< std::vector< int > > *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_VectorVInt();"); } 
    result = (std::vector< std::vector< int > > *)new std::vector< std::vector< int > >();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__vectorT_int_t_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorVInt__SWIG_2) { { unsigned int arg1 ; std::vector< int > *arg2 = 0 ; unsigned int val1 ; int ecode1 = 0 ;
    std::vector< int > temp2 ; std::vector< int > *v2 ; int argvi = 0; std::vector< std::vector< int > > *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: new_VectorVInt(size,value);"); } 
    ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1); if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorVInt" "', argument " "1"" of type '" "unsigned int""'"); }
      arg1 = static_cast< unsigned int >(val1); { if (SWIG_ConvertPtr(ST(1),(void **) &v2, 
      SWIGTYPE_p_std__vectorT_int_t,1) != -1) { arg2 = v2; }  else if (SvROK(ST(1))) { AV *av = (AV *)SvRV(ST(1));
        if (SvTYPE(av) != SVt_PVAV) SWIG_croak("Type error in argument 2 of new_VectorVInt. " "Expected an array of ""int");
        SV **tv; I32 len = av_len(av) + 1; for (int i=0; i<len; i++) { tv = av_fetch(av, i, 0); if (SvIOK(*tv)) {
            temp2.push_back((int)SvIVX(*tv)); }  else { SWIG_croak("Type error in argument 2 of " "new_VectorVInt. "
            "Expected an array of ""int"); }  }  arg2 = &temp2; }  else {
        SWIG_croak("Type error in argument 2 of new_VectorVInt. " "Expected an array of ""int"); }  } 
    result = (std::vector< std::vector< int > > *)new std::vector< std::vector< int > >(arg1,(std::vector< int > const &)*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__vectorT_int_t_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorVInt__SWIG_3) { { std::vector< std::vector< int > > *arg1 = 0 ; std::vector< std::vector< int > > temp1 ;
    std::vector< std::vector< int > > *v1 ; int argvi = 0; std::vector< std::vector< int > > *result = 0 ; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: new_VectorVInt(std::vector< std::vector< int > > const &);"); }  {
      if (SWIG_ConvertPtr(ST(0),(void **) &v1,  SWIGTYPE_p_std__vectorT_std__vectorT_int_t_t,1) != -1) { arg1 = v1; }
       else if (SvROK(ST(0))) { AV *av = (AV *)SvRV(ST(0)); if (SvTYPE(av) != SVt_PVAV)
        SWIG_croak("Type error in argument 1 of new_VectorVInt. " "Expected an array of " "std::vector< int >"); SV **tv;
        I32 len = av_len(av) + 1; std::vector< int >* obj; for (int i=0; i<len; i++) { tv = av_fetch(av, i, 0);
          if (SWIG_ConvertPtr(*tv, (void **)&obj,  SWIGTYPE_p_std__vectorT_int_t,0) != -1) { temp1.push_back(*obj); }  else {
            SWIG_croak("Type error in argument 1 of " "new_VectorVInt. " "Expected an array of " "std::vector< int >"); }  } 
        arg1 = &temp1; }  else { SWIG_croak("Type error in argument 1 of new_VectorVInt. "
        "Expected an array of " "std::vector< int >"); }  } 
    result = (std::vector< std::vector< int > > *)new std::vector< std::vector< int > >((std::vector< std::vector< int > > const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__vectorT_int_t_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorVInt) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { { int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { { { 
            std::vector<std::vector< int > >* v; if (SWIG_ConvertPtr(ST(0),(void **) &v, 
            SWIGTYPE_p_std__vectorT_std__vectorT_int_t_t,0) != -1) { _v = 1; }  else if (SvROK(ST(0))) { 
              AV *av = (AV *)SvRV(ST(0)); if (SvTYPE(av) == SVt_PVAV) { I32 len = av_len(av) + 1; if (len == 0) {  _v = 1; }
                 else {  std::vector< int >* obj; SV **tv = av_fetch(av, 0, 0); if (SWIG_ConvertPtr(*tv, (void **)&obj, 
                  SWIGTYPE_p_std__vectorT_int_t,0) != -1) _v = 1; else _v = 0; }  }  }  else { _v = 0; }  }  } } 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { {  std::vector<int >* v;
            if (SWIG_ConvertPtr(ST(1),(void **) &v,  SWIGTYPE_p_std__vectorT_int_t,0) != -1) { _v = 1; }
             else if (SvROK(ST(1))) {  AV *av = (AV *)SvRV(ST(1)); if (SvTYPE(av) == SVt_PVAV) { I32 len = av_len(av) + 1;
                if (len == 0) {  _v = 1; }  else {  SV **tv = av_fetch(av, 0, 0); if (SvIOK(*tv)) _v = 1; else _v = 0; }  }  }
             else { _v = 0; }  }  } }  if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4:
    dispatch: switch(_index) { case 1: ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorVInt__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorVInt__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorVInt__SWIG_3); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorVInt__SWIG_2); return; }  } 
  croak("No matching function for overloaded 'new_VectorVInt'"); XSRETURN(0); }
XS(_wrap_VectorVInt_get) { { std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; std::vector< int > *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: VectorVInt_get(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_int_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorVInt_get" "', argument " "1"" of type '" "std::vector< std::vector< int > > *""'");  }
     arg1 = reinterpret_cast< std::vector< std::vector< int > > * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorVInt_get" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); try {
      result = (std::vector< int > *) &std_vector_Sl_std_vector_Sl_int_Sg__Sg__get(arg1,arg2);}  catch(std::out_of_range &_e) {
      sv_setsv(GvSV(PL_errgv), SWIG_NewPointerObj((new std::out_of_range(static_cast< const std::out_of_range& >(_e))),SWIGTYPE_p_std__out_of_range,SWIG_POINTER_OWN)); SWIG_fail ; }
     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_t, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_VectorVInt_set) { { std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ; int arg2 ;
    std::vector< int > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; std::vector< int > temp3 ;
    std::vector< int > *v3 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: VectorVInt_set(self,i,x);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_int_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorVInt_set" "', argument " "1"" of type '" "std::vector< std::vector< int > > *""'");  }
     arg1 = reinterpret_cast< std::vector< std::vector< int > > * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorVInt_set" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); { if (SWIG_ConvertPtr(ST(2),(void **) &v3,  SWIGTYPE_p_std__vectorT_int_t,1) != -1) {
        arg3 = v3; }  else if (SvROK(ST(2))) { AV *av = (AV *)SvRV(ST(2)); if (SvTYPE(av) != SVt_PVAV)
        SWIG_croak("Type error in argument 3 of VectorVInt_set. " "Expected an array of ""int"); SV **tv;
        I32 len = av_len(av) + 1; for (int i=0; i<len; i++) { tv = av_fetch(av, i, 0); if (SvIOK(*tv)) {
            temp3.push_back((int)SvIVX(*tv)); }  else { SWIG_croak("Type error in argument 3 of " "VectorVInt_set. "
            "Expected an array of ""int"); }  }  arg3 = &temp3; }  else {
        SWIG_croak("Type error in argument 3 of VectorVInt_set. " "Expected an array of ""int"); }  }  try {
      std_vector_Sl_std_vector_Sl_int_Sg__Sg__set(arg1,arg2,(std::vector< int > const &)*arg3);}  catch(std::out_of_range &_e) {
      sv_setsv(GvSV(PL_errgv), SWIG_NewPointerObj((new std::out_of_range(static_cast< const std::out_of_range& >(_e))),SWIGTYPE_p_std__out_of_range,SWIG_POINTER_OWN)); SWIG_fail ; }
     ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_VectorVInt) { { std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: delete_VectorVInt(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_int_t_t, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_VectorVInt" "', argument " "1"" of type '" "std::vector< std::vector< int > > *""'");  }
     arg1 = reinterpret_cast< std::vector< std::vector< int > > * >(argp1); delete arg1; ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorDouble__SWIG_0) { { unsigned int arg1 ; unsigned int val1 ; int ecode1 = 0 ; int argvi = 0;
    std::vector< double > *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new_VectorDouble(size);"); }  ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
    if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorDouble" "', argument " "1"" of type '" "unsigned int""'"); }
      arg1 = static_cast< unsigned int >(val1); result = (std::vector< double > *)new std::vector< double >(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorDouble__SWIG_1) { { int argvi = 0; std::vector< double > *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_VectorDouble();"); } 
    result = (std::vector< double > *)new std::vector< double >();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorDouble__SWIG_2) { { unsigned int arg1 ; double arg2 ; unsigned int val1 ; int ecode1 = 0 ; double val2 ;
    int ecode2 = 0 ; int argvi = 0; std::vector< double > *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: new_VectorDouble(size,value);"); } 
    ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1); if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorDouble" "', argument " "1"" of type '" "unsigned int""'"); }
      arg1 = static_cast< unsigned int >(val1); ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VectorDouble" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); result = (std::vector< double > *)new std::vector< double >(arg1,arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorDouble__SWIG_3) { { std::vector< double > *arg1 = 0 ; std::vector< double > temp1 ;
    std::vector< double > *v1 ; int argvi = 0; std::vector< double > *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new_VectorDouble(std::vector< double > const &);"); }  { if (SWIG_ConvertPtr(ST(0),(void **) &v1, 
      SWIGTYPE_p_std__vectorT_double_t,1) != -1) { arg1 = v1; }  else if (SvROK(ST(0))) { AV *av = (AV *)SvRV(ST(0));
        if (SvTYPE(av) != SVt_PVAV) SWIG_croak("Type error in argument 1 of new_VectorDouble. "
        "Expected an array of ""double"); SV **tv; I32 len = av_len(av) + 1; for (int i=0; i<len; i++) {
          tv = av_fetch(av, i, 0); if (SvNIOK(*tv)) { temp1.push_back((double)SwigSvToNumber(*tv)); }  else {
            SWIG_croak("Type error in argument 1 of " "new_VectorDouble. " "Expected an array of ""double"); }  } 
        arg1 = &temp1; }  else { SWIG_croak("Type error in argument 1 of new_VectorDouble. " "Expected an array of ""double"); }
       }  result = (std::vector< double > *)new std::vector< double >((std::vector< double > const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorDouble) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { { int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { { { 
            std::vector<double >* v; if (SWIG_ConvertPtr(ST(0),(void **) &v,  SWIGTYPE_p_std__vectorT_double_t,0) != -1) {
              _v = 1; }  else if (SvROK(ST(0))) {  AV *av = (AV *)SvRV(ST(0)); if (SvTYPE(av) == SVt_PVAV) {
                I32 len = av_len(av) + 1; if (len == 0) {  _v = 1; }  else {  SV **tv = av_fetch(av, 0, 0); if (SvNIOK(*tv))
                  _v = 1; else _v = 0; }  }  }  else { _v = 0; }  }  } }  if (!_v) goto check_3; _ranki += _v*_pi;
      _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { { int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_4;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 4;
        if (_rank == _rankm) goto dispatch; }  }  check_4: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorDouble__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorDouble__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorDouble__SWIG_3); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorDouble__SWIG_2); return; }  } 
  croak("No matching function for overloaded 'new_VectorDouble'"); XSRETURN(0); }
XS(_wrap_VectorDouble_get) { { std::vector< double > *arg1 = (std::vector< double > *) 0 ; int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: VectorDouble_get(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_get" "', argument " "1"" of type '" "std::vector< double > *""'");  }
     arg1 = reinterpret_cast< std::vector< double > * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorDouble_get" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); try { result = (double)std_vector_Sl_double_Sg__get(arg1,arg2);} 
    catch(std::out_of_range &_e) {
      sv_setsv(GvSV(PL_errgv), SWIG_NewPointerObj((new std::out_of_range(static_cast< const std::out_of_range& >(_e))),SWIGTYPE_p_std__out_of_range,SWIG_POINTER_OWN)); SWIG_fail ; }
     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_VectorDouble_set) { { std::vector< double > *arg1 = (std::vector< double > *) 0 ; int arg2 ; double arg3 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: VectorDouble_set(self,i,x);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_set" "', argument " "1"" of type '" "std::vector< double > *""'");  }
     arg1 = reinterpret_cast< std::vector< double > * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorDouble_set" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorDouble_set" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); try { std_vector_Sl_double_Sg__set(arg1,arg2,arg3);}  catch(std::out_of_range &_e) {
      sv_setsv(GvSV(PL_errgv), SWIG_NewPointerObj((new std::out_of_range(static_cast< const std::out_of_range& >(_e))),SWIGTYPE_p_std__out_of_range,SWIG_POINTER_OWN)); SWIG_fail ; }
     ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_VectorDouble) { { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_VectorDouble(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__vectorT_double_t, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_VectorDouble" "', argument " "1"" of type '" "std::vector< double > *""'");  }
     arg1 = reinterpret_cast< std::vector< double > * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_new_VectorString__SWIG_0) { { unsigned int arg1 ; unsigned int val1 ; int ecode1 = 0 ; int argvi = 0;
    std::vector< std::string > *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new_VectorString(size);"); }  ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
    if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorString" "', argument " "1"" of type '" "unsigned int""'"); }
      arg1 = static_cast< unsigned int >(val1); result = (std::vector< std::string > *)new std::vector< std::string >(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorString__SWIG_1) { { int argvi = 0; std::vector< std::string > *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_VectorString();"); } 
    result = (std::vector< std::string > *)new std::vector< std::string >();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorString__SWIG_2) { { unsigned int arg1 ; std::string arg2 ; unsigned int val1 ; int ecode1 = 0 ;
    int argvi = 0; std::vector< std::string > *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: new_VectorString(size,value);"); } 
    ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1); if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorString" "', argument " "1"" of type '" "unsigned int""'"); }
      arg1 = static_cast< unsigned int >(val1); { std::string *ptr = (std::string *)0;
      int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_VectorString" "', argument " "2"" of type '" "std::string""'");  }
       arg2 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; } 
    result = (std::vector< std::string > *)new std::vector< std::string >(arg1,arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorString__SWIG_3) { { std::vector< std::string > *arg1 = 0 ; std::vector< std::string > temp1 ;
    std::vector< std::string > *v1 ; int argvi = 0; std::vector< std::string > *result = 0 ; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: new_VectorString(std::vector< std::string > const &);"); }  {
      if (SWIG_ConvertPtr(ST(0),(void **) &v1,  SWIGTYPE_p_std__vectorT_std__string_t,1) != -1) { arg1 = v1; }
       else if (SvROK(ST(0))) { AV *av = (AV *)SvRV(ST(0)); if (SvTYPE(av) != SVt_PVAV)
        SWIG_croak("Type error in argument 1 of new_VectorString. " "Expected an array of ""std::string"); SV **tv;
        I32 len = av_len(av) + 1; for (int i=0; i<len; i++) { tv = av_fetch(av, i, 0); if (SvPOK(*tv)) {
            temp1.push_back((std::string)SwigSvToString(*tv)); }  else { SWIG_croak("Type error in argument 1 of "
            "new_VectorString. " "Expected an array of ""std::string"); }  }  arg1 = &temp1; }  else {
        SWIG_croak("Type error in argument 1 of new_VectorString. " "Expected an array of ""std::string"); }  } 
    result = (std::vector< std::string > *)new std::vector< std::string >((std::vector< std::string > const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorString) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { { int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { { { 
            std::vector<std::string >* v; if (SWIG_ConvertPtr(ST(0),(void **) &v, 
            SWIGTYPE_p_std__vectorT_std__string_t,0) != -1) { _v = 1; }  else if (SvROK(ST(0))) {  AV *av = (AV *)SvRV(ST(0));
              if (SvTYPE(av) == SVt_PVAV) { I32 len = av_len(av) + 1; if (len == 0) {  _v = 1; }  else { 
                  SV **tv = av_fetch(av, 0, 0); if (SvPOK(*tv)) _v = 1; else _v = 0; }  }  }  else { _v = 0; }  }  } } 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorString__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorString__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorString__SWIG_3); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorString__SWIG_2); return; }  } 
  croak("No matching function for overloaded 'new_VectorString'"); XSRETURN(0); }
XS(_wrap_VectorString_get) { { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; std::string result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: VectorString_get(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString_get" "', argument " "1"" of type '" "std::vector< std::string > *""'");  }
     arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorString_get" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); try { result = std_vector_Sl_std_string_Sg__get(arg1,arg2);} 
    catch(std::out_of_range &_e) {
      sv_setsv(GvSV(PL_errgv), SWIG_NewPointerObj((new std::out_of_range(static_cast< const std::out_of_range& >(_e))),SWIGTYPE_p_std__out_of_range,SWIG_POINTER_OWN)); SWIG_fail ; }
     ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_VectorString_set) { { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; int arg2 ;
    std::string arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: VectorString_set(self,i,x);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString_set" "', argument " "1"" of type '" "std::vector< std::string > *""'");  }
     arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorString_set" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); { std::string *ptr = (std::string *)0;
      int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), &ptr); if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "VectorString_set" "', argument " "3"" of type '" "std::string""'");  }
       arg3 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; }  try { std_vector_Sl_std_string_Sg__set(arg1,arg2,arg3);} 
    catch(std::out_of_range &_e) {
      sv_setsv(GvSV(PL_errgv), SWIG_NewPointerObj((new std::out_of_range(static_cast< const std::out_of_range& >(_e))),SWIGTYPE_p_std__out_of_range,SWIG_POINTER_OWN)); SWIG_fail ; }
     ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_VectorString) { { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_VectorString(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__vectorT_std__string_t, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_VectorString" "', argument " "1"" of type '" "std::vector< std::string > *""'");  }
     arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorVector3__SWIG_0) { { unsigned int arg1 ; unsigned int val1 ; int ecode1 = 0 ; int argvi = 0;
    std::vector< OpenBabel::vector3 > *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new_VectorVector3(size);"); }  ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
    if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorVector3" "', argument " "1"" of type '" "unsigned int""'"); }
      arg1 = static_cast< unsigned int >(val1);
    result = (std::vector< OpenBabel::vector3 > *)new std::vector< OpenBabel::vector3 >(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__vector3_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorVector3__SWIG_1) { { int argvi = 0; std::vector< OpenBabel::vector3 > *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_VectorVector3();"); } 
    result = (std::vector< OpenBabel::vector3 > *)new std::vector< OpenBabel::vector3 >();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__vector3_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorVector3__SWIG_2) { { unsigned int arg1 ; OpenBabel::vector3 *arg2 = 0 ; unsigned int val1 ; int ecode1 = 0 ;
    void *argp2 ; int res2 = 0 ; int argvi = 0; std::vector< OpenBabel::vector3 > *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: new_VectorVector3(size,value);"); } 
    ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1); if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorVector3" "', argument " "1"" of type '" "unsigned int""'"); }
      arg1 = static_cast< unsigned int >(val1); res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_VectorVector3" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_VectorVector3" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2);
    result = (std::vector< OpenBabel::vector3 > *)new std::vector< OpenBabel::vector3 >(arg1,(OpenBabel::vector3 const &)*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__vector3_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorVector3__SWIG_3) { { std::vector< OpenBabel::vector3 > *arg1 = 0 ; std::vector< OpenBabel::vector3 > temp1 ;
    std::vector< OpenBabel::vector3 > *v1 ; int argvi = 0; std::vector< OpenBabel::vector3 > *result = 0 ; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: new_VectorVector3(std::vector< OpenBabel::vector3 > const &);"); }  {
      if (SWIG_ConvertPtr(ST(0),(void **) &v1,  SWIGTYPE_p_std__vectorT_OpenBabel__vector3_t,1) != -1) { arg1 = v1; }
       else if (SvROK(ST(0))) { AV *av = (AV *)SvRV(ST(0)); if (SvTYPE(av) != SVt_PVAV)
        SWIG_croak("Type error in argument 1 of new_VectorVector3. " "Expected an array of " "OpenBabel::vector3"); SV **tv;
        I32 len = av_len(av) + 1; OpenBabel::vector3* obj; for (int i=0; i<len; i++) { tv = av_fetch(av, i, 0);
          if (SWIG_ConvertPtr(*tv, (void **)&obj,  SWIGTYPE_p_OpenBabel__vector3,0) != -1) { temp1.push_back(*obj); }  else {
            SWIG_croak("Type error in argument 1 of " "new_VectorVector3. " "Expected an array of " "OpenBabel::vector3"); }  } 
        arg1 = &temp1; }  else { SWIG_croak("Type error in argument 1 of new_VectorVector3. "
        "Expected an array of " "OpenBabel::vector3"); }  } 
    result = (std::vector< OpenBabel::vector3 > *)new std::vector< OpenBabel::vector3 >((std::vector< OpenBabel::vector3 > const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__vector3_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorVector3) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { { int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { { { 
            std::vector<OpenBabel::vector3 >* v; if (SWIG_ConvertPtr(ST(0),(void **) &v, 
            SWIGTYPE_p_std__vectorT_OpenBabel__vector3_t,0) != -1) { _v = 1; }  else if (SvROK(ST(0))) { 
              AV *av = (AV *)SvRV(ST(0)); if (SvTYPE(av) == SVt_PVAV) { I32 len = av_len(av) + 1; if (len == 0) {  _v = 1; }
                 else {  OpenBabel::vector3* obj; SV **tv = av_fetch(av, 0, 0); if (SWIG_ConvertPtr(*tv, (void **)&obj, 
                  SWIGTYPE_p_OpenBabel__vector3,0) != -1) _v = 1; else _v = 0; }  }  }  else { _v = 0; }  }  } } 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorVector3__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorVector3__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorVector3__SWIG_3); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorVector3__SWIG_2); return; }  } 
  croak("No matching function for overloaded 'new_VectorVector3'"); XSRETURN(0); }
XS(_wrap_VectorVector3_get) { { std::vector< OpenBabel::vector3 > *arg1 = (std::vector< OpenBabel::vector3 > *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::vector3 *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: VectorVector3_get(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__vectorT_OpenBabel__vector3_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorVector3_get" "', argument " "1"" of type '" "std::vector< OpenBabel::vector3 > *""'");  }
     arg1 = reinterpret_cast< std::vector< OpenBabel::vector3 > * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorVector3_get" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); try { result = (OpenBabel::vector3 *) &std_vector_Sl_OpenBabel_vector3_Sg__get(arg1,arg2);}
     catch(std::out_of_range &_e) {
      sv_setsv(GvSV(PL_errgv), SWIG_NewPointerObj((new std::out_of_range(static_cast< const std::out_of_range& >(_e))),SWIGTYPE_p_std__out_of_range,SWIG_POINTER_OWN)); SWIG_fail ; }
     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__vector3, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_VectorVector3_set) { { std::vector< OpenBabel::vector3 > *arg1 = (std::vector< OpenBabel::vector3 > *) 0 ; int arg2 ;
    OpenBabel::vector3 *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; void *argp3 ; int res3 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) { SWIG_croak("Usage: VectorVector3_set(self,i,x);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__vectorT_OpenBabel__vector3_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorVector3_set" "', argument " "1"" of type '" "std::vector< OpenBabel::vector3 > *""'");  }
     arg1 = reinterpret_cast< std::vector< OpenBabel::vector3 > * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorVector3_set" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_OpenBabel__vector3,  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorVector3_set" "', argument " "3"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorVector3_set" "', argument " "3"" of type '" "OpenBabel::vector3 const &""'"); }
     arg3 = reinterpret_cast< OpenBabel::vector3 * >(argp3); try {
      std_vector_Sl_OpenBabel_vector3_Sg__set(arg1,arg2,(OpenBabel::vector3 const &)*arg3);}  catch(std::out_of_range &_e) {
      sv_setsv(GvSV(PL_errgv), SWIG_NewPointerObj((new std::out_of_range(static_cast< const std::out_of_range& >(_e))),SWIGTYPE_p_std__out_of_range,SWIG_POINTER_OWN)); SWIG_fail ; }
     ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_VectorVector3) { { std::vector< OpenBabel::vector3 > *arg1 = (std::vector< OpenBabel::vector3 > *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: delete_VectorVector3(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__vectorT_OpenBabel__vector3_t, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_VectorVector3" "', argument " "1"" of type '" "std::vector< OpenBabel::vector3 > *""'");  }
     arg1 = reinterpret_cast< std::vector< OpenBabel::vector3 > * >(argp1); delete arg1; ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorOBMol__SWIG_0) { { unsigned int arg1 ; unsigned int val1 ; int ecode1 = 0 ; int argvi = 0;
    std::vector< OpenBabel::OBMol > *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new_VectorOBMol(size);"); }  ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
    if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorOBMol" "', argument " "1"" of type '" "unsigned int""'"); }
      arg1 = static_cast< unsigned int >(val1);
    result = (std::vector< OpenBabel::OBMol > *)new std::vector< OpenBabel::OBMol >(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBMol_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorOBMol__SWIG_1) { { int argvi = 0; std::vector< OpenBabel::OBMol > *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_VectorOBMol();"); } 
    result = (std::vector< OpenBabel::OBMol > *)new std::vector< OpenBabel::OBMol >();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBMol_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorOBMol__SWIG_2) { { unsigned int arg1 ; OpenBabel::OBMol *arg2 = 0 ; unsigned int val1 ; int ecode1 = 0 ;
    void *argp2 ; int res2 = 0 ; int argvi = 0; std::vector< OpenBabel::OBMol > *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: new_VectorOBMol(size,value);"); } 
    ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1); if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorOBMol" "', argument " "1"" of type '" "unsigned int""'"); }
      arg1 = static_cast< unsigned int >(val1); res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_VectorOBMol" "', argument " "2"" of type '" "OpenBabel::OBMol const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_VectorOBMol" "', argument " "2"" of type '" "OpenBabel::OBMol const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2);
    result = (std::vector< OpenBabel::OBMol > *)new std::vector< OpenBabel::OBMol >(arg1,(OpenBabel::OBMol const &)*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBMol_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorOBMol__SWIG_3) { { std::vector< OpenBabel::OBMol > *arg1 = 0 ; std::vector< OpenBabel::OBMol > temp1 ;
    std::vector< OpenBabel::OBMol > *v1 ; int argvi = 0; std::vector< OpenBabel::OBMol > *result = 0 ; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: new_VectorOBMol(std::vector< OpenBabel::OBMol > const &);"); }  {
      if (SWIG_ConvertPtr(ST(0),(void **) &v1,  SWIGTYPE_p_std__vectorT_OpenBabel__OBMol_t,1) != -1) { arg1 = v1; }
       else if (SvROK(ST(0))) { AV *av = (AV *)SvRV(ST(0)); if (SvTYPE(av) != SVt_PVAV)
        SWIG_croak("Type error in argument 1 of new_VectorOBMol. " "Expected an array of " "OpenBabel::OBMol"); SV **tv;
        I32 len = av_len(av) + 1; OpenBabel::OBMol* obj; for (int i=0; i<len; i++) { tv = av_fetch(av, i, 0);
          if (SWIG_ConvertPtr(*tv, (void **)&obj,  SWIGTYPE_p_OpenBabel__OBMol,0) != -1) { temp1.push_back(*obj); }  else {
            SWIG_croak("Type error in argument 1 of " "new_VectorOBMol. " "Expected an array of " "OpenBabel::OBMol"); }  } 
        arg1 = &temp1; }  else { SWIG_croak("Type error in argument 1 of new_VectorOBMol. "
        "Expected an array of " "OpenBabel::OBMol"); }  } 
    result = (std::vector< OpenBabel::OBMol > *)new std::vector< OpenBabel::OBMol >((std::vector< OpenBabel::OBMol > const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBMol_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorOBMol) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { { int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { { { 
            std::vector<OpenBabel::OBMol >* v; if (SWIG_ConvertPtr(ST(0),(void **) &v, 
            SWIGTYPE_p_std__vectorT_OpenBabel__OBMol_t,0) != -1) { _v = 1; }  else if (SvROK(ST(0))) { 
              AV *av = (AV *)SvRV(ST(0)); if (SvTYPE(av) == SVt_PVAV) { I32 len = av_len(av) + 1; if (len == 0) {  _v = 1; }
                 else {  OpenBabel::OBMol* obj; SV **tv = av_fetch(av, 0, 0); if (SWIG_ConvertPtr(*tv, (void **)&obj, 
                  SWIGTYPE_p_OpenBabel__OBMol,0) != -1) _v = 1; else _v = 0; }  }  }  else { _v = 0; }  }  } } 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorOBMol__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorOBMol__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorOBMol__SWIG_3); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorOBMol__SWIG_2); return; }  } 
  croak("No matching function for overloaded 'new_VectorOBMol'"); XSRETURN(0); }
XS(_wrap_VectorOBMol_get) { { std::vector< OpenBabel::OBMol > *arg1 = (std::vector< OpenBabel::OBMol > *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::OBMol *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: VectorOBMol_get(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__vectorT_OpenBabel__OBMol_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorOBMol_get" "', argument " "1"" of type '" "std::vector< OpenBabel::OBMol > *""'");  }
     arg1 = reinterpret_cast< std::vector< OpenBabel::OBMol > * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorOBMol_get" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); try { result = (OpenBabel::OBMol *) &std_vector_Sl_OpenBabel_OBMol_Sg__get(arg1,arg2);} 
    catch(std::out_of_range &_e) {
      sv_setsv(GvSV(PL_errgv), SWIG_NewPointerObj((new std::out_of_range(static_cast< const std::out_of_range& >(_e))),SWIGTYPE_p_std__out_of_range,SWIG_POINTER_OWN)); SWIG_fail ; }
     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMol, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_VectorOBMol_set) { { std::vector< OpenBabel::OBMol > *arg1 = (std::vector< OpenBabel::OBMol > *) 0 ; int arg2 ;
    OpenBabel::OBMol *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; void *argp3 ; int res3 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) { SWIG_croak("Usage: VectorOBMol_set(self,i,x);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__vectorT_OpenBabel__OBMol_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorOBMol_set" "', argument " "1"" of type '" "std::vector< OpenBabel::OBMol > *""'");  }
     arg1 = reinterpret_cast< std::vector< OpenBabel::OBMol > * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorOBMol_set" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_OpenBabel__OBMol,  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorOBMol_set" "', argument " "3"" of type '" "OpenBabel::OBMol const &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorOBMol_set" "', argument " "3"" of type '" "OpenBabel::OBMol const &""'"); }
     arg3 = reinterpret_cast< OpenBabel::OBMol * >(argp3); try {
      std_vector_Sl_OpenBabel_OBMol_Sg__set(arg1,arg2,(OpenBabel::OBMol const &)*arg3);}  catch(std::out_of_range &_e) {
      sv_setsv(GvSV(PL_errgv), SWIG_NewPointerObj((new std::out_of_range(static_cast< const std::out_of_range& >(_e))),SWIGTYPE_p_std__out_of_range,SWIG_POINTER_OWN)); SWIG_fail ; }
     ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_VectorOBMol) { { std::vector< OpenBabel::OBMol > *arg1 = (std::vector< OpenBabel::OBMol > *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: delete_VectorOBMol(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__vectorT_OpenBabel__OBMol_t, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_VectorOBMol" "', argument " "1"" of type '" "std::vector< OpenBabel::OBMol > *""'");  }
     arg1 = reinterpret_cast< std::vector< OpenBabel::OBMol > * >(argp1); delete arg1; ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorOBBond__SWIG_0) { { unsigned int arg1 ; unsigned int val1 ; int ecode1 = 0 ; int argvi = 0;
    std::vector< OpenBabel::OBBond > *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new_VectorOBBond(size);"); }  ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
    if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorOBBond" "', argument " "1"" of type '" "unsigned int""'"); }
      arg1 = static_cast< unsigned int >(val1);
    result = (std::vector< OpenBabel::OBBond > *)new std::vector< OpenBabel::OBBond >(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorOBBond__SWIG_1) { { int argvi = 0; std::vector< OpenBabel::OBBond > *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_VectorOBBond();"); } 
    result = (std::vector< OpenBabel::OBBond > *)new std::vector< OpenBabel::OBBond >();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorOBBond__SWIG_2) { { unsigned int arg1 ; OpenBabel::OBBond *arg2 = 0 ; unsigned int val1 ; int ecode1 = 0 ;
    void *argp2 ; int res2 = 0 ; int argvi = 0; std::vector< OpenBabel::OBBond > *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: new_VectorOBBond(size,value);"); } 
    ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1); if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorOBBond" "', argument " "1"" of type '" "unsigned int""'"); }
      arg1 = static_cast< unsigned int >(val1); res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBBond,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_VectorOBBond" "', argument " "2"" of type '" "OpenBabel::OBBond const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_VectorOBBond" "', argument " "2"" of type '" "OpenBabel::OBBond const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBond * >(argp2);
    result = (std::vector< OpenBabel::OBBond > *)new std::vector< OpenBabel::OBBond >(arg1,(OpenBabel::OBBond const &)*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorOBBond__SWIG_3) { { std::vector< OpenBabel::OBBond > *arg1 = 0 ; std::vector< OpenBabel::OBBond > temp1 ;
    std::vector< OpenBabel::OBBond > *v1 ; int argvi = 0; std::vector< OpenBabel::OBBond > *result = 0 ; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: new_VectorOBBond(std::vector< OpenBabel::OBBond > const &);"); }  {
      if (SWIG_ConvertPtr(ST(0),(void **) &v1,  SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_t,1) != -1) { arg1 = v1; }
       else if (SvROK(ST(0))) { AV *av = (AV *)SvRV(ST(0)); if (SvTYPE(av) != SVt_PVAV)
        SWIG_croak("Type error in argument 1 of new_VectorOBBond. " "Expected an array of " "OpenBabel::OBBond"); SV **tv;
        I32 len = av_len(av) + 1; OpenBabel::OBBond* obj; for (int i=0; i<len; i++) { tv = av_fetch(av, i, 0);
          if (SWIG_ConvertPtr(*tv, (void **)&obj,  SWIGTYPE_p_OpenBabel__OBBond,0) != -1) { temp1.push_back(*obj); }  else {
            SWIG_croak("Type error in argument 1 of " "new_VectorOBBond. " "Expected an array of " "OpenBabel::OBBond"); }  } 
        arg1 = &temp1; }  else { SWIG_croak("Type error in argument 1 of new_VectorOBBond. "
        "Expected an array of " "OpenBabel::OBBond"); }  } 
    result = (std::vector< OpenBabel::OBBond > *)new std::vector< OpenBabel::OBBond >((std::vector< OpenBabel::OBBond > const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorOBBond) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { { int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { { { 
            std::vector<OpenBabel::OBBond >* v; if (SWIG_ConvertPtr(ST(0),(void **) &v, 
            SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_t,0) != -1) { _v = 1; }  else if (SvROK(ST(0))) { 
              AV *av = (AV *)SvRV(ST(0)); if (SvTYPE(av) == SVt_PVAV) { I32 len = av_len(av) + 1; if (len == 0) {  _v = 1; }
                 else {  OpenBabel::OBBond* obj; SV **tv = av_fetch(av, 0, 0); if (SWIG_ConvertPtr(*tv, (void **)&obj, 
                  SWIGTYPE_p_OpenBabel__OBBond,0) != -1) _v = 1; else _v = 0; }  }  }  else { _v = 0; }  }  } } 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBBond, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorOBBond__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorOBBond__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorOBBond__SWIG_3); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorOBBond__SWIG_2); return; }  } 
  croak("No matching function for overloaded 'new_VectorOBBond'"); XSRETURN(0); }
XS(_wrap_VectorOBBond_get) { { std::vector< OpenBabel::OBBond > *arg1 = (std::vector< OpenBabel::OBBond > *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::OBBond *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: VectorOBBond_get(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorOBBond_get" "', argument " "1"" of type '" "std::vector< OpenBabel::OBBond > *""'");  }
     arg1 = reinterpret_cast< std::vector< OpenBabel::OBBond > * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorOBBond_get" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); try { result = (OpenBabel::OBBond *) &std_vector_Sl_OpenBabel_OBBond_Sg__get(arg1,arg2);} 
    catch(std::out_of_range &_e) {
      sv_setsv(GvSV(PL_errgv), SWIG_NewPointerObj((new std::out_of_range(static_cast< const std::out_of_range& >(_e))),SWIGTYPE_p_std__out_of_range,SWIG_POINTER_OWN)); SWIG_fail ; }
     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBond, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_VectorOBBond_set) { { std::vector< OpenBabel::OBBond > *arg1 = (std::vector< OpenBabel::OBBond > *) 0 ; int arg2 ;
    OpenBabel::OBBond *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; void *argp3 ; int res3 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) { SWIG_croak("Usage: VectorOBBond_set(self,i,x);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorOBBond_set" "', argument " "1"" of type '" "std::vector< OpenBabel::OBBond > *""'");  }
     arg1 = reinterpret_cast< std::vector< OpenBabel::OBBond > * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorOBBond_set" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_OpenBabel__OBBond,  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorOBBond_set" "', argument " "3"" of type '" "OpenBabel::OBBond const &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorOBBond_set" "', argument " "3"" of type '" "OpenBabel::OBBond const &""'"); }
     arg3 = reinterpret_cast< OpenBabel::OBBond * >(argp3); try {
      std_vector_Sl_OpenBabel_OBBond_Sg__set(arg1,arg2,(OpenBabel::OBBond const &)*arg3);}  catch(std::out_of_range &_e) {
      sv_setsv(GvSV(PL_errgv), SWIG_NewPointerObj((new std::out_of_range(static_cast< const std::out_of_range& >(_e))),SWIGTYPE_p_std__out_of_range,SWIG_POINTER_OWN)); SWIG_fail ; }
     ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_VectorOBBond) { { std::vector< OpenBabel::OBBond > *arg1 = (std::vector< OpenBabel::OBBond > *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: delete_VectorOBBond(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_t, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_VectorOBBond" "', argument " "1"" of type '" "std::vector< OpenBabel::OBBond > *""'");  }
     arg1 = reinterpret_cast< std::vector< OpenBabel::OBBond > * >(argp1); delete arg1; ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorOBResidue__SWIG_0) { { unsigned int arg1 ; unsigned int val1 ; int ecode1 = 0 ; int argvi = 0;
    std::vector< OpenBabel::OBResidue > *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new_VectorOBResidue(size);"); } 
    ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1); if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorOBResidue" "', argument " "1"" of type '" "unsigned int""'"); }
      arg1 = static_cast< unsigned int >(val1);
    result = (std::vector< OpenBabel::OBResidue > *)new std::vector< OpenBabel::OBResidue >(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBResidue_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorOBResidue__SWIG_1) { { int argvi = 0; std::vector< OpenBabel::OBResidue > *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_VectorOBResidue();"); } 
    result = (std::vector< OpenBabel::OBResidue > *)new std::vector< OpenBabel::OBResidue >();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBResidue_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorOBResidue__SWIG_2) { { unsigned int arg1 ; OpenBabel::OBResidue *arg2 = 0 ; unsigned int val1 ;
    int ecode1 = 0 ; void *argp2 ; int res2 = 0 ; int argvi = 0; std::vector< OpenBabel::OBResidue > *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: new_VectorOBResidue(size,value);"); } 
    ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1); if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorOBResidue" "', argument " "1"" of type '" "unsigned int""'"); }
      arg1 = static_cast< unsigned int >(val1); res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBResidue,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_VectorOBResidue" "', argument " "2"" of type '" "OpenBabel::OBResidue const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_VectorOBResidue" "', argument " "2"" of type '" "OpenBabel::OBResidue const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBResidue * >(argp2);
    result = (std::vector< OpenBabel::OBResidue > *)new std::vector< OpenBabel::OBResidue >(arg1,(OpenBabel::OBResidue const &)*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBResidue_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorOBResidue__SWIG_3) { { std::vector< OpenBabel::OBResidue > *arg1 = 0 ;
    std::vector< OpenBabel::OBResidue > temp1 ; std::vector< OpenBabel::OBResidue > *v1 ; int argvi = 0;
    std::vector< OpenBabel::OBResidue > *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new_VectorOBResidue(std::vector< OpenBabel::OBResidue > const &);"); }  {
      if (SWIG_ConvertPtr(ST(0),(void **) &v1,  SWIGTYPE_p_std__vectorT_OpenBabel__OBResidue_t,1) != -1) { arg1 = v1; }
       else if (SvROK(ST(0))) { AV *av = (AV *)SvRV(ST(0)); if (SvTYPE(av) != SVt_PVAV)
        SWIG_croak("Type error in argument 1 of new_VectorOBResidue. " "Expected an array of " "OpenBabel::OBResidue"); SV **tv;
        I32 len = av_len(av) + 1; OpenBabel::OBResidue* obj; for (int i=0; i<len; i++) { tv = av_fetch(av, i, 0);
          if (SWIG_ConvertPtr(*tv, (void **)&obj,  SWIGTYPE_p_OpenBabel__OBResidue,0) != -1) { temp1.push_back(*obj); }  else {
            SWIG_croak("Type error in argument 1 of " "new_VectorOBResidue. " "Expected an array of " "OpenBabel::OBResidue"); }
           }  arg1 = &temp1; }  else { SWIG_croak("Type error in argument 1 of new_VectorOBResidue. "
        "Expected an array of " "OpenBabel::OBResidue"); }  } 
    result = (std::vector< OpenBabel::OBResidue > *)new std::vector< OpenBabel::OBResidue >((std::vector< OpenBabel::OBResidue > const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBResidue_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorOBResidue) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { { int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { { { 
            std::vector<OpenBabel::OBResidue >* v; if (SWIG_ConvertPtr(ST(0),(void **) &v, 
            SWIGTYPE_p_std__vectorT_OpenBabel__OBResidue_t,0) != -1) { _v = 1; }  else if (SvROK(ST(0))) { 
              AV *av = (AV *)SvRV(ST(0)); if (SvTYPE(av) == SVt_PVAV) { I32 len = av_len(av) + 1; if (len == 0) {  _v = 1; }
                 else {  OpenBabel::OBResidue* obj; SV **tv = av_fetch(av, 0, 0); if (SWIG_ConvertPtr(*tv, (void **)&obj, 
                  SWIGTYPE_p_OpenBabel__OBResidue,0) != -1) _v = 1; else _v = 0; }  }  }  else { _v = 0; }  }  } } 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBResidue, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorOBResidue__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorOBResidue__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorOBResidue__SWIG_3); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorOBResidue__SWIG_2); return; }  } 
  croak("No matching function for overloaded 'new_VectorOBResidue'"); XSRETURN(0); }
XS(_wrap_VectorOBResidue_get) { { std::vector< OpenBabel::OBResidue > *arg1 = (std::vector< OpenBabel::OBResidue > *) 0 ;
    int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::OBResidue *result = 0 ;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: VectorOBResidue_get(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__vectorT_OpenBabel__OBResidue_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorOBResidue_get" "', argument " "1"" of type '" "std::vector< OpenBabel::OBResidue > *""'");  }
     arg1 = reinterpret_cast< std::vector< OpenBabel::OBResidue > * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorOBResidue_get" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); try {
      result = (OpenBabel::OBResidue *) &std_vector_Sl_OpenBabel_OBResidue_Sg__get(arg1,arg2);}  catch(std::out_of_range &_e) {
      sv_setsv(GvSV(PL_errgv), SWIG_NewPointerObj((new std::out_of_range(static_cast< const std::out_of_range& >(_e))),SWIGTYPE_p_std__out_of_range,SWIG_POINTER_OWN)); SWIG_fail ; }
     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBResidue, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_VectorOBResidue_set) { { std::vector< OpenBabel::OBResidue > *arg1 = (std::vector< OpenBabel::OBResidue > *) 0 ;
    int arg2 ; OpenBabel::OBResidue *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; void *argp3 ;
    int res3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: VectorOBResidue_set(self,i,x);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__vectorT_OpenBabel__OBResidue_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorOBResidue_set" "', argument " "1"" of type '" "std::vector< OpenBabel::OBResidue > *""'");  }
     arg1 = reinterpret_cast< std::vector< OpenBabel::OBResidue > * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorOBResidue_set" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_OpenBabel__OBResidue,  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorOBResidue_set" "', argument " "3"" of type '" "OpenBabel::OBResidue const &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorOBResidue_set" "', argument " "3"" of type '" "OpenBabel::OBResidue const &""'"); }
     arg3 = reinterpret_cast< OpenBabel::OBResidue * >(argp3); try {
      std_vector_Sl_OpenBabel_OBResidue_Sg__set(arg1,arg2,(OpenBabel::OBResidue const &)*arg3);}  catch(std::out_of_range &_e) {
      sv_setsv(GvSV(PL_errgv), SWIG_NewPointerObj((new std::out_of_range(static_cast< const std::out_of_range& >(_e))),SWIGTYPE_p_std__out_of_range,SWIG_POINTER_OWN)); SWIG_fail ; }
     ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_VectorOBResidue) { { std::vector< OpenBabel::OBResidue > *arg1 = (std::vector< OpenBabel::OBResidue > *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: delete_VectorOBResidue(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__vectorT_OpenBabel__OBResidue_t, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_VectorOBResidue" "', argument " "1"" of type '" "std::vector< OpenBabel::OBResidue > *""'");  }
     arg1 = reinterpret_cast< std::vector< OpenBabel::OBResidue > * >(argp1); delete arg1; ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorOBRing__SWIG_0) { { unsigned int arg1 ; unsigned int val1 ; int ecode1 = 0 ; int argvi = 0;
    std::vector< OpenBabel::OBRing > *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new_VectorOBRing(size);"); }  ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
    if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorOBRing" "', argument " "1"" of type '" "unsigned int""'"); }
      arg1 = static_cast< unsigned int >(val1);
    result = (std::vector< OpenBabel::OBRing > *)new std::vector< OpenBabel::OBRing >(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBRing_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorOBRing__SWIG_1) { { int argvi = 0; std::vector< OpenBabel::OBRing > *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_VectorOBRing();"); } 
    result = (std::vector< OpenBabel::OBRing > *)new std::vector< OpenBabel::OBRing >();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBRing_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorOBRing__SWIG_2) { { unsigned int arg1 ; OpenBabel::OBRing *arg2 = 0 ; unsigned int val1 ; int ecode1 = 0 ;
    void *argp2 ; int res2 = 0 ; int argvi = 0; std::vector< OpenBabel::OBRing > *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: new_VectorOBRing(size,value);"); } 
    ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1); if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorOBRing" "', argument " "1"" of type '" "unsigned int""'"); }
      arg1 = static_cast< unsigned int >(val1); res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBRing,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_VectorOBRing" "', argument " "2"" of type '" "OpenBabel::OBRing const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_VectorOBRing" "', argument " "2"" of type '" "OpenBabel::OBRing const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBRing * >(argp2);
    result = (std::vector< OpenBabel::OBRing > *)new std::vector< OpenBabel::OBRing >(arg1,(OpenBabel::OBRing const &)*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBRing_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorOBRing__SWIG_3) { { std::vector< OpenBabel::OBRing > *arg1 = 0 ; std::vector< OpenBabel::OBRing > temp1 ;
    std::vector< OpenBabel::OBRing > *v1 ; int argvi = 0; std::vector< OpenBabel::OBRing > *result = 0 ; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: new_VectorOBRing(std::vector< OpenBabel::OBRing > const &);"); }  {
      if (SWIG_ConvertPtr(ST(0),(void **) &v1,  SWIGTYPE_p_std__vectorT_OpenBabel__OBRing_t,1) != -1) { arg1 = v1; }
       else if (SvROK(ST(0))) { AV *av = (AV *)SvRV(ST(0)); if (SvTYPE(av) != SVt_PVAV)
        SWIG_croak("Type error in argument 1 of new_VectorOBRing. " "Expected an array of " "OpenBabel::OBRing"); SV **tv;
        I32 len = av_len(av) + 1; OpenBabel::OBRing* obj; for (int i=0; i<len; i++) { tv = av_fetch(av, i, 0);
          if (SWIG_ConvertPtr(*tv, (void **)&obj,  SWIGTYPE_p_OpenBabel__OBRing,0) != -1) { temp1.push_back(*obj); }  else {
            SWIG_croak("Type error in argument 1 of " "new_VectorOBRing. " "Expected an array of " "OpenBabel::OBRing"); }  } 
        arg1 = &temp1; }  else { SWIG_croak("Type error in argument 1 of new_VectorOBRing. "
        "Expected an array of " "OpenBabel::OBRing"); }  } 
    result = (std::vector< OpenBabel::OBRing > *)new std::vector< OpenBabel::OBRing >((std::vector< OpenBabel::OBRing > const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBRing_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorOBRing) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { { int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { { { 
            std::vector<OpenBabel::OBRing >* v; if (SWIG_ConvertPtr(ST(0),(void **) &v, 
            SWIGTYPE_p_std__vectorT_OpenBabel__OBRing_t,0) != -1) { _v = 1; }  else if (SvROK(ST(0))) { 
              AV *av = (AV *)SvRV(ST(0)); if (SvTYPE(av) == SVt_PVAV) { I32 len = av_len(av) + 1; if (len == 0) {  _v = 1; }
                 else {  OpenBabel::OBRing* obj; SV **tv = av_fetch(av, 0, 0); if (SWIG_ConvertPtr(*tv, (void **)&obj, 
                  SWIGTYPE_p_OpenBabel__OBRing,0) != -1) _v = 1; else _v = 0; }  }  }  else { _v = 0; }  }  } } 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBRing, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorOBRing__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorOBRing__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorOBRing__SWIG_3); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorOBRing__SWIG_2); return; }  } 
  croak("No matching function for overloaded 'new_VectorOBRing'"); XSRETURN(0); }
XS(_wrap_VectorOBRing_get) { { std::vector< OpenBabel::OBRing > *arg1 = (std::vector< OpenBabel::OBRing > *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::OBRing *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: VectorOBRing_get(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__vectorT_OpenBabel__OBRing_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorOBRing_get" "', argument " "1"" of type '" "std::vector< OpenBabel::OBRing > *""'");  }
     arg1 = reinterpret_cast< std::vector< OpenBabel::OBRing > * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorOBRing_get" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); try { result = (OpenBabel::OBRing *) &std_vector_Sl_OpenBabel_OBRing_Sg__get(arg1,arg2);} 
    catch(std::out_of_range &_e) {
      sv_setsv(GvSV(PL_errgv), SWIG_NewPointerObj((new std::out_of_range(static_cast< const std::out_of_range& >(_e))),SWIGTYPE_p_std__out_of_range,SWIG_POINTER_OWN)); SWIG_fail ; }
     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBRing, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_VectorOBRing_set) { { std::vector< OpenBabel::OBRing > *arg1 = (std::vector< OpenBabel::OBRing > *) 0 ; int arg2 ;
    OpenBabel::OBRing *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; void *argp3 ; int res3 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) { SWIG_croak("Usage: VectorOBRing_set(self,i,x);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__vectorT_OpenBabel__OBRing_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorOBRing_set" "', argument " "1"" of type '" "std::vector< OpenBabel::OBRing > *""'");  }
     arg1 = reinterpret_cast< std::vector< OpenBabel::OBRing > * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorOBRing_set" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_OpenBabel__OBRing,  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorOBRing_set" "', argument " "3"" of type '" "OpenBabel::OBRing const &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorOBRing_set" "', argument " "3"" of type '" "OpenBabel::OBRing const &""'"); }
     arg3 = reinterpret_cast< OpenBabel::OBRing * >(argp3); try {
      std_vector_Sl_OpenBabel_OBRing_Sg__set(arg1,arg2,(OpenBabel::OBRing const &)*arg3);}  catch(std::out_of_range &_e) {
      sv_setsv(GvSV(PL_errgv), SWIG_NewPointerObj((new std::out_of_range(static_cast< const std::out_of_range& >(_e))),SWIGTYPE_p_std__out_of_range,SWIG_POINTER_OWN)); SWIG_fail ; }
     ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_VectorOBRing) { { std::vector< OpenBabel::OBRing > *arg1 = (std::vector< OpenBabel::OBRing > *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: delete_VectorOBRing(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__vectorT_OpenBabel__OBRing_t, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_VectorOBRing" "', argument " "1"" of type '" "std::vector< OpenBabel::OBRing > *""'");  }
     arg1 = reinterpret_cast< std::vector< OpenBabel::OBRing > * >(argp1); delete arg1; ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorpOBRing__SWIG_0) { { unsigned int arg1 ; unsigned int val1 ; int ecode1 = 0 ; int argvi = 0;
    std::vector< OpenBabel::OBRing * > *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new_VectorpOBRing(size);"); }  ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
    if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorpOBRing" "', argument " "1"" of type '" "unsigned int""'"); }
      arg1 = static_cast< unsigned int >(val1);
    result = (std::vector< OpenBabel::OBRing * > *)new std::vector< OpenBabel::OBRing * >(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBRing_p_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorpOBRing__SWIG_1) { { int argvi = 0; std::vector< OpenBabel::OBRing * > *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_VectorpOBRing();"); } 
    result = (std::vector< OpenBabel::OBRing * > *)new std::vector< OpenBabel::OBRing * >();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBRing_p_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorpOBRing__SWIG_2) { { unsigned int arg1 ; OpenBabel::OBRing *arg2 = (OpenBabel::OBRing *) 0 ;
    unsigned int val1 ; int ecode1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    std::vector< OpenBabel::OBRing * > *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: new_VectorpOBRing(size,value);"); } 
    ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1); if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorpOBRing" "', argument " "1"" of type '" "unsigned int""'"); }
      arg1 = static_cast< unsigned int >(val1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBRing, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_VectorpOBRing" "', argument " "2"" of type '" "OpenBabel::OBRing *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBRing * >(argp2);
    result = (std::vector< OpenBabel::OBRing * > *)new std::vector< OpenBabel::OBRing * >(arg1,arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBRing_p_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorpOBRing__SWIG_3) { { std::vector< OpenBabel::OBRing * > *arg1 = 0 ;
    std::vector< OpenBabel::OBRing * > temp1 ; std::vector< OpenBabel::OBRing * > *v1 ; int argvi = 0;
    std::vector< OpenBabel::OBRing * > *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new_VectorpOBRing(std::vector< OpenBabel::OBRing * > const &);"); }  {
      int res = SWIG_ConvertPtr(ST(0),(void **) &v1, SWIGTYPE_p_std__vectorT_OpenBabel__OBRing_p_t,0); if (SWIG_IsOK(res)) {
        arg1 = v1; }  else if (SvROK(ST(0))) { AV *av = (AV *)SvRV(ST(0)); if (SvTYPE(av) != SVt_PVAV)
        SWIG_croak("Type error in argument 1 of new_VectorpOBRing. " "Expected an array of " "OpenBabel::OBRing");
        I32 len = av_len(av) + 1; for (int i=0; i<len; i++) { void *v1; SV **tv = av_fetch(av, i, 0);
          int res = SWIG_ConvertPtr(*tv, &v1, SWIGTYPE_p_OpenBabel__OBRing,0); if (SWIG_IsOK(res)) {
            temp1.push_back(static_cast< OpenBabel::OBRing * >(v1)); }  else { SWIG_croak("Type error in argument 1 of "
            "new_VectorpOBRing. " "Expected an array of " "OpenBabel::OBRing"); }  }  arg1 = &temp1; }  else {
        SWIG_croak("Type error in argument 1 of new_VectorpOBRing. " "Expected an array of " "OpenBabel::OBRing"); }  } 
    result = (std::vector< OpenBabel::OBRing * > *)new std::vector< OpenBabel::OBRing * >((std::vector< OpenBabel::OBRing * > const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBRing_p_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorpOBRing) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { { int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { { { 
            std::vector<OpenBabel::OBRing *> *v;
            int res = SWIG_ConvertPtr(ST(0),SWIG_as_voidptrptr(&v), SWIGTYPE_p_std__vectorT_OpenBabel__OBRing_p_t,0);
            if (SWIG_IsOK(res)) { _v = 1; }  else if (SvROK(ST(0))) {  AV *av = (AV *)SvRV(ST(0)); if (SvTYPE(av) == SVt_PVAV) {
                I32 len = av_len(av) + 1; if (len == 0) {  _v = 1; }  else {  void *v; SV **tv = av_fetch(av, 0, 0);
                  int res = SWIG_ConvertPtr(*tv, &v, SWIGTYPE_p_OpenBabel__OBRing,0); if (SWIG_IsOK(res)) _v = 1; else _v = 0; }
                 }  }  else { _v = 0; }  }  } }  if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi;
      _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { { int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        void *vptr = 0; int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBRing, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorpOBRing__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorpOBRing__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorpOBRing__SWIG_3); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorpOBRing__SWIG_2); return; }  } 
  croak("No matching function for overloaded 'new_VectorpOBRing'"); XSRETURN(0); }
XS(_wrap_VectorpOBRing_get) { { std::vector< OpenBabel::OBRing * > *arg1 = (std::vector< OpenBabel::OBRing * > *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::OBRing *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: VectorpOBRing_get(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__vectorT_OpenBabel__OBRing_p_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorpOBRing_get" "', argument " "1"" of type '" "std::vector< OpenBabel::OBRing * > *""'");  }
     arg1 = reinterpret_cast< std::vector< OpenBabel::OBRing * > * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorpOBRing_get" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); try { result = (OpenBabel::OBRing *)std_vector_Sl_OpenBabel_OBRing_Sm__Sg__get(arg1,arg2);}
     catch(std::out_of_range &_e) {
      sv_setsv(GvSV(PL_errgv), SWIG_NewPointerObj((new std::out_of_range(static_cast< const std::out_of_range& >(_e))),SWIGTYPE_p_std__out_of_range,SWIG_POINTER_OWN)); SWIG_fail ; }
     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBRing, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_VectorpOBRing_set) { { std::vector< OpenBabel::OBRing * > *arg1 = (std::vector< OpenBabel::OBRing * > *) 0 ; int arg2 ;
    OpenBabel::OBRing *arg3 = (OpenBabel::OBRing *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
    void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: VectorpOBRing_set(self,i,x);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__vectorT_OpenBabel__OBRing_p_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorpOBRing_set" "', argument " "1"" of type '" "std::vector< OpenBabel::OBRing * > *""'");  }
     arg1 = reinterpret_cast< std::vector< OpenBabel::OBRing * > * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorpOBRing_set" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBRing, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorpOBRing_set" "', argument " "3"" of type '" "OpenBabel::OBRing *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBRing * >(argp3); try { std_vector_Sl_OpenBabel_OBRing_Sm__Sg__set(arg1,arg2,arg3);} 
    catch(std::out_of_range &_e) {
      sv_setsv(GvSV(PL_errgv), SWIG_NewPointerObj((new std::out_of_range(static_cast< const std::out_of_range& >(_e))),SWIGTYPE_p_std__out_of_range,SWIG_POINTER_OWN)); SWIG_fail ; }
     ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_VectorpOBRing) { { std::vector< OpenBabel::OBRing * > *arg1 = (std::vector< OpenBabel::OBRing * > *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: delete_VectorpOBRing(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__vectorT_OpenBabel__OBRing_p_t, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_VectorpOBRing" "', argument " "1"" of type '" "std::vector< OpenBabel::OBRing * > *""'");  }
     arg1 = reinterpret_cast< std::vector< OpenBabel::OBRing * > * >(argp1); delete arg1; ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorpOBGenericData__SWIG_0) { { unsigned int arg1 ; unsigned int val1 ; int ecode1 = 0 ; int argvi = 0;
    std::vector< OpenBabel::OBGenericData * > *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new_VectorpOBGenericData(size);"); } 
    ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1); if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorpOBGenericData" "', argument " "1"" of type '" "unsigned int""'"); }
      arg1 = static_cast< unsigned int >(val1);
    result = (std::vector< OpenBabel::OBGenericData * > *)new std::vector< OpenBabel::OBGenericData * >(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorpOBGenericData__SWIG_1) { { int argvi = 0; std::vector< OpenBabel::OBGenericData * > *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_VectorpOBGenericData();"); } 
    result = (std::vector< OpenBabel::OBGenericData * > *)new std::vector< OpenBabel::OBGenericData * >();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorpOBGenericData__SWIG_2) { { unsigned int arg1 ;
    OpenBabel::OBGenericData *arg2 = (OpenBabel::OBGenericData *) 0 ; unsigned int val1 ; int ecode1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int argvi = 0; std::vector< OpenBabel::OBGenericData * > *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: new_VectorpOBGenericData(size,value);"); } 
    ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1); if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorpOBGenericData" "', argument " "1"" of type '" "unsigned int""'"); }
      arg1 = static_cast< unsigned int >(val1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_VectorpOBGenericData" "', argument " "2"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBGenericData * >(argp2);
    result = (std::vector< OpenBabel::OBGenericData * > *)new std::vector< OpenBabel::OBGenericData * >(arg1,arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorpOBGenericData__SWIG_3) { { std::vector< OpenBabel::OBGenericData * > *arg1 = 0 ;
    std::vector< OpenBabel::OBGenericData * > temp1 ; std::vector< OpenBabel::OBGenericData * > *v1 ; int argvi = 0;
    std::vector< OpenBabel::OBGenericData * > *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new_VectorpOBGenericData(std::vector< OpenBabel::OBGenericData * > const &);"); }  {
      int res = SWIG_ConvertPtr(ST(0),(void **) &v1, SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t,0);
      if (SWIG_IsOK(res)) { arg1 = v1; }  else if (SvROK(ST(0))) { AV *av = (AV *)SvRV(ST(0)); if (SvTYPE(av) != SVt_PVAV)
        SWIG_croak("Type error in argument 1 of new_VectorpOBGenericData. " "Expected an array of " "OpenBabel::OBGenericData");
        I32 len = av_len(av) + 1; for (int i=0; i<len; i++) { void *v1; SV **tv = av_fetch(av, i, 0);
          int res = SWIG_ConvertPtr(*tv, &v1, SWIGTYPE_p_OpenBabel__OBGenericData,0); if (SWIG_IsOK(res)) {
            temp1.push_back(static_cast< OpenBabel::OBGenericData * >(v1)); }  else { SWIG_croak("Type error in argument 1 of "
            "new_VectorpOBGenericData. " "Expected an array of " "OpenBabel::OBGenericData"); }  }  arg1 = &temp1; }  else {
        SWIG_croak("Type error in argument 1 of new_VectorpOBGenericData. "
        "Expected an array of " "OpenBabel::OBGenericData"); }  } 
    result = (std::vector< OpenBabel::OBGenericData * > *)new std::vector< OpenBabel::OBGenericData * >((std::vector< OpenBabel::OBGenericData * > const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_VectorpOBGenericData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { { int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { { { 
            std::vector<OpenBabel::OBGenericData *> *v;
            int res = SWIG_ConvertPtr(ST(0),SWIG_as_voidptrptr(&v), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t,0);
            if (SWIG_IsOK(res)) { _v = 1; }  else if (SvROK(ST(0))) {  AV *av = (AV *)SvRV(ST(0)); if (SvTYPE(av) == SVt_PVAV) {
                I32 len = av_len(av) + 1; if (len == 0) {  _v = 1; }  else {  void *v; SV **tv = av_fetch(av, 0, 0);
                  int res = SWIG_ConvertPtr(*tv, &v, SWIGTYPE_p_OpenBabel__OBGenericData,0); if (SWIG_IsOK(res)) _v = 1; else
                  _v = 0; }  }  }  else { _v = 0; }  }  } }  if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi;
      _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { { int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        void *vptr = 0; int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBGenericData, 0);
        _v = SWIG_CheckState(res);}  if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4:
    dispatch: switch(_index) { case 1: ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorpOBGenericData__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorpOBGenericData__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorpOBGenericData__SWIG_3); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_VectorpOBGenericData__SWIG_2); return; }  } 
  croak("No matching function for overloaded 'new_VectorpOBGenericData'"); XSRETURN(0); }
XS(_wrap_VectorpOBGenericData_get) { {
    std::vector< OpenBabel::OBGenericData * > *arg1 = (std::vector< OpenBabel::OBGenericData * > *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::OBGenericData *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: VectorpOBGenericData_get(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorpOBGenericData_get" "', argument " "1"" of type '" "std::vector< OpenBabel::OBGenericData * > *""'");  }
     arg1 = reinterpret_cast< std::vector< OpenBabel::OBGenericData * > * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorpOBGenericData_get" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); try {
      result = (OpenBabel::OBGenericData *)std_vector_Sl_OpenBabel_OBGenericData_Sm__Sg__get(arg1,arg2);} 
    catch(std::out_of_range &_e) {
      sv_setsv(GvSV(PL_errgv), SWIG_NewPointerObj((new std::out_of_range(static_cast< const std::out_of_range& >(_e))),SWIGTYPE_p_std__out_of_range,SWIG_POINTER_OWN)); SWIG_fail ; }
     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_VectorpOBGenericData_set) { {
    std::vector< OpenBabel::OBGenericData * > *arg1 = (std::vector< OpenBabel::OBGenericData * > *) 0 ; int arg2 ;
    OpenBabel::OBGenericData *arg3 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ;
    int ecode2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: VectorpOBGenericData_set(self,i,x);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorpOBGenericData_set" "', argument " "1"" of type '" "std::vector< OpenBabel::OBGenericData * > *""'");  }
     arg1 = reinterpret_cast< std::vector< OpenBabel::OBGenericData * > * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorpOBGenericData_set" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorpOBGenericData_set" "', argument " "3"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBGenericData * >(argp3); try {
      std_vector_Sl_OpenBabel_OBGenericData_Sm__Sg__set(arg1,arg2,arg3);}  catch(std::out_of_range &_e) {
      sv_setsv(GvSV(PL_errgv), SWIG_NewPointerObj((new std::out_of_range(static_cast< const std::out_of_range& >(_e))),SWIGTYPE_p_std__out_of_range,SWIG_POINTER_OWN)); SWIG_fail ; }
     ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_VectorpOBGenericData) { {
    std::vector< OpenBabel::OBGenericData * > *arg1 = (std::vector< OpenBabel::OBGenericData * > *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: delete_VectorpOBGenericData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_VectorpOBGenericData" "', argument " "1"" of type '" "std::vector< OpenBabel::OBGenericData * > *""'");  }
     arg1 = reinterpret_cast< std::vector< OpenBabel::OBGenericData * > * >(argp1); delete arg1; ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_toAngleData) { { OpenBabel::OBGenericData *arg1 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBAngleData *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: toAngleData(data);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "toAngleData" "', argument " "1"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGenericData * >(argp1); result = (OpenBabel::OBAngleData *)toAngleData(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAngleData, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_toAtomClassData) { { OpenBabel::OBGenericData *arg1 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBAtomClassData *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: toAtomClassData(data);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "toAtomClassData" "', argument " "1"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGenericData * >(argp1); result = (OpenBabel::OBAtomClassData *)toAtomClassData(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtomClassData, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_toChiralData) { { OpenBabel::OBGenericData *arg1 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBChiralData *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: toChiralData(data);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "toChiralData" "', argument " "1"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGenericData * >(argp1); result = (OpenBabel::OBChiralData *)toChiralData(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBChiralData, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_toCommentData) { { OpenBabel::OBGenericData *arg1 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBCommentData *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: toCommentData(data);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "toCommentData" "', argument " "1"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGenericData * >(argp1); result = (OpenBabel::OBCommentData *)toCommentData(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBCommentData, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_toConformerData) { { OpenBabel::OBGenericData *arg1 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBConformerData *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: toConformerData(data);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "toConformerData" "', argument " "1"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGenericData * >(argp1); result = (OpenBabel::OBConformerData *)toConformerData(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBConformerData, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_toExternalBondData) { { OpenBabel::OBGenericData *arg1 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBExternalBondData *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: toExternalBondData(data);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "toExternalBondData" "', argument " "1"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGenericData * >(argp1);
    result = (OpenBabel::OBExternalBondData *)toExternalBondData(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBExternalBondData, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_toGridData) { { OpenBabel::OBGenericData *arg1 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBGridData *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: toGridData(data);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "toGridData" "', argument " "1"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGenericData * >(argp1); result = (OpenBabel::OBGridData *)toGridData(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGridData, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_toMatrixData) { { OpenBabel::OBGenericData *arg1 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBMatrixData *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: toMatrixData(data);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "toMatrixData" "', argument " "1"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGenericData * >(argp1); result = (OpenBabel::OBMatrixData *)toMatrixData(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMatrixData, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_toNasaThermoData) { { OpenBabel::OBGenericData *arg1 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBNasaThermoData *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: toNasaThermoData(data);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "toNasaThermoData" "', argument " "1"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGenericData * >(argp1);
    result = (OpenBabel::OBNasaThermoData *)toNasaThermoData(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBNasaThermoData, 0 | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_toPairData) { { OpenBabel::OBGenericData *arg1 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBPairData *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: toPairData(data);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "toPairData" "', argument " "1"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGenericData * >(argp1); result = (OpenBabel::OBPairData *)toPairData(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBPairData, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_toRateData) { { OpenBabel::OBGenericData *arg1 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBRateData *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: toRateData(data);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "toRateData" "', argument " "1"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGenericData * >(argp1); result = (OpenBabel::OBRateData *)toRateData(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBRateData, 0 | 0); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_toRotamerList) { { OpenBabel::OBGenericData *arg1 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBRotamerList *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: toRotamerList(data);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "toRotamerList" "', argument " "1"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGenericData * >(argp1); result = (OpenBabel::OBRotamerList *)toRotamerList(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBRotamerList, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_toRotationData) { { OpenBabel::OBGenericData *arg1 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBRotationData *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: toRotationData(data);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "toRotationData" "', argument " "1"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGenericData * >(argp1); result = (OpenBabel::OBRotationData *)toRotationData(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBRotationData, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_toSerialNums) { { OpenBabel::OBGenericData *arg1 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBSerialNums *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: toSerialNums(data);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "toSerialNums" "', argument " "1"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGenericData * >(argp1); result = (OpenBabel::OBSerialNums *)toSerialNums(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBSerialNums, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_toSetData) { { OpenBabel::OBGenericData *arg1 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBSetData *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: toSetData(data);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "toSetData" "', argument " "1"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGenericData * >(argp1); result = (OpenBabel::OBSetData *)toSetData(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBSetData, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_toSymmetryData) { { OpenBabel::OBGenericData *arg1 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBSymmetryData *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: toSymmetryData(data);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "toSymmetryData" "', argument " "1"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGenericData * >(argp1); result = (OpenBabel::OBSymmetryData *)toSymmetryData(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBSymmetryData, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_toTorsionData) { { OpenBabel::OBGenericData *arg1 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBTorsionData *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: toTorsionData(data);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "toTorsionData" "', argument " "1"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGenericData * >(argp1); result = (OpenBabel::OBTorsionData *)toTorsionData(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBTorsionData, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_toUnitCell) { { OpenBabel::OBGenericData *arg1 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBUnitCell *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: toUnitCell(data);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "toUnitCell" "', argument " "1"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGenericData * >(argp1); result = (OpenBabel::OBUnitCell *)toUnitCell(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBUnitCell, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_toVectorData) { { OpenBabel::OBGenericData *arg1 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBVectorData *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: toVectorData(data);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "toVectorData" "', argument " "1"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGenericData * >(argp1); result = (OpenBabel::OBVectorData *)toVectorData(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBVectorData, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_toVibrationData) { { OpenBabel::OBGenericData *arg1 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBVibrationData *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: toVibrationData(data);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "toVibrationData" "', argument " "1"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGenericData * >(argp1); result = (OpenBabel::OBVibrationData *)toVibrationData(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBVibrationData, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_toVirtualBond) { { OpenBabel::OBGenericData *arg1 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBVirtualBond *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: toVirtualBond(data);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "toVirtualBond" "', argument " "1"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGenericData * >(argp1); result = (OpenBabel::OBVirtualBond *)toVirtualBond(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBVirtualBond, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBGlobalDataBase) { { int argvi = 0; OpenBabel::OBGlobalDataBase *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_OBGlobalDataBase();"); } 
    result = (OpenBabel::OBGlobalDataBase *)new OpenBabel::OBGlobalDataBase();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGlobalDataBase, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBGlobalDataBase) { { OpenBabel::OBGlobalDataBase *arg1 = (OpenBabel::OBGlobalDataBase *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: delete_OBGlobalDataBase(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGlobalDataBase, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBGlobalDataBase" "', argument " "1"" of type '" "OpenBabel::OBGlobalDataBase *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGlobalDataBase * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBGlobalDataBase_Init) { { OpenBabel::OBGlobalDataBase *arg1 = (OpenBabel::OBGlobalDataBase *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBGlobalDataBase_Init(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGlobalDataBase, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGlobalDataBase_Init" "', argument " "1"" of type '" "OpenBabel::OBGlobalDataBase *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGlobalDataBase * >(argp1); (arg1)->Init(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBGlobalDataBase_GetSize) { { OpenBabel::OBGlobalDataBase *arg1 = (OpenBabel::OBGlobalDataBase *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; size_t result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBGlobalDataBase_GetSize(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGlobalDataBase, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGlobalDataBase_GetSize" "', argument " "1"" of type '" "OpenBabel::OBGlobalDataBase *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGlobalDataBase * >(argp1); result = (arg1)->GetSize();
    ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1(static_cast< size_t >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBGlobalDataBase_SetReadDirectory) { { OpenBabel::OBGlobalDataBase *arg1 = (OpenBabel::OBGlobalDataBase *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBGlobalDataBase_SetReadDirectory(self,dir);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGlobalDataBase, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGlobalDataBase_SetReadDirectory" "', argument " "1"" of type '" "OpenBabel::OBGlobalDataBase *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGlobalDataBase * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBGlobalDataBase_SetReadDirectory" "', argument " "2"" of type '" "char *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); (arg1)->SetReadDirectory(arg2); ST(argvi) = sv_newmortal();
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap_OBGlobalDataBase_SetEnvironmentVariable) { { OpenBabel::OBGlobalDataBase *arg1 = (OpenBabel::OBGlobalDataBase *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBGlobalDataBase_SetEnvironmentVariable(self,var);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGlobalDataBase, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGlobalDataBase_SetEnvironmentVariable" "', argument " "1"" of type '" "OpenBabel::OBGlobalDataBase *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGlobalDataBase * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBGlobalDataBase_SetEnvironmentVariable" "', argument " "2"" of type '" "char *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); (arg1)->SetEnvironmentVariable(arg2); ST(argvi) = sv_newmortal();
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap_OBGlobalDataBase_ParseLine) { { OpenBabel::OBGlobalDataBase *arg1 = (OpenBabel::OBGlobalDataBase *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBGlobalDataBase_ParseLine(self,char const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGlobalDataBase, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGlobalDataBase_ParseLine" "', argument " "1"" of type '" "OpenBabel::OBGlobalDataBase *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGlobalDataBase * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBGlobalDataBase_ParseLine" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); (arg1)->ParseLine((char const *)arg2); ST(argvi) = sv_newmortal();
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap_new_OBElement__SWIG_0) { { int argvi = 0; OpenBabel::OBElement *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_OBElement();"); }  result = (OpenBabel::OBElement *)new OpenBabel::OBElement();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBElement, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBElement__SWIG_1) { { int arg1 ; char *arg2 = (char *) 0 ; double arg3 ; double arg4 ; double arg5 ; int arg6 ;
    double arg7 ; double arg8 ; double arg9 ; double arg10 ; double arg11 ; double arg12 ; double arg13 ; std::string arg14 ;
    int val1 ; int ecode1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; double val3 ; int ecode3 = 0 ; double val4 ;
    int ecode4 = 0 ; double val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; double val7 ; int ecode7 = 0 ; double val8 ;
    int ecode8 = 0 ; double val9 ; int ecode9 = 0 ; double val10 ; int ecode10 = 0 ; double val11 ; int ecode11 = 0 ;
    double val12 ; int ecode12 = 0 ; double val13 ; int ecode13 = 0 ; int argvi = 0; OpenBabel::OBElement *result = 0 ; dXSARGS;
    if ((items < 14) || (items > 14)) {
      SWIG_croak("Usage: new_OBElement(num,sym,ARENeg,rcov,rvdw,maxbo,mass,elNeg,ionize,elAffin,red,green,blue,name);"); } 
    ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1); if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_OBElement" "', argument " "1"" of type '" "int""'"); }  
    arg1 = static_cast< int >(val1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_OBElement" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_OBElement" "', argument " "3"" of type '" "double""'"); }  
    arg3 = static_cast< double >(val3); ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_OBElement" "', argument " "4"" of type '" "double""'"); }  
    arg4 = static_cast< double >(val4); ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_OBElement" "', argument " "5"" of type '" "double""'"); }  
    arg5 = static_cast< double >(val5); ecode6 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(5), &val6); if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_OBElement" "', argument " "6"" of type '" "int""'"); }  
    arg6 = static_cast< int >(val6); ecode7 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(6), &val7); if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_OBElement" "', argument " "7"" of type '" "double""'"); }  
    arg7 = static_cast< double >(val7); ecode8 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(7), &val8);
    if (!SWIG_IsOK(ecode8)) {
      SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_OBElement" "', argument " "8"" of type '" "double""'"); }  
    arg8 = static_cast< double >(val8); ecode9 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(8), &val9);
    if (!SWIG_IsOK(ecode9)) {
      SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_OBElement" "', argument " "9"" of type '" "double""'"); }  
    arg9 = static_cast< double >(val9); ecode10 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(9), &val10);
    if (!SWIG_IsOK(ecode10)) {
      SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "new_OBElement" "', argument " "10"" of type '" "double""'"); }
      arg10 = static_cast< double >(val10); ecode11 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(10), &val11);
    if (!SWIG_IsOK(ecode11)) {
      SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_OBElement" "', argument " "11"" of type '" "double""'"); }
      arg11 = static_cast< double >(val11); ecode12 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(11), &val12);
    if (!SWIG_IsOK(ecode12)) {
      SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "new_OBElement" "', argument " "12"" of type '" "double""'"); }
      arg12 = static_cast< double >(val12); ecode13 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(12), &val13);
    if (!SWIG_IsOK(ecode13)) {
      SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "new_OBElement" "', argument " "13"" of type '" "double""'"); }
      arg13 = static_cast< double >(val13); { std::string *ptr = (std::string *)0;
      int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(13), &ptr); if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_OBElement" "', argument " "14"" of type '" "std::string""'");  }
       arg14 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; } 
    result = (OpenBabel::OBElement *)new OpenBabel::OBElement(arg1,(char const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBElement, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap_new_OBElement) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 14) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(5), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(6), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(7), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(8), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(9), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(10), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(11), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(12), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(13), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBElement__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBElement__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'new_OBElement'"); XSRETURN(0); }
XS(_wrap_OBElement_GetAtomicNum) { { OpenBabel::OBElement *arg1 = (OpenBabel::OBElement *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBElement_GetAtomicNum(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElement, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElement_GetAtomicNum" "', argument " "1"" of type '" "OpenBabel::OBElement *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElement * >(argp1); result = (int)(arg1)->GetAtomicNum();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBElement_GetSymbol) { { OpenBabel::OBElement *arg1 = (OpenBabel::OBElement *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBElement_GetSymbol(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElement, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElement_GetSymbol" "', argument " "1"" of type '" "OpenBabel::OBElement *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElement * >(argp1); result = (char *)(arg1)->GetSymbol();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBElement_GetCovalentRad) { { OpenBabel::OBElement *arg1 = (OpenBabel::OBElement *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBElement_GetCovalentRad(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElement, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElement_GetCovalentRad" "', argument " "1"" of type '" "OpenBabel::OBElement *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElement * >(argp1); result = (double)(arg1)->GetCovalentRad();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBElement_GetVdwRad) { { OpenBabel::OBElement *arg1 = (OpenBabel::OBElement *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBElement_GetVdwRad(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElement, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElement_GetVdwRad" "', argument " "1"" of type '" "OpenBabel::OBElement *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElement * >(argp1); result = (double)(arg1)->GetVdwRad();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBElement_GetMass) { { OpenBabel::OBElement *arg1 = (OpenBabel::OBElement *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBElement_GetMass(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElement, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElement_GetMass" "', argument " "1"" of type '" "OpenBabel::OBElement *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElement * >(argp1); result = (double)(arg1)->GetMass();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBElement_GetMaxBonds) { { OpenBabel::OBElement *arg1 = (OpenBabel::OBElement *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBElement_GetMaxBonds(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElement, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElement_GetMaxBonds" "', argument " "1"" of type '" "OpenBabel::OBElement *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElement * >(argp1); result = (int)(arg1)->GetMaxBonds();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBElement_GetElectroNeg) { { OpenBabel::OBElement *arg1 = (OpenBabel::OBElement *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBElement_GetElectroNeg(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElement, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElement_GetElectroNeg" "', argument " "1"" of type '" "OpenBabel::OBElement *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElement * >(argp1); result = (double)(arg1)->GetElectroNeg();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBElement_GetAllredRochowElectroNeg) { { OpenBabel::OBElement *arg1 = (OpenBabel::OBElement *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBElement_GetAllredRochowElectroNeg(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElement, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElement_GetAllredRochowElectroNeg" "', argument " "1"" of type '" "OpenBabel::OBElement *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElement * >(argp1); result = (double)(arg1)->GetAllredRochowElectroNeg();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBElement_GetIonization) { { OpenBabel::OBElement *arg1 = (OpenBabel::OBElement *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBElement_GetIonization(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElement, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElement_GetIonization" "', argument " "1"" of type '" "OpenBabel::OBElement *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElement * >(argp1); result = (double)(arg1)->GetIonization();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBElement_GetElectronAffinity) { { OpenBabel::OBElement *arg1 = (OpenBabel::OBElement *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBElement_GetElectronAffinity(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElement, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElement_GetElectronAffinity" "', argument " "1"" of type '" "OpenBabel::OBElement *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElement * >(argp1); result = (double)(arg1)->GetElectronAffinity();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBElement_GetName) { { OpenBabel::OBElement *arg1 = (OpenBabel::OBElement *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; std::string result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBElement_GetName(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElement, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElement_GetName" "', argument " "1"" of type '" "OpenBabel::OBElement *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElement * >(argp1); result = (arg1)->GetName();
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBElement_GetRed) { { OpenBabel::OBElement *arg1 = (OpenBabel::OBElement *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBElement_GetRed(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElement, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElement_GetRed" "', argument " "1"" of type '" "OpenBabel::OBElement *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElement * >(argp1); result = (double)(arg1)->GetRed();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBElement_GetGreen) { { OpenBabel::OBElement *arg1 = (OpenBabel::OBElement *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBElement_GetGreen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElement, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElement_GetGreen" "', argument " "1"" of type '" "OpenBabel::OBElement *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElement * >(argp1); result = (double)(arg1)->GetGreen();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBElement_GetBlue) { { OpenBabel::OBElement *arg1 = (OpenBabel::OBElement *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBElement_GetBlue(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElement, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElement_GetBlue" "', argument " "1"" of type '" "OpenBabel::OBElement *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElement * >(argp1); result = (double)(arg1)->GetBlue();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_delete_OBElement) { { OpenBabel::OBElement *arg1 = (OpenBabel::OBElement *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBElement(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElement, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBElement" "', argument " "1"" of type '" "OpenBabel::OBElement *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElement * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_new_OBElementTable) { { int argvi = 0; OpenBabel::OBElementTable *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_OBElementTable();"); } 
    result = (OpenBabel::OBElementTable *)new OpenBabel::OBElementTable();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBElementTable, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBElementTable) { { OpenBabel::OBElementTable *arg1 = (OpenBabel::OBElementTable *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBElementTable(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElementTable, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBElementTable" "', argument " "1"" of type '" "OpenBabel::OBElementTable *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElementTable * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBElementTable_GetNumberOfElements) { { OpenBabel::OBElementTable *arg1 = (OpenBabel::OBElementTable *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBElementTable_GetNumberOfElements(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElementTable, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElementTable_GetNumberOfElements" "', argument " "1"" of type '" "OpenBabel::OBElementTable *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElementTable * >(argp1); result = (unsigned int)(arg1)->GetNumberOfElements();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBElementTable_GetAtomicNum__SWIG_0) { { OpenBabel::OBElementTable *arg1 = (OpenBabel::OBElementTable *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    int result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBElementTable_GetAtomicNum(self,char const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElementTable, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElementTable_GetAtomicNum" "', argument " "1"" of type '" "OpenBabel::OBElementTable *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElementTable * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBElementTable_GetAtomicNum" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); result = (int)(arg1)->GetAtomicNum((char const *)arg2);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap_OBElementTable_GetAtomicNum__SWIG_1) { { OpenBabel::OBElementTable *arg1 = (OpenBabel::OBElementTable *) 0 ;
    char *arg2 = (char *) 0 ; int *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ;
    void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBElementTable_GetAtomicNum(self,char const *,iso);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElementTable, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElementTable_GetAtomicNum" "', argument " "1"" of type '" "OpenBabel::OBElementTable *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElementTable * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBElementTable_GetAtomicNum" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_int,  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBElementTable_GetAtomicNum" "', argument " "3"" of type '" "int &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBElementTable_GetAtomicNum" "', argument " "3"" of type '" "int &""'"); }
     arg3 = reinterpret_cast< int * >(argp3); result = (int)(arg1)->GetAtomicNum((char const *)arg2,*arg3);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap_OBElementTable_GetAtomicNum__SWIG_2) { { OpenBabel::OBElementTable *arg1 = (OpenBabel::OBElementTable *) 0 ;
    std::string arg2 ; int *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0;
    int result; dXSARGS; if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBElementTable_GetAtomicNum(self,name,iso);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElementTable, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElementTable_GetAtomicNum" "', argument " "1"" of type '" "OpenBabel::OBElementTable *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElementTable * >(argp1); { std::string *ptr = (std::string *)0;
      int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "OBElementTable_GetAtomicNum" "', argument " "2"" of type '" "std::string""'");  }
       arg2 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; }  res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_int,  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBElementTable_GetAtomicNum" "', argument " "3"" of type '" "int &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBElementTable_GetAtomicNum" "', argument " "3"" of type '" "int &""'"); }
     arg3 = reinterpret_cast< int * >(argp3); result = (int)(arg1)->GetAtomicNum(arg2,*arg3);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBElementTable_GetAtomicNum) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBElementTable, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBElementTable, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_int, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 3) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBElementTable, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_int, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBElementTable_GetAtomicNum__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBElementTable_GetAtomicNum__SWIG_2); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBElementTable_GetAtomicNum__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBElementTable_GetAtomicNum'"); XSRETURN(0); }
XS(_wrap_OBElementTable_GetSymbol) { { OpenBabel::OBElementTable *arg1 = (OpenBabel::OBElementTable *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBElementTable_GetSymbol(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElementTable, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElementTable_GetSymbol" "', argument " "1"" of type '" "OpenBabel::OBElementTable *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElementTable * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBElementTable_GetSymbol" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (char *)(arg1)->GetSymbol(arg2);
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBElementTable_GetVdwRad) { { OpenBabel::OBElementTable *arg1 = (OpenBabel::OBElementTable *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBElementTable_GetVdwRad(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElementTable, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElementTable_GetVdwRad" "', argument " "1"" of type '" "OpenBabel::OBElementTable *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElementTable * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBElementTable_GetVdwRad" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (double)(arg1)->GetVdwRad(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBElementTable_GetCovalentRad) { { OpenBabel::OBElementTable *arg1 = (OpenBabel::OBElementTable *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBElementTable_GetCovalentRad(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElementTable, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElementTable_GetCovalentRad" "', argument " "1"" of type '" "OpenBabel::OBElementTable *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElementTable * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBElementTable_GetCovalentRad" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (double)(arg1)->GetCovalentRad(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBElementTable_GetMass) { { OpenBabel::OBElementTable *arg1 = (OpenBabel::OBElementTable *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBElementTable_GetMass(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElementTable, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElementTable_GetMass" "', argument " "1"" of type '" "OpenBabel::OBElementTable *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElementTable * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBElementTable_GetMass" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (double)(arg1)->GetMass(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBElementTable_CorrectedBondRad__SWIG_0) { { OpenBabel::OBElementTable *arg1 = (OpenBabel::OBElementTable *) 0 ;
    int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBElementTable_CorrectedBondRad(self,int,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElementTable, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElementTable_CorrectedBondRad" "', argument " "1"" of type '" "OpenBabel::OBElementTable *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElementTable * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBElementTable_CorrectedBondRad" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBElementTable_CorrectedBondRad" "', argument " "3"" of type '" "int""'"); }
      arg3 = static_cast< int >(val3); result = (double)(arg1)->CorrectedBondRad(arg2,arg3);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBElementTable_CorrectedBondRad__SWIG_1) { { OpenBabel::OBElementTable *arg1 = (OpenBabel::OBElementTable *) 0 ;
    int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBElementTable_CorrectedBondRad(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElementTable, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElementTable_CorrectedBondRad" "', argument " "1"" of type '" "OpenBabel::OBElementTable *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElementTable * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBElementTable_CorrectedBondRad" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (double)(arg1)->CorrectedBondRad(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBElementTable_CorrectedBondRad) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBElementTable, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBElementTable, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    dispatch: switch(_index) { case 1: ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBElementTable_CorrectedBondRad__SWIG_1); return;
      case 2: ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBElementTable_CorrectedBondRad__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBElementTable_CorrectedBondRad'"); XSRETURN(0); }
XS(_wrap_OBElementTable_CorrectedVdwRad__SWIG_0) { { OpenBabel::OBElementTable *arg1 = (OpenBabel::OBElementTable *) 0 ;
    int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBElementTable_CorrectedVdwRad(self,int,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElementTable, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElementTable_CorrectedVdwRad" "', argument " "1"" of type '" "OpenBabel::OBElementTable *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElementTable * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBElementTable_CorrectedVdwRad" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBElementTable_CorrectedVdwRad" "', argument " "3"" of type '" "int""'"); }
      arg3 = static_cast< int >(val3); result = (double)(arg1)->CorrectedVdwRad(arg2,arg3);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBElementTable_CorrectedVdwRad__SWIG_1) { { OpenBabel::OBElementTable *arg1 = (OpenBabel::OBElementTable *) 0 ;
    int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBElementTable_CorrectedVdwRad(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElementTable, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElementTable_CorrectedVdwRad" "', argument " "1"" of type '" "OpenBabel::OBElementTable *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElementTable * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBElementTable_CorrectedVdwRad" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (double)(arg1)->CorrectedVdwRad(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBElementTable_CorrectedVdwRad) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBElementTable, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBElementTable, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    dispatch: switch(_index) { case 1: ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBElementTable_CorrectedVdwRad__SWIG_1); return;
      case 2: ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBElementTable_CorrectedVdwRad__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBElementTable_CorrectedVdwRad'"); XSRETURN(0); }
XS(_wrap_OBElementTable_GetMaxBonds) { { OpenBabel::OBElementTable *arg1 = (OpenBabel::OBElementTable *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; int result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBElementTable_GetMaxBonds(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElementTable, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElementTable_GetMaxBonds" "', argument " "1"" of type '" "OpenBabel::OBElementTable *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElementTable * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBElementTable_GetMaxBonds" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (int)(arg1)->GetMaxBonds(arg2);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBElementTable_GetElectroNeg) { { OpenBabel::OBElementTable *arg1 = (OpenBabel::OBElementTable *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBElementTable_GetElectroNeg(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElementTable, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElementTable_GetElectroNeg" "', argument " "1"" of type '" "OpenBabel::OBElementTable *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElementTable * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBElementTable_GetElectroNeg" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (double)(arg1)->GetElectroNeg(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBElementTable_GetAllredRochowElectroNeg) { { OpenBabel::OBElementTable *arg1 = (OpenBabel::OBElementTable *) 0 ;
    int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBElementTable_GetAllredRochowElectroNeg(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElementTable, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElementTable_GetAllredRochowElectroNeg" "', argument " "1"" of type '" "OpenBabel::OBElementTable *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElementTable * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBElementTable_GetAllredRochowElectroNeg" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (double)(arg1)->GetAllredRochowElectroNeg(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBElementTable_GetIonization) { { OpenBabel::OBElementTable *arg1 = (OpenBabel::OBElementTable *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBElementTable_GetIonization(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElementTable, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElementTable_GetIonization" "', argument " "1"" of type '" "OpenBabel::OBElementTable *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElementTable * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBElementTable_GetIonization" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (double)(arg1)->GetIonization(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBElementTable_GetElectronAffinity) { { OpenBabel::OBElementTable *arg1 = (OpenBabel::OBElementTable *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBElementTable_GetElectronAffinity(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElementTable, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElementTable_GetElectronAffinity" "', argument " "1"" of type '" "OpenBabel::OBElementTable *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElementTable * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBElementTable_GetElectronAffinity" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (double)(arg1)->GetElectronAffinity(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBElementTable_GetRGB) { { OpenBabel::OBElementTable *arg1 = (OpenBabel::OBElementTable *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; std::vector< double > result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBElementTable_GetRGB(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElementTable, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElementTable_GetRGB" "', argument " "1"" of type '" "OpenBabel::OBElementTable *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElementTable * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBElementTable_GetRGB" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (arg1)->GetRGB(arg2); { size_t len = (&result)->size(); SV **svs = new SV*[len];
      for (size_t i=0; i<len; i++) { svs[i] = sv_newmortal(); sv_setnv(svs[i], result[i]); }  AV *myav = av_make(len, svs);
      delete[] svs; ST(argvi) = newRV_noinc((SV*) myav); sv_2mortal(ST(argvi)); argvi++; }  XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBElementTable_GetName) { { OpenBabel::OBElementTable *arg1 = (OpenBabel::OBElementTable *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; std::string result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBElementTable_GetName(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElementTable, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElementTable_GetName" "', argument " "1"" of type '" "OpenBabel::OBElementTable *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElementTable * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBElementTable_GetName" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (arg1)->GetName(arg2);
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBIsotopeTable) { { int argvi = 0; OpenBabel::OBIsotopeTable *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_OBIsotopeTable();"); } 
    result = (OpenBabel::OBIsotopeTable *)new OpenBabel::OBIsotopeTable();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBIsotopeTable, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBIsotopeTable) { { OpenBabel::OBIsotopeTable *arg1 = (OpenBabel::OBIsotopeTable *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBIsotopeTable(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBIsotopeTable, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBIsotopeTable" "', argument " "1"" of type '" "OpenBabel::OBIsotopeTable *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBIsotopeTable * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBIsotopeTable_GetExactMass__SWIG_0) { { OpenBabel::OBIsotopeTable *arg1 = (OpenBabel::OBIsotopeTable *) 0 ;
    unsigned int arg2 ; unsigned int arg3 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ;
    unsigned int val3 ; int ecode3 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBIsotopeTable_GetExactMass(self,atomicNum,isotope);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBIsotopeTable, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBIsotopeTable_GetExactMass" "', argument " "1"" of type '" "OpenBabel::OBIsotopeTable *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBIsotopeTable * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBIsotopeTable_GetExactMass" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBIsotopeTable_GetExactMass" "', argument " "3"" of type '" "unsigned int""'"); }
      arg3 = static_cast< unsigned int >(val3); result = (double)(arg1)->GetExactMass(arg2,arg3);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBIsotopeTable_GetExactMass__SWIG_1) { { OpenBabel::OBIsotopeTable *arg1 = (OpenBabel::OBIsotopeTable *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; double result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBIsotopeTable_GetExactMass(self,atomicNum);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBIsotopeTable, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBIsotopeTable_GetExactMass" "', argument " "1"" of type '" "OpenBabel::OBIsotopeTable *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBIsotopeTable * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBIsotopeTable_GetExactMass" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (double)(arg1)->GetExactMass(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBIsotopeTable_GetExactMass) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBIsotopeTable, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBIsotopeTable, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBIsotopeTable_GetExactMass__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBIsotopeTable_GetExactMass__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBIsotopeTable_GetExactMass'"); XSRETURN(0); }
XS(_wrap_new_OBTypeTable) { { int argvi = 0; OpenBabel::OBTypeTable *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_OBTypeTable();"); }  result = (OpenBabel::OBTypeTable *)new OpenBabel::OBTypeTable();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBTypeTable, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBTypeTable) { { OpenBabel::OBTypeTable *arg1 = (OpenBabel::OBTypeTable *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBTypeTable(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBTypeTable, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBTypeTable" "', argument " "1"" of type '" "OpenBabel::OBTypeTable *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBTypeTable * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBTypeTable_SetFromType) { { OpenBabel::OBTypeTable *arg1 = (OpenBabel::OBTypeTable *) 0 ; char *arg2 = (char *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBTypeTable_SetFromType(self,char const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBTypeTable, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBTypeTable_SetFromType" "', argument " "1"" of type '" "OpenBabel::OBTypeTable *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBTypeTable * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBTypeTable_SetFromType" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); result = (bool)(arg1)->SetFromType((char const *)arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap_OBTypeTable_SetToType) { { OpenBabel::OBTypeTable *arg1 = (OpenBabel::OBTypeTable *) 0 ; char *arg2 = (char *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBTypeTable_SetToType(self,char const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBTypeTable, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBTypeTable_SetToType" "', argument " "1"" of type '" "OpenBabel::OBTypeTable *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBTypeTable * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBTypeTable_SetToType" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); result = (bool)(arg1)->SetToType((char const *)arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap_OBTypeTable_Translate__SWIG_0) { { OpenBabel::OBTypeTable *arg1 = (OpenBabel::OBTypeTable *) 0 ;
    char *arg2 = (char *) 0 ; char *arg3 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ;
    int alloc2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBTypeTable_Translate(self,to,from);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBTypeTable, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBTypeTable_Translate" "', argument " "1"" of type '" "OpenBabel::OBTypeTable *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBTypeTable * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBTypeTable_Translate" "', argument " "2"" of type '" "char *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBTypeTable_Translate" "', argument " "3"" of type '" "char const *""'"); }
     arg3 = reinterpret_cast< char * >(buf3); result = (bool)(arg1)->Translate(arg2,(char const *)arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; XSRETURN(argvi); fail:
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; SWIG_croak_null(); }  }
XS(_wrap_OBTypeTable_Translate__SWIG_1) { { OpenBabel::OBTypeTable *arg1 = (OpenBabel::OBTypeTable *) 0 ;
    std::string *arg2 = 0 ; std::string *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int res3 = SWIG_OLDOBJ ; int argvi = 0; bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBTypeTable_Translate(self,to,from);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBTypeTable, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBTypeTable_Translate" "', argument " "1"" of type '" "OpenBabel::OBTypeTable *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBTypeTable * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__string,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBTypeTable_Translate" "', argument " "2"" of type '" "std::string &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBTypeTable_Translate" "', argument " "2"" of type '" "std::string &""'"); }
     arg2 = reinterpret_cast< std::string * >(argp2); { std::string *ptr = (std::string *)0;
      res3 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), &ptr); if (!SWIG_IsOK(res3)) {
        SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBTypeTable_Translate" "', argument " "3"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBTypeTable_Translate" "', argument " "3"" of type '" "std::string const &""'"); }
       arg3 = ptr; }  result = (bool)(arg1)->Translate(*arg2,(std::string const &)*arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (SWIG_IsNewObj(res3)) delete arg3; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res3)) delete arg3; SWIG_croak_null(); }  }
XS(_wrap_OBTypeTable_Translate__SWIG_2) { { OpenBabel::OBTypeTable *arg1 = (OpenBabel::OBTypeTable *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; std::string result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBTypeTable_Translate(self,from);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBTypeTable, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBTypeTable_Translate" "', argument " "1"" of type '" "OpenBabel::OBTypeTable *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBTypeTable * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBTypeTable_Translate" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBTypeTable_Translate" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  result = (arg1)->Translate((std::string const &)*arg2);
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap_OBTypeTable_Translate) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBTypeTable, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBTypeTable, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_std__string, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBTypeTable, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { int res = SWIG_AsCharPtrAndSize(ST(2), 0, NULL, 0);
        _v = SWIG_CheckState(res);}  if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3:
    dispatch: switch(_index) { case 1: ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBTypeTable_Translate__SWIG_2); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBTypeTable_Translate__SWIG_1); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBTypeTable_Translate__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBTypeTable_Translate'"); XSRETURN(0); }
XS(_wrap_OBTypeTable_GetFromType) { { OpenBabel::OBTypeTable *arg1 = (OpenBabel::OBTypeTable *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::string result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBTypeTable_GetFromType(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBTypeTable, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBTypeTable_GetFromType" "', argument " "1"" of type '" "OpenBabel::OBTypeTable *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBTypeTable * >(argp1); result = (arg1)->GetFromType();
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBTypeTable_GetToType) { { OpenBabel::OBTypeTable *arg1 = (OpenBabel::OBTypeTable *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::string result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBTypeTable_GetToType(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBTypeTable, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBTypeTable_GetToType" "', argument " "1"" of type '" "OpenBabel::OBTypeTable *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBTypeTable * >(argp1); result = (arg1)->GetToType();
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBResidueData) { { int argvi = 0; OpenBabel::OBResidueData *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_OBResidueData();"); }  result = (OpenBabel::OBResidueData *)new OpenBabel::OBResidueData();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBResidueData, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidueData_SetResName) { { OpenBabel::OBResidueData *arg1 = (OpenBabel::OBResidueData *) 0 ; std::string *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBResidueData_SetResName(self,std::string const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueData_SetResName" "', argument " "1"" of type '" "OpenBabel::OBResidueData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueData * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidueData_SetResName" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBResidueData_SetResName" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  result = (bool)(arg1)->SetResName((std::string const &)*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap_OBResidueData_LookupBO__SWIG_0) { { OpenBabel::OBResidueData *arg1 = (OpenBabel::OBResidueData *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; int result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBResidueData_LookupBO(self,std::string const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueData_LookupBO" "', argument " "1"" of type '" "OpenBabel::OBResidueData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueData * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidueData_LookupBO" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBResidueData_LookupBO" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  result = (int)(arg1)->LookupBO((std::string const &)*arg2);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap_OBResidueData_LookupBO__SWIG_1) { { OpenBabel::OBResidueData *arg1 = (OpenBabel::OBResidueData *) 0 ;
    std::string *arg2 = 0 ; std::string *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ;
    int res3 = SWIG_OLDOBJ ; int argvi = 0; int result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBResidueData_LookupBO(self,std::string const &,std::string const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueData_LookupBO" "', argument " "1"" of type '" "OpenBabel::OBResidueData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueData * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidueData_LookupBO" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBResidueData_LookupBO" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  { std::string *ptr = (std::string *)0; res3 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), &ptr);
      if (!SWIG_IsOK(res3)) {
        SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBResidueData_LookupBO" "', argument " "3"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBResidueData_LookupBO" "', argument " "3"" of type '" "std::string const &""'"); }
       arg3 = ptr; }  result = (int)(arg1)->LookupBO((std::string const &)*arg2,(std::string const &)*arg3);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; if (SWIG_IsNewObj(res3)) delete arg3; XSRETURN(argvi); fail:
    if (SWIG_IsNewObj(res2)) delete arg2; if (SWIG_IsNewObj(res3)) delete arg3; SWIG_croak_null(); }  }
XS(_wrap_OBResidueData_LookupBO) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBResidueData_LookupBO__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBResidueData_LookupBO__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBResidueData_LookupBO'"); XSRETURN(0); }
XS(_wrap_OBResidueData_LookupType) { { OpenBabel::OBResidueData *arg1 = (OpenBabel::OBResidueData *) 0 ; std::string *arg2 = 0 ;
    std::string *arg3 = 0 ; int *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; void *argp3 = 0 ;
    int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: OBResidueData_LookupType(self,std::string const &,std::string &,int &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueData_LookupType" "', argument " "1"" of type '" "OpenBabel::OBResidueData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueData * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidueData_LookupType" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBResidueData_LookupType" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_std__string,  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBResidueData_LookupType" "', argument " "3"" of type '" "std::string &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBResidueData_LookupType" "', argument " "3"" of type '" "std::string &""'"); }
     arg3 = reinterpret_cast< std::string * >(argp3); res4 = SWIG_ConvertPtr(ST(3), &argp4, SWIGTYPE_p_int,  0 );
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBResidueData_LookupType" "', argument " "4"" of type '" "int &""'");  }
     if (!argp4) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBResidueData_LookupType" "', argument " "4"" of type '" "int &""'"); }
     arg4 = reinterpret_cast< int * >(argp4); result = (bool)(arg1)->LookupType((std::string const &)*arg2,*arg3,*arg4);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap_OBResidueData_AssignBonds) { { OpenBabel::OBResidueData *arg1 = (OpenBabel::OBResidueData *) 0 ;
    OpenBabel::OBMol *arg2 = 0 ; OpenBabel::OBBitVec *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBResidueData_AssignBonds(self,OpenBabel::OBMol &,OpenBabel::OBBitVec &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueData_AssignBonds" "', argument " "1"" of type '" "OpenBabel::OBResidueData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueData * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidueData_AssignBonds" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBResidueData_AssignBonds" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_OpenBabel__OBBitVec,  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBResidueData_AssignBonds" "', argument " "3"" of type '" "OpenBabel::OBBitVec &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBResidueData_AssignBonds" "', argument " "3"" of type '" "OpenBabel::OBBitVec &""'"); }
     arg3 = reinterpret_cast< OpenBabel::OBBitVec * >(argp3); result = (bool)(arg1)->AssignBonds(*arg2,*arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_delete_OBResidueData) { { OpenBabel::OBResidueData *arg1 = (OpenBabel::OBResidueData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBResidueData(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueData, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBResidueData" "', argument " "1"" of type '" "OpenBabel::OBResidueData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueData * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_DoubleType_hi_set) { { OpenBabel::DoubleType *arg1 = (OpenBabel::DoubleType *) 0 ; unsigned int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: DoubleType_hi_set(self,hi);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__DoubleType, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleType_hi_set" "', argument " "1"" of type '" "OpenBabel::DoubleType *""'");  }
     arg1 = reinterpret_cast< OpenBabel::DoubleType * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleType_hi_set" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); if (arg1) (arg1)->hi = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_DoubleType_hi_get) { { OpenBabel::DoubleType *arg1 = (OpenBabel::DoubleType *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: DoubleType_hi_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__DoubleType, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleType_hi_get" "', argument " "1"" of type '" "OpenBabel::DoubleType *""'");  }
     arg1 = reinterpret_cast< OpenBabel::DoubleType * >(argp1); result = (unsigned int) ((arg1)->hi);
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_DoubleType_lo_set) { { OpenBabel::DoubleType *arg1 = (OpenBabel::DoubleType *) 0 ; unsigned int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: DoubleType_lo_set(self,lo);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__DoubleType, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleType_lo_set" "', argument " "1"" of type '" "OpenBabel::DoubleType *""'");  }
     arg1 = reinterpret_cast< OpenBabel::DoubleType * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleType_lo_set" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); if (arg1) (arg1)->lo = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_DoubleType_lo_get) { { OpenBabel::DoubleType *arg1 = (OpenBabel::DoubleType *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: DoubleType_lo_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__DoubleType, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleType_lo_get" "', argument " "1"" of type '" "OpenBabel::DoubleType *""'");  }
     arg1 = reinterpret_cast< OpenBabel::DoubleType * >(argp1); result = (unsigned int) ((arg1)->lo);
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_DoubleType) { { int argvi = 0; OpenBabel::DoubleType *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_DoubleType();"); }  result = (OpenBabel::DoubleType *)new OpenBabel::DoubleType();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__DoubleType, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_DoubleType) { { OpenBabel::DoubleType *arg1 = (OpenBabel::DoubleType *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_DoubleType(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__DoubleType, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleType" "', argument " "1"" of type '" "OpenBabel::DoubleType *""'");  }
     arg1 = reinterpret_cast< OpenBabel::DoubleType * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_DoubleMultiply) { { unsigned int arg1 ; unsigned int arg2 ; OpenBabel::DoubleType *arg3 = (OpenBabel::DoubleType *) 0 ;
    unsigned int val1 ; int ecode1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: DoubleMultiply(unsigned int,unsigned int,OpenBabel::DoubleType *);"); } 
    ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1); if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "DoubleMultiply" "', argument " "1"" of type '" "unsigned int""'"); }
      arg1 = static_cast< unsigned int >(val1); ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleMultiply" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__DoubleType, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleMultiply" "', argument " "3"" of type '" "OpenBabel::DoubleType *""'");  }
     arg3 = reinterpret_cast< OpenBabel::DoubleType * >(argp3); OpenBabel::DoubleMultiply(arg1,arg2,arg3);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_DoubleAdd) { { OpenBabel::DoubleType *arg1 = (OpenBabel::DoubleType *) 0 ; unsigned int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: DoubleAdd(OpenBabel::DoubleType *,unsigned int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__DoubleType, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAdd" "', argument " "1"" of type '" "OpenBabel::DoubleType *""'");  }
     arg1 = reinterpret_cast< OpenBabel::DoubleType * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleAdd" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); OpenBabel::DoubleAdd(arg1,arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_DoubleModulus) { { OpenBabel::DoubleType *arg1 = (OpenBabel::DoubleType *) 0 ; unsigned int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; unsigned int result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: DoubleModulus(OpenBabel::DoubleType *,unsigned int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__DoubleType, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleModulus" "', argument " "1"" of type '" "OpenBabel::DoubleType *""'");  }
     arg1 = reinterpret_cast< OpenBabel::DoubleType * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleModulus" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (unsigned int)OpenBabel::DoubleModulus(arg1,arg2);
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBRandom__SWIG_0) { { bool arg1 ; bool val1 ; int ecode1 = 0 ; int argvi = 0; OpenBabel::OBRandom *result = 0 ;
    dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: new_OBRandom(useSys);"); } 
    ecode1 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(0), &val1); if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_OBRandom" "', argument " "1"" of type '" "bool""'"); }  
    arg1 = static_cast< bool >(val1); result = (OpenBabel::OBRandom *)new OpenBabel::OBRandom(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBRandom, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBRandom__SWIG_1) { { int argvi = 0; OpenBabel::OBRandom *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_OBRandom();"); }  result = (OpenBabel::OBRandom *)new OpenBabel::OBRandom();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBRandom, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBRandom) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { { int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(0), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    dispatch: switch(_index) { case 1: ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBRandom__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBRandom__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'new_OBRandom'"); XSRETURN(0); }
XS(_wrap_OBRandom_Seed) { { OpenBabel::OBRandom *arg1 = (OpenBabel::OBRandom *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ;
    int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBRandom_Seed(self,seed);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRandom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRandom_Seed" "', argument " "1"" of type '" "OpenBabel::OBRandom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRandom * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBRandom_Seed" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); (arg1)->Seed(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }
   }
XS(_wrap_OBRandom_TimeSeed) { { OpenBabel::OBRandom *arg1 = (OpenBabel::OBRandom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBRandom_TimeSeed(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRandom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRandom_TimeSeed" "', argument " "1"" of type '" "OpenBabel::OBRandom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRandom * >(argp1); (arg1)->TimeSeed(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBRandom_NextInt) { { OpenBabel::OBRandom *arg1 = (OpenBabel::OBRandom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBRandom_NextInt(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRandom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRandom_NextInt" "', argument " "1"" of type '" "OpenBabel::OBRandom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRandom * >(argp1); result = (int)(arg1)->NextInt();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRandom_NextFloat) { { OpenBabel::OBRandom *arg1 = (OpenBabel::OBRandom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBRandom_NextFloat(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRandom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRandom_NextFloat" "', argument " "1"" of type '" "OpenBabel::OBRandom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRandom * >(argp1); result = (double)(arg1)->NextFloat();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_delete_OBRandom) { { OpenBabel::OBRandom *arg1 = (OpenBabel::OBRandom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBRandom(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRandom, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBRandom" "', argument " "1"" of type '" "OpenBabel::OBRandom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRandom * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBStopwatch_Start) { { OpenBabel::OBStopwatch *arg1 = (OpenBabel::OBStopwatch *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBStopwatch_Start(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBStopwatch, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBStopwatch_Start" "', argument " "1"" of type '" "OpenBabel::OBStopwatch *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBStopwatch * >(argp1); (arg1)->Start(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBStopwatch_Lap) { { OpenBabel::OBStopwatch *arg1 = (OpenBabel::OBStopwatch *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBStopwatch_Lap(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBStopwatch, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBStopwatch_Lap" "', argument " "1"" of type '" "OpenBabel::OBStopwatch *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBStopwatch * >(argp1); result = (double)(arg1)->Lap();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBStopwatch_Elapsed) { { OpenBabel::OBStopwatch *arg1 = (OpenBabel::OBStopwatch *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBStopwatch_Elapsed(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBStopwatch, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBStopwatch_Elapsed" "', argument " "1"" of type '" "OpenBabel::OBStopwatch *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBStopwatch * >(argp1); result = (double)(arg1)->Elapsed();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_new_OBStopwatch) { { int argvi = 0; OpenBabel::OBStopwatch *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_OBStopwatch();"); }  result = (OpenBabel::OBStopwatch *)new OpenBabel::OBStopwatch();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBStopwatch, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBStopwatch) { { OpenBabel::OBStopwatch *arg1 = (OpenBabel::OBStopwatch *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBStopwatch(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBStopwatch, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBStopwatch" "', argument " "1"" of type '" "OpenBabel::OBStopwatch *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBStopwatch * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_new_OBSqrtTbl__SWIG_0) { { int argvi = 0; OpenBabel::OBSqrtTbl *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_OBSqrtTbl();"); }  result = (OpenBabel::OBSqrtTbl *)new OpenBabel::OBSqrtTbl();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBSqrtTbl, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBSqrtTbl__SWIG_1) { { double arg1 ; double arg2 ; double val1 ; int ecode1 = 0 ; double val2 ; int ecode2 = 0 ;
    int argvi = 0; OpenBabel::OBSqrtTbl *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: new_OBSqrtTbl(max,incr);"); }  ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
    if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_OBSqrtTbl" "', argument " "1"" of type '" "double""'"); }  
    arg1 = static_cast< double >(val1); ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_OBSqrtTbl" "', argument " "2"" of type '" "double""'"); }  
    arg2 = static_cast< double >(val2); result = (OpenBabel::OBSqrtTbl *)new OpenBabel::OBSqrtTbl(arg1,arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBSqrtTbl, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBSqrtTbl) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { { int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBSqrtTbl__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBSqrtTbl__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'new_OBSqrtTbl'"); XSRETURN(0); }
XS(_wrap_delete_OBSqrtTbl) { { OpenBabel::OBSqrtTbl *arg1 = (OpenBabel::OBSqrtTbl *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBSqrtTbl(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSqrtTbl, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBSqrtTbl" "', argument " "1"" of type '" "OpenBabel::OBSqrtTbl *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSqrtTbl * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBSqrtTbl_Sqrt) { { OpenBabel::OBSqrtTbl *arg1 = (OpenBabel::OBSqrtTbl *) 0 ; double arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; double val2 ; int ecode2 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBSqrtTbl_Sqrt(self,d2);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSqrtTbl, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSqrtTbl_Sqrt" "', argument " "1"" of type '" "OpenBabel::OBSqrtTbl const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSqrtTbl * >(argp1); ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBSqrtTbl_Sqrt" "', argument " "2"" of type '" "double""'"); }  
    arg2 = static_cast< double >(val2); result = (double)((OpenBabel::OBSqrtTbl const *)arg1)->Sqrt(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBSqrtTbl_Init) { { OpenBabel::OBSqrtTbl *arg1 = (OpenBabel::OBSqrtTbl *) 0 ; double arg2 ; double arg3 ;
    void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBSqrtTbl_Init(self,max,incr);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSqrtTbl, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSqrtTbl_Init" "', argument " "1"" of type '" "OpenBabel::OBSqrtTbl *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSqrtTbl * >(argp1); ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBSqrtTbl_Init" "', argument " "2"" of type '" "double""'"); }  
    arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBSqrtTbl_Init" "', argument " "3"" of type '" "double""'"); }  
    arg3 = static_cast< double >(val3); (arg1)->Init(arg2,arg3); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_rotate_coords) { { double *arg1 = (double *) 0 ; double (*arg2)[3] ; unsigned int arg3 ; void *argp1 = 0 ;
    int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; unsigned int val3 ; int ecode3 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: rotate_coords(double *,m,unsigned int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rotate_coords" "', argument " "1"" of type '" "double *""'");  } 
    arg1 = reinterpret_cast< double * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_a_3__double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "rotate_coords" "', argument " "2"" of type '" "double [3][3]""'");  }
      arg2 = reinterpret_cast< double (*)[3] >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "rotate_coords" "', argument " "3"" of type '" "unsigned int""'"); }
      arg3 = static_cast< unsigned int >(val3); OpenBabel::rotate_coords(arg1,(double (*)[3])arg2,arg3);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_calc_rms) { { double *arg1 = (double *) 0 ; double *arg2 = (double *) 0 ; unsigned int arg3 ; void *argp1 = 0 ;
    int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; unsigned int val3 ; int ecode3 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: calc_rms(double *,double *,unsigned int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "calc_rms" "', argument " "1"" of type '" "double *""'");  } 
    arg1 = reinterpret_cast< double * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "calc_rms" "', argument " "2"" of type '" "double *""'");  } 
    arg2 = reinterpret_cast< double * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "calc_rms" "', argument " "3"" of type '" "unsigned int""'"); }  
    arg3 = static_cast< unsigned int >(val3); result = (double)OpenBabel::calc_rms(arg1,arg2,arg3);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_new_vector3__SWIG_0) { { double arg1 ; double arg2 ; double arg3 ; double val1 ; int ecode1 = 0 ; double val2 ;
    int ecode2 = 0 ; double val3 ; int ecode3 = 0 ; int argvi = 0; OpenBabel::vector3 *result = 0 ; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: new_vector3(inX,inY,inZ);"); } 
    ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1); if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector3" "', argument " "1"" of type '" "double""'"); }  
    arg1 = static_cast< double >(val1); ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_vector3" "', argument " "2"" of type '" "double""'"); }  
    arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_vector3" "', argument " "3"" of type '" "double""'"); }  
    arg3 = static_cast< double >(val3); result = (OpenBabel::vector3 *)new OpenBabel::vector3(arg1,arg2,arg3);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__vector3, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_vector3__SWIG_1) { { double arg1 ; double arg2 ; double val1 ; int ecode1 = 0 ; double val2 ; int ecode2 = 0 ;
    int argvi = 0; OpenBabel::vector3 *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: new_vector3(inX,inY);"); }  ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
    if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector3" "', argument " "1"" of type '" "double""'"); }  
    arg1 = static_cast< double >(val1); ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_vector3" "', argument " "2"" of type '" "double""'"); }  
    arg2 = static_cast< double >(val2); result = (OpenBabel::vector3 *)new OpenBabel::vector3(arg1,arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__vector3, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_vector3__SWIG_2) { { double arg1 ; double val1 ; int ecode1 = 0 ; int argvi = 0; OpenBabel::vector3 *result = 0 ;
    dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: new_vector3(inX);"); } 
    ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1); if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector3" "', argument " "1"" of type '" "double""'"); }  
    arg1 = static_cast< double >(val1); result = (OpenBabel::vector3 *)new OpenBabel::vector3(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__vector3, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_vector3__SWIG_3) { { int argvi = 0; OpenBabel::vector3 *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_vector3();"); }  result = (OpenBabel::vector3 *)new OpenBabel::vector3();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__vector3, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_vector3__SWIG_4) { { double *arg1 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    OpenBabel::vector3 *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: new_vector3(inV);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector3" "', argument " "1"" of type '" "double [3]""'");  }  
    arg1 = reinterpret_cast< double * >(argp1); result = (OpenBabel::vector3 *)new OpenBabel::vector3(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__vector3, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_vector3__SWIG_5) { { OpenBabel::vector3 *arg1 = 0 ; void *argp1 ; int res1 = 0 ; int argvi = 0;
    OpenBabel::vector3 *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: new_vector3(v);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector3" "', argument " "1"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_vector3" "', argument " "1"" of type '" "OpenBabel::vector3 const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1);
    result = (OpenBabel::vector3 *)new OpenBabel::vector3((OpenBabel::vector3 const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__vector3, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_vector3) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0; int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_double, 0);
        _v = SWIG_CheckState(res);}  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_4;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 4;
        if (_rank == _rankm) goto dispatch; }  }  check_4: if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { { int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_5; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_5;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 5;
        if (_rank == _rankm) goto dispatch; }  }  check_5: if (items == 3) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { { int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_6; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_6;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_6;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 6;
        if (_rank == _rankm) goto dispatch; }  }  check_6: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_vector3__SWIG_3); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_vector3__SWIG_4); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_vector3__SWIG_5); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_vector3__SWIG_2); return; case 5:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_vector3__SWIG_1); return; case 6:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_vector3__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'new_vector3'"); XSRETURN(0); }
XS(_wrap_delete_vector3) { { OpenBabel::vector3 *arg1 = (OpenBabel::vector3 *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_vector3(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__vector3, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_vector3" "', argument " "1"" of type '" "OpenBabel::vector3 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_vector3_Set__SWIG_0) { { OpenBabel::vector3 *arg1 = (OpenBabel::vector3 *) 0 ; double arg2 ; double arg3 ;
    double arg4 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 0 ; double val4 ;
    int ecode4 = 0 ; int argvi = 0; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: vector3_Set(self,inX,inY,inZ);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__vector3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector3_Set" "', argument " "1"" of type '" "OpenBabel::vector3 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1); ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector3_Set" "', argument " "2"" of type '" "double""'"); }  
    arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector3_Set" "', argument " "3"" of type '" "double""'"); }  
    arg3 = static_cast< double >(val3); ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "vector3_Set" "', argument " "4"" of type '" "double""'"); }  
    arg4 = static_cast< double >(val4); (arg1)->Set(arg2,arg3,arg4); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_vector3_Set__SWIG_1) { { OpenBabel::vector3 *arg1 = (OpenBabel::vector3 *) 0 ; double *arg2 = (double *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: vector3_Set(self,c);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__vector3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector3_Set" "', argument " "1"" of type '" "OpenBabel::vector3 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector3_Set" "', argument " "2"" of type '" "double const *""'");  }
     arg2 = reinterpret_cast< double * >(argp2); (arg1)->Set((double const *)arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_vector3_Set) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 4) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_vector3_Set__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_vector3_Set__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'vector3_Set'"); XSRETURN(0); }
XS(_wrap_vector3_SetX) { { OpenBabel::vector3 *arg1 = (OpenBabel::vector3 *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ;
    double val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: vector3_SetX(self,inX);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__vector3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector3_SetX" "', argument " "1"" of type '" "OpenBabel::vector3 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1); ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector3_SetX" "', argument " "2"" of type '" "double""'"); }  
    arg2 = static_cast< double >(val2); (arg1)->SetX(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_vector3_SetY) { { OpenBabel::vector3 *arg1 = (OpenBabel::vector3 *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ;
    double val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: vector3_SetY(self,inY);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__vector3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector3_SetY" "', argument " "1"" of type '" "OpenBabel::vector3 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1); ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector3_SetY" "', argument " "2"" of type '" "double""'"); }  
    arg2 = static_cast< double >(val2); (arg1)->SetY(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_vector3_SetZ) { { OpenBabel::vector3 *arg1 = (OpenBabel::vector3 *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ;
    double val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: vector3_SetZ(self,inZ);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__vector3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector3_SetZ" "', argument " "1"" of type '" "OpenBabel::vector3 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1); ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector3_SetZ" "', argument " "2"" of type '" "double""'"); }  
    arg2 = static_cast< double >(val2); (arg1)->SetZ(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_vector3_GetX) { { OpenBabel::vector3 *arg1 = (OpenBabel::vector3 *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    double result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: vector3_GetX(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__vector3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector3_GetX" "', argument " "1"" of type '" "OpenBabel::vector3 const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1); result = (double)((OpenBabel::vector3 const *)arg1)->GetX();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_vector3_GetY) { { OpenBabel::vector3 *arg1 = (OpenBabel::vector3 *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    double result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: vector3_GetY(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__vector3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector3_GetY" "', argument " "1"" of type '" "OpenBabel::vector3 const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1); result = (double)((OpenBabel::vector3 const *)arg1)->GetY();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_vector3_GetZ) { { OpenBabel::vector3 *arg1 = (OpenBabel::vector3 *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    double result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: vector3_GetZ(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__vector3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector3_GetZ" "', argument " "1"" of type '" "OpenBabel::vector3 const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1); result = (double)((OpenBabel::vector3 const *)arg1)->GetZ();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_vector3_Get) { { OpenBabel::vector3 *arg1 = (OpenBabel::vector3 *) 0 ; double *arg2 = (double *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: vector3_Get(self,c);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__vector3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector3_Get" "', argument " "1"" of type '" "OpenBabel::vector3 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector3_Get" "', argument " "2"" of type '" "double *""'");  } 
    arg2 = reinterpret_cast< double * >(argp2); (arg1)->Get(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_vector3_idx) { { OpenBabel::vector3 *arg1 = (OpenBabel::vector3 *) 0 ; unsigned int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: vector3_idx(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__vector3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector3_idx" "', argument " "1"" of type '" "OpenBabel::vector3 const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector3_idx" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (double)((OpenBabel::vector3 const *)arg1)->operator [](arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_vector3_AsArray) { { OpenBabel::vector3 *arg1 = (OpenBabel::vector3 *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: vector3_AsArray(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__vector3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector3_AsArray" "', argument " "1"" of type '" "OpenBabel::vector3 const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1); result = (double *)((OpenBabel::vector3 const *)arg1)->AsArray();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_vector3_add__SWIG_0) { { OpenBabel::vector3 *arg1 = (OpenBabel::vector3 *) 0 ; OpenBabel::vector3 *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; int argvi = 0; OpenBabel::vector3 *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: vector3_add(self,v);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__vector3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector3_add" "', argument " "1"" of type '" "OpenBabel::vector3 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector3_add" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector3_add" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2);
    result = (OpenBabel::vector3 *) &(arg1)->operator +=((OpenBabel::vector3 const &)*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__vector3, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_vector3_add__SWIG_1) { { OpenBabel::vector3 *arg1 = (OpenBabel::vector3 *) 0 ; double *arg2 = (double *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; OpenBabel::vector3 *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: vector3_add(self,f);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__vector3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector3_add" "', argument " "1"" of type '" "OpenBabel::vector3 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector3_add" "', argument " "2"" of type '" "double const *""'");  }
     arg2 = reinterpret_cast< double * >(argp2); result = (OpenBabel::vector3 *) &(arg1)->operator +=((double const *)arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__vector3, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_vector3_add) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_vector3_add__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_vector3_add__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'vector3_add'"); XSRETURN(0); }
XS(_wrap_vector3_randomUnitVector__SWIG_0) { { OpenBabel::vector3 *arg1 = (OpenBabel::vector3 *) 0 ;
    OpenBabel::OBRandom *arg2 = (OpenBabel::OBRandom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: vector3_randomUnitVector(self,oeRand);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__vector3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector3_randomUnitVector" "', argument " "1"" of type '" "OpenBabel::vector3 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBRandom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector3_randomUnitVector" "', argument " "2"" of type '" "OpenBabel::OBRandom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBRandom * >(argp2); (arg1)->randomUnitVector(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_vector3_randomUnitVector__SWIG_1) { { OpenBabel::vector3 *arg1 = (OpenBabel::vector3 *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: vector3_randomUnitVector(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__vector3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector3_randomUnitVector" "', argument " "1"" of type '" "OpenBabel::vector3 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1); (arg1)->randomUnitVector(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_vector3_randomUnitVector) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBRandom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_vector3_randomUnitVector__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_vector3_randomUnitVector__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'vector3_randomUnitVector'"); XSRETURN(0); }
XS(_wrap_vector3_normalize) { { OpenBabel::vector3 *arg1 = (OpenBabel::vector3 *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::vector3 *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: vector3_normalize(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__vector3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector3_normalize" "', argument " "1"" of type '" "OpenBabel::vector3 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1); result = (OpenBabel::vector3 *) &(arg1)->normalize();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__vector3, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_vector3_CanBeNormalized) { { OpenBabel::vector3 *arg1 = (OpenBabel::vector3 *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: vector3_CanBeNormalized(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__vector3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector3_CanBeNormalized" "', argument " "1"" of type '" "OpenBabel::vector3 const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1);
    result = (bool)((OpenBabel::vector3 const *)arg1)->CanBeNormalized();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_vector3_length_2) { { OpenBabel::vector3 *arg1 = (OpenBabel::vector3 *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: vector3_length_2(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__vector3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector3_length_2" "', argument " "1"" of type '" "OpenBabel::vector3 const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1); result = (double)((OpenBabel::vector3 const *)arg1)->length_2();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_vector3_length) { { OpenBabel::vector3 *arg1 = (OpenBabel::vector3 *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: vector3_length(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__vector3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector3_length" "', argument " "1"" of type '" "OpenBabel::vector3 const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1); result = (double)((OpenBabel::vector3 const *)arg1)->length();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_vector3_x__SWIG_0) { { OpenBabel::vector3 *arg1 = (OpenBabel::vector3 *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: vector3_x(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__vector3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector3_x" "', argument " "1"" of type '" "OpenBabel::vector3 const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1); result = (double *) &((OpenBabel::vector3 const *)arg1)->x();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(*result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_vector3_y__SWIG_0) { { OpenBabel::vector3 *arg1 = (OpenBabel::vector3 *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: vector3_y(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__vector3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector3_y" "', argument " "1"" of type '" "OpenBabel::vector3 const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1); result = (double *) &((OpenBabel::vector3 const *)arg1)->y();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(*result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_vector3_z__SWIG_0) { { OpenBabel::vector3 *arg1 = (OpenBabel::vector3 *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: vector3_z(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__vector3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector3_z" "', argument " "1"" of type '" "OpenBabel::vector3 const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1); result = (double *) &((OpenBabel::vector3 const *)arg1)->z();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(*result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_vector3_x__SWIG_1) { { OpenBabel::vector3 *arg1 = (OpenBabel::vector3 *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: vector3_x(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__vector3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector3_x" "', argument " "1"" of type '" "OpenBabel::vector3 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1); result = (double *) &(arg1)->x();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_vector3_x) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) { SWIG_TypeRank _ranki = 0;
      SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_vector3_x__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_vector3_x__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'vector3_x'"); XSRETURN(0); }
XS(_wrap_vector3_y__SWIG_1) { { OpenBabel::vector3 *arg1 = (OpenBabel::vector3 *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: vector3_y(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__vector3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector3_y" "', argument " "1"" of type '" "OpenBabel::vector3 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1); result = (double *) &(arg1)->y();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_vector3_y) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) { SWIG_TypeRank _ranki = 0;
      SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_vector3_y__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_vector3_y__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'vector3_y'"); XSRETURN(0); }
XS(_wrap_vector3_z__SWIG_1) { { OpenBabel::vector3 *arg1 = (OpenBabel::vector3 *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: vector3_z(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__vector3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector3_z" "', argument " "1"" of type '" "OpenBabel::vector3 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1); result = (double *) &(arg1)->z();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_vector3_z) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) { SWIG_TypeRank _ranki = 0;
      SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_vector3_z__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_vector3_z__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'vector3_z'"); XSRETURN(0); }
XS(_wrap_vector3___eq__) { { OpenBabel::vector3 *arg1 = (OpenBabel::vector3 *) 0 ; OpenBabel::vector3 *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; int argvi = 0; int result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: vector3___eq__(self,OpenBabel::vector3 const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__vector3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector3___eq__" "', argument " "1"" of type '" "OpenBabel::vector3 const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector3___eq__" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector3___eq__" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2);
    result = (int)((OpenBabel::vector3 const *)arg1)->operator ==((OpenBabel::vector3 const &)*arg2);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_vector3_IsApprox) { { OpenBabel::vector3 *arg1 = (OpenBabel::vector3 *) 0 ; OpenBabel::vector3 *arg2 = 0 ;
    double *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; double temp3 ; double val3 ;
    int ecode3 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: vector3_IsApprox(self,other,precision);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__vector3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector3_IsApprox" "', argument " "1"" of type '" "OpenBabel::vector3 const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector3_IsApprox" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector3_IsApprox" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector3_IsApprox" "', argument " "3"" of type '" "double""'"); }
      temp3 = static_cast< double >(val3); arg3 = &temp3;
    result = (bool)((OpenBabel::vector3 const *)arg1)->IsApprox((OpenBabel::vector3 const &)*arg2,(double const &)*arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_vector3_distSq) { { OpenBabel::vector3 *arg1 = (OpenBabel::vector3 *) 0 ; OpenBabel::vector3 *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: vector3_distSq(self,vv);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__vector3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector3_distSq" "', argument " "1"" of type '" "OpenBabel::vector3 const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector3_distSq" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector3_distSq" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2);
    result = (double)((OpenBabel::vector3 const *)arg1)->distSq((OpenBabel::vector3 const &)*arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_vector3_createOrthoVector) { { OpenBabel::vector3 *arg1 = (OpenBabel::vector3 *) 0 ; OpenBabel::vector3 *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: vector3_createOrthoVector(self,v);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__vector3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector3_createOrthoVector" "', argument " "1"" of type '" "OpenBabel::vector3 const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector3_createOrthoVector" "', argument " "2"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector3_createOrthoVector" "', argument " "2"" of type '" "OpenBabel::vector3 &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2);
    result = (bool)((OpenBabel::vector3 const *)arg1)->createOrthoVector(*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap___lshift__) { { std::ostream *arg1 = 0 ; OpenBabel::vector3 *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ;
    int res2 = 0 ; int argvi = 0; std::ostream *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: __lshift__(std::ostream &,OpenBabel::vector3 const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_std__ostream,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "__lshift__" "', argument " "1"" of type '" "std::ostream &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "__lshift__" "', argument " "1"" of type '" "std::ostream &""'"); }
     arg1 = reinterpret_cast< std::ostream * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "__lshift__" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "__lshift__" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2);
    result = (std::ostream *) &OpenBabel::operator <<(*arg1,(OpenBabel::vector3 const &)*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__ostream, 0 | 0); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap___add__) { { OpenBabel::vector3 *arg1 = 0 ; OpenBabel::vector3 *arg2 = 0 ; void *argp1 ; int res1 = 0 ; void *argp2 ;
    int res2 = 0 ; int argvi = 0; OpenBabel::vector3 result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: __add__(v1,v2);"); }  res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__vector3,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "__add__" "', argument " "1"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "__add__" "', argument " "1"" of type '" "OpenBabel::vector3 const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "__add__" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "__add__" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2);
    result = OpenBabel::operator +((OpenBabel::vector3 const &)*arg1,(OpenBabel::vector3 const &)*arg2);
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::vector3(static_cast< const OpenBabel::vector3& >(result))), SWIGTYPE_p_OpenBabel__vector3, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap___sub____SWIG_0) { { OpenBabel::vector3 *arg1 = 0 ; OpenBabel::vector3 *arg2 = 0 ; void *argp1 ; int res1 = 0 ;
    void *argp2 ; int res2 = 0 ; int argvi = 0; OpenBabel::vector3 result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: __sub__(v1,v2);"); }  res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__vector3,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "__sub__" "', argument " "1"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "__sub__" "', argument " "1"" of type '" "OpenBabel::vector3 const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "__sub__" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "__sub__" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2);
    result = OpenBabel::operator -((OpenBabel::vector3 const &)*arg1,(OpenBabel::vector3 const &)*arg2);
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::vector3(static_cast< const OpenBabel::vector3& >(result))), SWIGTYPE_p_OpenBabel__vector3, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap___sub____SWIG_1) { { OpenBabel::vector3 *arg1 = 0 ; void *argp1 ; int res1 = 0 ; int argvi = 0;
    OpenBabel::vector3 result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: __sub__(v);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "__sub__" "', argument " "1"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "__sub__" "', argument " "1"" of type '" "OpenBabel::vector3 const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1); result = OpenBabel::operator -((OpenBabel::vector3 const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::vector3(static_cast< const OpenBabel::vector3& >(result))), SWIGTYPE_p_OpenBabel__vector3, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap___sub__) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) { SWIG_TypeRank _ranki = 0;
      SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap___sub____SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap___sub____SWIG_0); return; }  } 
  croak("No matching function for overloaded '__sub__'"); XSRETURN(0); }
XS(_wrap___mul____SWIG_0) { { double *arg1 = 0 ; OpenBabel::vector3 *arg2 = 0 ; double temp1 ; double val1 ; int ecode1 = 0 ;
    void *argp2 ; int res2 = 0 ; int argvi = 0; OpenBabel::vector3 result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: __mul__(c,v);"); }  ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
    if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "__mul__" "', argument " "1"" of type '" "double""'"); }  
    temp1 = static_cast< double >(val1); arg1 = &temp1;
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "__mul__" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "__mul__" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2);
    result = OpenBabel::operator *((double const &)*arg1,(OpenBabel::vector3 const &)*arg2);
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::vector3(static_cast< const OpenBabel::vector3& >(result))), SWIGTYPE_p_OpenBabel__vector3, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap___mul____SWIG_1) { { OpenBabel::vector3 *arg1 = 0 ; double *arg2 = 0 ; void *argp1 ; int res1 = 0 ; double temp2 ;
    double val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::vector3 result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: __mul__(v,c);"); }  res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__vector3,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "__mul__" "', argument " "1"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "__mul__" "', argument " "1"" of type '" "OpenBabel::vector3 const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1); ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "__mul__" "', argument " "2"" of type '" "double""'"); }  
    temp2 = static_cast< double >(val2); arg2 = &temp2;
    result = OpenBabel::operator *((OpenBabel::vector3 const &)*arg1,(double const &)*arg2);
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::vector3(static_cast< const OpenBabel::vector3& >(result))), SWIGTYPE_p_OpenBabel__vector3, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap___div__) { { OpenBabel::vector3 *arg1 = 0 ; double *arg2 = 0 ; void *argp1 ; int res1 = 0 ; double temp2 ;
    double val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::vector3 result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: __div__(v,c);"); }  res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__vector3,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "__div__" "', argument " "1"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "__div__" "', argument " "1"" of type '" "OpenBabel::vector3 const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1); ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "__div__" "', argument " "2"" of type '" "double""'"); }  
    temp2 = static_cast< double >(val2); arg2 = &temp2;
    result = OpenBabel::operator /((OpenBabel::vector3 const &)*arg1,(double const &)*arg2);
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::vector3(static_cast< const OpenBabel::vector3& >(result))), SWIGTYPE_p_OpenBabel__vector3, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap___mul____SWIG_2) { { OpenBabel::matrix3x3 *arg1 = 0 ; OpenBabel::vector3 *arg2 = 0 ; void *argp1 ; int res1 = 0 ;
    void *argp2 ; int res2 = 0 ; int argvi = 0; OpenBabel::vector3 result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: __mul__(m,v);"); }  res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__matrix3x3,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "__mul__" "', argument " "1"" of type '" "OpenBabel::matrix3x3 const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "__mul__" "', argument " "1"" of type '" "OpenBabel::matrix3x3 const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::matrix3x3 * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "__mul__" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "__mul__" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2);
    result = OpenBabel::operator *((OpenBabel::matrix3x3 const &)*arg1,(OpenBabel::vector3 const &)*arg2);
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::vector3(static_cast< const OpenBabel::vector3& >(result))), SWIGTYPE_p_OpenBabel__vector3, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap___mul__) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) { SWIG_TypeRank _ranki = 0;
      SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__matrix3x3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap___mul____SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap___mul____SWIG_2); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap___mul____SWIG_0); return; }  } 
  croak("No matching function for overloaded '__mul__'"); XSRETURN(0); }
XS(_wrap_dot) { { OpenBabel::vector3 *arg1 = 0 ; OpenBabel::vector3 *arg2 = 0 ; void *argp1 ; int res1 = 0 ; void *argp2 ;
    int res2 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: dot(v1,v2);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dot" "', argument " "1"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dot" "', argument " "1"" of type '" "OpenBabel::vector3 const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dot" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dot" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2);
    result = (double)OpenBabel::dot((OpenBabel::vector3 const &)*arg1,(OpenBabel::vector3 const &)*arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_cross) { { OpenBabel::vector3 *arg1 = 0 ; OpenBabel::vector3 *arg2 = 0 ; void *argp1 ; int res1 = 0 ; void *argp2 ;
    int res2 = 0 ; int argvi = 0; OpenBabel::vector3 result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: cross(OpenBabel::vector3 const &,OpenBabel::vector3 const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "cross" "', argument " "1"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "cross" "', argument " "1"" of type '" "OpenBabel::vector3 const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "cross" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "cross" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2);
    result = OpenBabel::cross((OpenBabel::vector3 const &)*arg1,(OpenBabel::vector3 const &)*arg2);
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::vector3(static_cast< const OpenBabel::vector3& >(result))), SWIGTYPE_p_OpenBabel__vector3, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_vectorAngle) { { OpenBabel::vector3 *arg1 = 0 ; OpenBabel::vector3 *arg2 = 0 ; void *argp1 ; int res1 = 0 ;
    void *argp2 ; int res2 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: vectorAngle(v1,v2);"); }  res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__vector3,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectorAngle" "', argument " "1"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vectorAngle" "', argument " "1"" of type '" "OpenBabel::vector3 const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vectorAngle" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vectorAngle" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2);
    result = (double)OpenBabel::vectorAngle((OpenBabel::vector3 const &)*arg1,(OpenBabel::vector3 const &)*arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_CalcTorsionAngle) { { OpenBabel::vector3 *arg1 = 0 ; OpenBabel::vector3 *arg2 = 0 ; OpenBabel::vector3 *arg3 = 0 ;
    OpenBabel::vector3 *arg4 = 0 ; void *argp1 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; void *argp3 ; int res3 = 0 ;
    void *argp4 ; int res4 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: CalcTorsionAngle(a,b,c,d);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalcTorsionAngle" "', argument " "1"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CalcTorsionAngle" "', argument " "1"" of type '" "OpenBabel::vector3 const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CalcTorsionAngle" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CalcTorsionAngle" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CalcTorsionAngle" "', argument " "3"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CalcTorsionAngle" "', argument " "3"" of type '" "OpenBabel::vector3 const &""'"); }
     arg3 = reinterpret_cast< OpenBabel::vector3 * >(argp3);
    res4 = SWIG_ConvertPtr(ST(3), &argp4, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CalcTorsionAngle" "', argument " "4"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp4) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CalcTorsionAngle" "', argument " "4"" of type '" "OpenBabel::vector3 const &""'"); }
     arg4 = reinterpret_cast< OpenBabel::vector3 * >(argp4);
    result = (double)OpenBabel::CalcTorsionAngle((OpenBabel::vector3 const &)*arg1,(OpenBabel::vector3 const &)*arg2,(OpenBabel::vector3 const &)*arg3,(OpenBabel::vector3 const &)*arg4);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_Point2PlaneSigned) { { OpenBabel::vector3 arg1 ; OpenBabel::vector3 arg2 ; OpenBabel::vector3 arg3 ;
    OpenBabel::vector3 arg4 ; void *argp1 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; void *argp3 ; int res3 = 0 ;
    void *argp4 ; int res4 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: Point2PlaneSigned(a,b,c,d);"); }  {
      res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res1)) {
        SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Point2PlaneSigned" "', argument " "1"" of type '" "OpenBabel::vector3""'");  }
         if (!argp1) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Point2PlaneSigned" "', argument " "1"" of type '" "OpenBabel::vector3""'"); }
       else { arg1 = *(reinterpret_cast< OpenBabel::vector3 * >(argp1)); }  }  {
      res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Point2PlaneSigned" "', argument " "2"" of type '" "OpenBabel::vector3""'");  }
         if (!argp2) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Point2PlaneSigned" "', argument " "2"" of type '" "OpenBabel::vector3""'"); }
       else { arg2 = *(reinterpret_cast< OpenBabel::vector3 * >(argp2)); }  }  {
      res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res3)) {
        SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Point2PlaneSigned" "', argument " "3"" of type '" "OpenBabel::vector3""'");  }
         if (!argp3) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Point2PlaneSigned" "', argument " "3"" of type '" "OpenBabel::vector3""'"); }
       else { arg3 = *(reinterpret_cast< OpenBabel::vector3 * >(argp3)); }  }  {
      res4 = SWIG_ConvertPtr(ST(3), &argp4, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res4)) {
        SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Point2PlaneSigned" "', argument " "4"" of type '" "OpenBabel::vector3""'");  }
         if (!argp4) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Point2PlaneSigned" "', argument " "4"" of type '" "OpenBabel::vector3""'"); }
       else { arg4 = *(reinterpret_cast< OpenBabel::vector3 * >(argp4)); }  } 
    result = (double)OpenBabel::Point2PlaneSigned(arg1,arg2,arg3,arg4);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_Point2Plane) { { OpenBabel::vector3 arg1 ; OpenBabel::vector3 arg2 ; OpenBabel::vector3 arg3 ;
    OpenBabel::vector3 arg4 ; void *argp1 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; void *argp3 ; int res3 = 0 ;
    void *argp4 ; int res4 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: Point2Plane(a,b,c,d);"); }  {
      res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res1)) {
        SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Point2Plane" "', argument " "1"" of type '" "OpenBabel::vector3""'");  }
         if (!argp1) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Point2Plane" "', argument " "1"" of type '" "OpenBabel::vector3""'"); }
       else { arg1 = *(reinterpret_cast< OpenBabel::vector3 * >(argp1)); }  }  {
      res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Point2Plane" "', argument " "2"" of type '" "OpenBabel::vector3""'");  }
         if (!argp2) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Point2Plane" "', argument " "2"" of type '" "OpenBabel::vector3""'"); }
       else { arg2 = *(reinterpret_cast< OpenBabel::vector3 * >(argp2)); }  }  {
      res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res3)) {
        SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Point2Plane" "', argument " "3"" of type '" "OpenBabel::vector3""'");  }
         if (!argp3) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Point2Plane" "', argument " "3"" of type '" "OpenBabel::vector3""'"); }
       else { arg3 = *(reinterpret_cast< OpenBabel::vector3 * >(argp3)); }  }  {
      res4 = SWIG_ConvertPtr(ST(3), &argp4, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res4)) {
        SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Point2Plane" "', argument " "4"" of type '" "OpenBabel::vector3""'");  }
         if (!argp4) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Point2Plane" "', argument " "4"" of type '" "OpenBabel::vector3""'"); }
       else { arg4 = *(reinterpret_cast< OpenBabel::vector3 * >(argp4)); }  } 
    result = (double)OpenBabel::Point2Plane(arg1,arg2,arg3,arg4);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_Point2PlaneAngle) { { OpenBabel::vector3 arg1 ; OpenBabel::vector3 arg2 ; OpenBabel::vector3 arg3 ;
    OpenBabel::vector3 arg4 ; void *argp1 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; void *argp3 ; int res3 = 0 ;
    void *argp4 ; int res4 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: Point2PlaneAngle(a,b,c,d);"); }  {
      res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res1)) {
        SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Point2PlaneAngle" "', argument " "1"" of type '" "OpenBabel::vector3 const""'");  }
         if (!argp1) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Point2PlaneAngle" "', argument " "1"" of type '" "OpenBabel::vector3 const""'"); }
       else { arg1 = *(reinterpret_cast< OpenBabel::vector3 * >(argp1)); }  }  {
      res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Point2PlaneAngle" "', argument " "2"" of type '" "OpenBabel::vector3 const""'");  }
         if (!argp2) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Point2PlaneAngle" "', argument " "2"" of type '" "OpenBabel::vector3 const""'"); }
       else { arg2 = *(reinterpret_cast< OpenBabel::vector3 * >(argp2)); }  }  {
      res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res3)) {
        SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Point2PlaneAngle" "', argument " "3"" of type '" "OpenBabel::vector3 const""'");  }
         if (!argp3) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Point2PlaneAngle" "', argument " "3"" of type '" "OpenBabel::vector3 const""'"); }
       else { arg3 = *(reinterpret_cast< OpenBabel::vector3 * >(argp3)); }  }  {
      res4 = SWIG_ConvertPtr(ST(3), &argp4, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res4)) {
        SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Point2PlaneAngle" "', argument " "4"" of type '" "OpenBabel::vector3 const""'");  }
         if (!argp4) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Point2PlaneAngle" "', argument " "4"" of type '" "OpenBabel::vector3 const""'"); }
       else { arg4 = *(reinterpret_cast< OpenBabel::vector3 * >(argp4)); }  } 
    result = (double)OpenBabel::Point2PlaneAngle(arg1,arg2,arg3,arg4);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_Point2Line) { { OpenBabel::vector3 *arg1 = 0 ; OpenBabel::vector3 *arg2 = 0 ; OpenBabel::vector3 *arg3 = 0 ;
    void *argp1 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; void *argp3 ; int res3 = 0 ; int argvi = 0; double result;
    dXSARGS; if ((items < 3) || (items > 3)) { SWIG_croak("Usage: Point2Line(a,b,c);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Point2Line" "', argument " "1"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Point2Line" "', argument " "1"" of type '" "OpenBabel::vector3 const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Point2Line" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Point2Line" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Point2Line" "', argument " "3"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Point2Line" "', argument " "3"" of type '" "OpenBabel::vector3 const &""'"); }
     arg3 = reinterpret_cast< OpenBabel::vector3 * >(argp3);
    result = (double)OpenBabel::Point2Line((OpenBabel::vector3 const &)*arg1,(OpenBabel::vector3 const &)*arg2,(OpenBabel::vector3 const &)*arg3);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_new_matrix3x3__SWIG_0) { { int argvi = 0; OpenBabel::matrix3x3 *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_matrix3x3();"); }  result = (OpenBabel::matrix3x3 *)new OpenBabel::matrix3x3();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__matrix3x3, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_matrix3x3__SWIG_1) { { double arg1 ; double val1 ; int ecode1 = 0 ; int argvi = 0;
    OpenBabel::matrix3x3 *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: new_matrix3x3(s);"); } 
    ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1); if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_matrix3x3" "', argument " "1"" of type '" "double""'"); }  
    arg1 = static_cast< double >(val1); result = (OpenBabel::matrix3x3 *)new OpenBabel::matrix3x3(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__matrix3x3, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_matrix3x3__SWIG_2) { { OpenBabel::vector3 arg1 ; OpenBabel::vector3 arg2 ; OpenBabel::vector3 arg3 ; void *argp1 ;
    int res1 = 0 ; void *argp2 ; int res2 = 0 ; void *argp3 ; int res3 = 0 ; int argvi = 0; OpenBabel::matrix3x3 *result = 0 ;
    dXSARGS; if ((items < 3) || (items > 3)) { SWIG_croak("Usage: new_matrix3x3(row1,row2,row3);"); }  {
      res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res1)) {
        SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_matrix3x3" "', argument " "1"" of type '" "OpenBabel::vector3""'");  }
         if (!argp1) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_matrix3x3" "', argument " "1"" of type '" "OpenBabel::vector3""'"); }
       else { arg1 = *(reinterpret_cast< OpenBabel::vector3 * >(argp1)); }  }  {
      res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_matrix3x3" "', argument " "2"" of type '" "OpenBabel::vector3""'");  }
         if (!argp2) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_matrix3x3" "', argument " "2"" of type '" "OpenBabel::vector3""'"); }
       else { arg2 = *(reinterpret_cast< OpenBabel::vector3 * >(argp2)); }  }  {
      res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res3)) {
        SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_matrix3x3" "', argument " "3"" of type '" "OpenBabel::vector3""'");  }
         if (!argp3) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_matrix3x3" "', argument " "3"" of type '" "OpenBabel::vector3""'"); }
       else { arg3 = *(reinterpret_cast< OpenBabel::vector3 * >(argp3)); }  } 
    result = (OpenBabel::matrix3x3 *)new OpenBabel::matrix3x3(arg1,arg2,arg3);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__matrix3x3, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_matrix3x3__SWIG_3) { { double (*arg1)[3] ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    OpenBabel::matrix3x3 *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: new_matrix3x3(d);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_a_3__double, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_matrix3x3" "', argument " "1"" of type '" "double [3][3]""'");  }
      arg1 = reinterpret_cast< double (*)[3] >(argp1);
    result = (OpenBabel::matrix3x3 *)new OpenBabel::matrix3x3((double (*)[3])arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__matrix3x3, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_matrix3x3) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0; int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_a_3__double, 0);
        _v = SWIG_CheckState(res);}  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 3) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_matrix3x3__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_matrix3x3__SWIG_3); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_matrix3x3__SWIG_1); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_matrix3x3__SWIG_2); return; }  } 
  croak("No matching function for overloaded 'new_matrix3x3'"); XSRETURN(0); }
XS(_wrap_delete_matrix3x3) { { OpenBabel::matrix3x3 *arg1 = (OpenBabel::matrix3x3 *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_matrix3x3(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__matrix3x3, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_matrix3x3" "', argument " "1"" of type '" "OpenBabel::matrix3x3 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::matrix3x3 * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_matrix3x3_GetArray) { { OpenBabel::matrix3x3 *arg1 = (OpenBabel::matrix3x3 *) 0 ; double *arg2 = (double *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: matrix3x3_GetArray(self,m);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__matrix3x3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "matrix3x3_GetArray" "', argument " "1"" of type '" "OpenBabel::matrix3x3 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::matrix3x3 * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "matrix3x3_GetArray" "', argument " "2"" of type '" "double *""'");  }
     arg2 = reinterpret_cast< double * >(argp2); (arg1)->GetArray(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_matrix3x3___call____SWIG_0) { { OpenBabel::matrix3x3 *arg1 = (OpenBabel::matrix3x3 *) 0 ; int arg2 ; int arg3 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int argvi = 0; double *result = 0 ;
    dXSARGS; if ((items < 3) || (items > 3)) { SWIG_croak("Usage: matrix3x3___call__(self,row,column);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__matrix3x3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "matrix3x3___call__" "', argument " "1"" of type '" "OpenBabel::matrix3x3 const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::matrix3x3 * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "matrix3x3___call__" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "matrix3x3___call__" "', argument " "3"" of type '" "int""'"); }
      arg3 = static_cast< int >(val3); result = (double *) &((OpenBabel::matrix3x3 const *)arg1)->operator ()(arg2,arg3);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(*result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_matrix3x3___call____SWIG_1) { { OpenBabel::matrix3x3 *arg1 = (OpenBabel::matrix3x3 *) 0 ; int arg2 ; int arg3 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int argvi = 0; double *result = 0 ;
    dXSARGS; if ((items < 3) || (items > 3)) { SWIG_croak("Usage: matrix3x3___call__(self,row,column);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__matrix3x3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "matrix3x3___call__" "', argument " "1"" of type '" "OpenBabel::matrix3x3 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::matrix3x3 * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "matrix3x3___call__" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "matrix3x3___call__" "', argument " "3"" of type '" "int""'"); }
      arg3 = static_cast< int >(val3); result = (double *) &(arg1)->operator ()(arg2,arg3);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_matrix3x3___call__) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__matrix3x3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1:
    if (items == 3) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__matrix3x3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    dispatch: switch(_index) { case 1: ++PL_markstack_ptr; SWIG_CALLXS(_wrap_matrix3x3___call____SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_matrix3x3___call____SWIG_0); return; }  } 
  croak("No matching function for overloaded 'matrix3x3___call__'"); XSRETURN(0); }
XS(_wrap_matrix3x3_inverse) { { OpenBabel::matrix3x3 *arg1 = (OpenBabel::matrix3x3 *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::matrix3x3 result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: matrix3x3_inverse(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__matrix3x3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "matrix3x3_inverse" "', argument " "1"" of type '" "OpenBabel::matrix3x3 const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::matrix3x3 * >(argp1); result = ((OpenBabel::matrix3x3 const *)arg1)->inverse();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::matrix3x3(static_cast< const OpenBabel::matrix3x3& >(result))), SWIGTYPE_p_OpenBabel__matrix3x3, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_matrix3x3_transpose) { { OpenBabel::matrix3x3 *arg1 = (OpenBabel::matrix3x3 *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::matrix3x3 result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: matrix3x3_transpose(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__matrix3x3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "matrix3x3_transpose" "', argument " "1"" of type '" "OpenBabel::matrix3x3 const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::matrix3x3 * >(argp1); result = ((OpenBabel::matrix3x3 const *)arg1)->transpose();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::matrix3x3(static_cast< const OpenBabel::matrix3x3& >(result))), SWIGTYPE_p_OpenBabel__matrix3x3, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_matrix3x3_randomRotation) { { OpenBabel::matrix3x3 *arg1 = (OpenBabel::matrix3x3 *) 0 ; OpenBabel::OBRandom *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: matrix3x3_randomRotation(self,rnd);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__matrix3x3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "matrix3x3_randomRotation" "', argument " "1"" of type '" "OpenBabel::matrix3x3 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::matrix3x3 * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBRandom,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "matrix3x3_randomRotation" "', argument " "2"" of type '" "OpenBabel::OBRandom &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "matrix3x3_randomRotation" "', argument " "2"" of type '" "OpenBabel::OBRandom &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBRandom * >(argp2); (arg1)->randomRotation(*arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_matrix3x3_determinant) { { OpenBabel::matrix3x3 *arg1 = (OpenBabel::matrix3x3 *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: matrix3x3_determinant(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__matrix3x3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "matrix3x3_determinant" "', argument " "1"" of type '" "OpenBabel::matrix3x3 const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::matrix3x3 * >(argp1);
    result = (double)((OpenBabel::matrix3x3 const *)arg1)->determinant();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_matrix3x3_isSymmetric) { { OpenBabel::matrix3x3 *arg1 = (OpenBabel::matrix3x3 *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: matrix3x3_isSymmetric(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__matrix3x3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "matrix3x3_isSymmetric" "', argument " "1"" of type '" "OpenBabel::matrix3x3 const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::matrix3x3 * >(argp1);
    result = (bool)((OpenBabel::matrix3x3 const *)arg1)->isSymmetric();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_matrix3x3_isOrthogonal) { { OpenBabel::matrix3x3 *arg1 = (OpenBabel::matrix3x3 *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: matrix3x3_isOrthogonal(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__matrix3x3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "matrix3x3_isOrthogonal" "', argument " "1"" of type '" "OpenBabel::matrix3x3 const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::matrix3x3 * >(argp1);
    result = (bool)((OpenBabel::matrix3x3 const *)arg1)->isOrthogonal();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_matrix3x3_isDiagonal) { { OpenBabel::matrix3x3 *arg1 = (OpenBabel::matrix3x3 *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: matrix3x3_isDiagonal(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__matrix3x3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "matrix3x3_isDiagonal" "', argument " "1"" of type '" "OpenBabel::matrix3x3 const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::matrix3x3 * >(argp1);
    result = (bool)((OpenBabel::matrix3x3 const *)arg1)->isDiagonal();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_matrix3x3_isUnitMatrix) { { OpenBabel::matrix3x3 *arg1 = (OpenBabel::matrix3x3 *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: matrix3x3_isUnitMatrix(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__matrix3x3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "matrix3x3_isUnitMatrix" "', argument " "1"" of type '" "OpenBabel::matrix3x3 const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::matrix3x3 * >(argp1);
    result = (bool)((OpenBabel::matrix3x3 const *)arg1)->isUnitMatrix();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_matrix3x3_Get) { { OpenBabel::matrix3x3 *arg1 = (OpenBabel::matrix3x3 *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ;
    int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: matrix3x3_Get(self,row,column);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__matrix3x3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "matrix3x3_Get" "', argument " "1"" of type '" "OpenBabel::matrix3x3 const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::matrix3x3 * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "matrix3x3_Get" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "matrix3x3_Get" "', argument " "3"" of type '" "int""'"); }  
    arg3 = static_cast< int >(val3); result = (double)((OpenBabel::matrix3x3 const *)arg1)->Get(arg2,arg3);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_matrix3x3_Set) { { OpenBabel::matrix3x3 *arg1 = (OpenBabel::matrix3x3 *) 0 ; int arg2 ; int arg3 ; double arg4 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; double val4 ; int ecode4 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 4) || (items > 4)) { SWIG_croak("Usage: matrix3x3_Set(self,row,column,v);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__matrix3x3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "matrix3x3_Set" "', argument " "1"" of type '" "OpenBabel::matrix3x3 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::matrix3x3 * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "matrix3x3_Set" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "matrix3x3_Set" "', argument " "3"" of type '" "int""'"); }  
    arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4); if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "matrix3x3_Set" "', argument " "4"" of type '" "double""'"); }  
    arg4 = static_cast< double >(val4); (arg1)->Set(arg2,arg3,arg4); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_matrix3x3_SetColumn) { { OpenBabel::matrix3x3 *arg1 = (OpenBabel::matrix3x3 *) 0 ; int arg2 ;
    OpenBabel::vector3 *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; void *argp3 ; int res3 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) { SWIG_croak("Usage: matrix3x3_SetColumn(self,column,v);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__matrix3x3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "matrix3x3_SetColumn" "', argument " "1"" of type '" "OpenBabel::matrix3x3 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::matrix3x3 * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "matrix3x3_SetColumn" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_OpenBabel__vector3,  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "matrix3x3_SetColumn" "', argument " "3"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "matrix3x3_SetColumn" "', argument " "3"" of type '" "OpenBabel::vector3 const &""'"); }
     arg3 = reinterpret_cast< OpenBabel::vector3 * >(argp3); (arg1)->SetColumn(arg2,(OpenBabel::vector3 const &)*arg3);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_matrix3x3_SetRow) { { OpenBabel::matrix3x3 *arg1 = (OpenBabel::matrix3x3 *) 0 ; int arg2 ;
    OpenBabel::vector3 *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; void *argp3 ; int res3 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) { SWIG_croak("Usage: matrix3x3_SetRow(self,row,v);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__matrix3x3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "matrix3x3_SetRow" "', argument " "1"" of type '" "OpenBabel::matrix3x3 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::matrix3x3 * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "matrix3x3_SetRow" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_OpenBabel__vector3,  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "matrix3x3_SetRow" "', argument " "3"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "matrix3x3_SetRow" "', argument " "3"" of type '" "OpenBabel::vector3 const &""'"); }
     arg3 = reinterpret_cast< OpenBabel::vector3 * >(argp3); (arg1)->SetRow(arg2,(OpenBabel::vector3 const &)*arg3);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_matrix3x3_GetColumn) { { OpenBabel::matrix3x3 *arg1 = (OpenBabel::matrix3x3 *) 0 ; unsigned int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::vector3 result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: matrix3x3_GetColumn(self,col);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__matrix3x3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "matrix3x3_GetColumn" "', argument " "1"" of type '" "OpenBabel::matrix3x3 const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::matrix3x3 * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "matrix3x3_GetColumn" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = ((OpenBabel::matrix3x3 const *)arg1)->GetColumn(arg2);
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::vector3(static_cast< const OpenBabel::vector3& >(result))), SWIGTYPE_p_OpenBabel__vector3, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_matrix3x3_GetRow) { { OpenBabel::matrix3x3 *arg1 = (OpenBabel::matrix3x3 *) 0 ; unsigned int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::vector3 result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: matrix3x3_GetRow(self,row);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__matrix3x3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "matrix3x3_GetRow" "', argument " "1"" of type '" "OpenBabel::matrix3x3 const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::matrix3x3 * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "matrix3x3_GetRow" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = ((OpenBabel::matrix3x3 const *)arg1)->GetRow(arg2);
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::vector3(static_cast< const OpenBabel::vector3& >(result))), SWIGTYPE_p_OpenBabel__vector3, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_matrix3x3_SetupRotMat) { { OpenBabel::matrix3x3 *arg1 = (OpenBabel::matrix3x3 *) 0 ; double arg2 ; double arg3 ;
    double arg4 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 0 ; double val4 ;
    int ecode4 = 0 ; int argvi = 0; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: matrix3x3_SetupRotMat(self,x,y,z);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__matrix3x3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "matrix3x3_SetupRotMat" "', argument " "1"" of type '" "OpenBabel::matrix3x3 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::matrix3x3 * >(argp1); ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "matrix3x3_SetupRotMat" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "matrix3x3_SetupRotMat" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "matrix3x3_SetupRotMat" "', argument " "4"" of type '" "double""'"); }
      arg4 = static_cast< double >(val4); (arg1)->SetupRotMat(arg2,arg3,arg4); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_matrix3x3_PlaneReflection) { { OpenBabel::matrix3x3 *arg1 = (OpenBabel::matrix3x3 *) 0 ; OpenBabel::vector3 *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: matrix3x3_PlaneReflection(self,norm);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__matrix3x3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "matrix3x3_PlaneReflection" "', argument " "1"" of type '" "OpenBabel::matrix3x3 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::matrix3x3 * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "matrix3x3_PlaneReflection" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "matrix3x3_PlaneReflection" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2); (arg1)->PlaneReflection((OpenBabel::vector3 const &)*arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_matrix3x3_RotAboutAxisByAngle) { { OpenBabel::matrix3x3 *arg1 = (OpenBabel::matrix3x3 *) 0 ;
    OpenBabel::vector3 *arg2 = 0 ; double arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; double val3 ;
    int ecode3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: matrix3x3_RotAboutAxisByAngle(self,axis,angle);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__matrix3x3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "matrix3x3_RotAboutAxisByAngle" "', argument " "1"" of type '" "OpenBabel::matrix3x3 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::matrix3x3 * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "matrix3x3_RotAboutAxisByAngle" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "matrix3x3_RotAboutAxisByAngle" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "matrix3x3_RotAboutAxisByAngle" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); (arg1)->RotAboutAxisByAngle((OpenBabel::vector3 const &)*arg2,arg3);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_matrix3x3_FillOrth) { { OpenBabel::matrix3x3 *arg1 = (OpenBabel::matrix3x3 *) 0 ; double arg2 ; double arg3 ;
    double arg4 ; double arg5 ; double arg6 ; double arg7 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ;
    double val3 ; int ecode3 = 0 ; double val4 ; int ecode4 = 0 ; double val5 ; int ecode5 = 0 ; double val6 ; int ecode6 = 0 ;
    double val7 ; int ecode7 = 0 ; int argvi = 0; dXSARGS; if ((items < 7) || (items > 7)) {
      SWIG_croak("Usage: matrix3x3_FillOrth(self,alpha,beta,gamma,a,b,c);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__matrix3x3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "matrix3x3_FillOrth" "', argument " "1"" of type '" "OpenBabel::matrix3x3 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::matrix3x3 * >(argp1); ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "matrix3x3_FillOrth" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "matrix3x3_FillOrth" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "matrix3x3_FillOrth" "', argument " "4"" of type '" "double""'"); }
      arg4 = static_cast< double >(val4); ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "matrix3x3_FillOrth" "', argument " "5"" of type '" "double""'"); }
      arg5 = static_cast< double >(val5); ecode6 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(5), &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "matrix3x3_FillOrth" "', argument " "6"" of type '" "double""'"); }
      arg6 = static_cast< double >(val6); ecode7 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(6), &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "matrix3x3_FillOrth" "', argument " "7"" of type '" "double""'"); }
      arg7 = static_cast< double >(val7); (arg1)->FillOrth(arg2,arg3,arg4,arg5,arg6,arg7); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_matrix3x3_findEigenvectorsIfSymmetric) { { OpenBabel::matrix3x3 *arg1 = (OpenBabel::matrix3x3 *) 0 ;
    OpenBabel::vector3 *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    OpenBabel::matrix3x3 result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: matrix3x3_findEigenvectorsIfSymmetric(self,eigenvals);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__matrix3x3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "matrix3x3_findEigenvectorsIfSymmetric" "', argument " "1"" of type '" "OpenBabel::matrix3x3 const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::matrix3x3 * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "matrix3x3_findEigenvectorsIfSymmetric" "', argument " "2"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "matrix3x3_findEigenvectorsIfSymmetric" "', argument " "2"" of type '" "OpenBabel::vector3 &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2);
    result = ((OpenBabel::matrix3x3 const *)arg1)->findEigenvectorsIfSymmetric(*arg2);
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::matrix3x3(static_cast< const OpenBabel::matrix3x3& >(result))), SWIGTYPE_p_OpenBabel__matrix3x3, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_matrix3x3_jacobi) { { unsigned int arg1 ; double *arg2 = (double *) 0 ; double *arg3 = (double *) 0 ;
    double *arg4 = (double *) 0 ; unsigned int val1 ; int ecode1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ;
    int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; int argvi = 0; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: matrix3x3_jacobi(n,a,d,v);"); } 
    ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1); if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "matrix3x3_jacobi" "', argument " "1"" of type '" "unsigned int""'"); }
      arg1 = static_cast< unsigned int >(val1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "matrix3x3_jacobi" "', argument " "2"" of type '" "double *""'");  }
     arg2 = reinterpret_cast< double * >(argp2); res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "matrix3x3_jacobi" "', argument " "3"" of type '" "double *""'");  }
     arg3 = reinterpret_cast< double * >(argp3); res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "matrix3x3_jacobi" "', argument " "4"" of type '" "double *""'");  }
     arg4 = reinterpret_cast< double * >(argp4); OpenBabel::matrix3x3::jacobi(arg1,arg2,arg3,arg4); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBReleaseVersion) { { int argvi = 0; std::string result; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: OBReleaseVersion();"); }  result = OpenBabel::OBReleaseVersion();
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBGenericData__SWIG_0) { { std::string arg1 ; unsigned int arg2 ; OpenBabel::DataOrigin arg3 ; unsigned int val2 ;
    int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int argvi = 0; OpenBabel::OBGenericData *result = 0 ; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: new_OBGenericData(attr,type,source);"); }  {
      std::string *ptr = (std::string *)0; int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(0), &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_OBGenericData" "', argument " "1"" of type '" "std::string const""'");  }
       arg1 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; } 
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_OBGenericData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_OBGenericData" "', argument " "3"" of type '" "OpenBabel::DataOrigin""'"); }
      arg3 = static_cast< OpenBabel::DataOrigin >(val3);
    result = (OpenBabel::OBGenericData *)new OpenBabel::OBGenericData(arg1,arg2,arg3);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBGenericData__SWIG_1) { { std::string arg1 ; unsigned int arg2 ; unsigned int val2 ; int ecode2 = 0 ;
    int argvi = 0; OpenBabel::OBGenericData *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: new_OBGenericData(attr,type);"); }  { std::string *ptr = (std::string *)0;
      int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(0), &ptr); if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_OBGenericData" "', argument " "1"" of type '" "std::string const""'");  }
       arg1 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; } 
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_OBGenericData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (OpenBabel::OBGenericData *)new OpenBabel::OBGenericData(arg1,arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBGenericData__SWIG_2) { { std::string arg1 ; int argvi = 0; OpenBabel::OBGenericData *result = 0 ; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: new_OBGenericData(attr);"); }  { std::string *ptr = (std::string *)0;
      int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(0), &ptr); if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_OBGenericData" "', argument " "1"" of type '" "std::string const""'");  }
       arg1 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; } 
    result = (OpenBabel::OBGenericData *)new OpenBabel::OBGenericData(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBGenericData__SWIG_3) { { int argvi = 0; OpenBabel::OBGenericData *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_OBGenericData();"); } 
    result = (OpenBabel::OBGenericData *)new OpenBabel::OBGenericData();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBGenericData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(0), (std::string**)(0));
        _v = SWIG_CheckState(res);}  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(0), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(0), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_4;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 4;
        if (_rank == _rankm) goto dispatch; }  }  check_4: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBGenericData__SWIG_3); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBGenericData__SWIG_2); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBGenericData__SWIG_1); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBGenericData__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'new_OBGenericData'"); XSRETURN(0); }
XS(_wrap_OBGenericData_Clone) { { OpenBabel::OBGenericData *arg1 = (OpenBabel::OBGenericData *) 0 ;
    OpenBabel::OBBase *arg2 = (OpenBabel::OBBase *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; OpenBabel::OBGenericData *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBGenericData_Clone(self,OpenBabel::OBBase *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGenericData_Clone" "', argument " "1"" of type '" "OpenBabel::OBGenericData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGenericData * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBGenericData_Clone" "', argument " "2"" of type '" "OpenBabel::OBBase *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBase * >(argp2);
    result = (OpenBabel::OBGenericData *)((OpenBabel::OBGenericData const *)arg1)->Clone(arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBGenericData) { { OpenBabel::OBGenericData *arg1 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBGenericData(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGenericData, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBGenericData" "', argument " "1"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGenericData * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBGenericData_SetAttribute) { { OpenBabel::OBGenericData *arg1 = (OpenBabel::OBGenericData *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBGenericData_SetAttribute(self,v);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGenericData_SetAttribute" "', argument " "1"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGenericData * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBGenericData_SetAttribute" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBGenericData_SetAttribute" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  (arg1)->SetAttribute((std::string const &)*arg2); ST(argvi) = sv_newmortal();
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap_OBGenericData_SetOrigin) { { OpenBabel::OBGenericData *arg1 = (OpenBabel::OBGenericData *) 0 ;
    OpenBabel::DataOrigin arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBGenericData_SetOrigin(self,s);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGenericData_SetOrigin" "', argument " "1"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGenericData * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBGenericData_SetOrigin" "', argument " "2"" of type '" "OpenBabel::DataOrigin""'"); }
      arg2 = static_cast< OpenBabel::DataOrigin >(val2); (arg1)->SetOrigin(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBGenericData_GetAttribute) { { OpenBabel::OBGenericData *arg1 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::string *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBGenericData_GetAttribute(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGenericData_GetAttribute" "', argument " "1"" of type '" "OpenBabel::OBGenericData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGenericData * >(argp1);
    result = (std::string *) &((OpenBabel::OBGenericData const *)arg1)->GetAttribute();
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(*result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBGenericData_GetDataType) { { OpenBabel::OBGenericData *arg1 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBGenericData_GetDataType(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGenericData_GetDataType" "', argument " "1"" of type '" "OpenBabel::OBGenericData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGenericData * >(argp1);
    result = (unsigned int)((OpenBabel::OBGenericData const *)arg1)->GetDataType();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBGenericData_GetValue) { { OpenBabel::OBGenericData *arg1 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::string *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBGenericData_GetValue(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGenericData_GetValue" "', argument " "1"" of type '" "OpenBabel::OBGenericData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGenericData * >(argp1);
    result = (std::string *) &((OpenBabel::OBGenericData const *)arg1)->GetValue();
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(*result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBGenericData_GetOrigin) { { OpenBabel::OBGenericData *arg1 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::DataOrigin result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBGenericData_GetOrigin(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGenericData_GetOrigin" "', argument " "1"" of type '" "OpenBabel::OBGenericData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGenericData * >(argp1);
    result = (OpenBabel::DataOrigin)((OpenBabel::OBGenericData const *)arg1)->GetOrigin();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_delete_OBBase) { { OpenBabel::OBBase *arg1 = (OpenBabel::OBBase *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBBase(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBase, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBBase" "', argument " "1"" of type '" "OpenBabel::OBBase *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBase * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBase_Clear) { { OpenBabel::OBBase *arg1 = (OpenBabel::OBBase *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBase_Clear(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBase_Clear" "', argument " "1"" of type '" "OpenBabel::OBBase *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBase * >(argp1); result = (bool)(arg1)->Clear();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBase_DoTransformations) { { OpenBabel::OBBase *arg1 = (OpenBabel::OBBase *) 0 ;
    std::map< std::string,std::string > *arg2 = (std::map< std::string,std::string > *) 0 ;
    OpenBabel::OBConversion *arg3 = (OpenBabel::OBConversion *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; OpenBabel::OBBase *result = 0 ; dXSARGS;
    if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBBase_DoTransformations(self,std::map< std::string,std::string > const *,OpenBabel::OBConversion *);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBase_DoTransformations" "', argument " "1"" of type '" "OpenBabel::OBBase *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBase * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBBase_DoTransformations" "', argument " "2"" of type '" "std::map< std::string,std::string > const *""'");  }
     arg2 = reinterpret_cast< std::map< std::string,std::string > * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBBase_DoTransformations" "', argument " "3"" of type '" "OpenBabel::OBConversion *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBConversion * >(argp3);
    result = (OpenBabel::OBBase *)(arg1)->DoTransformations((std::map< std::string,std::string > const *)arg2,arg3);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBase, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBase_ClassDescription) { { int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: OBBase_ClassDescription();"); }  result = (char *)OpenBabel::OBBase::ClassDescription();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBase_GetTitle__SWIG_0) { { OpenBabel::OBBase *arg1 = (OpenBabel::OBBase *) 0 ; bool arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBBase_GetTitle(self,replaceNewlines);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBase_GetTitle" "', argument " "1"" of type '" "OpenBabel::OBBase const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBase * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBBase_GetTitle" "', argument " "2"" of type '" "bool""'"); }  
    arg2 = static_cast< bool >(val2); result = (char *)((OpenBabel::OBBase const *)arg1)->GetTitle(arg2);
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBase_GetTitle__SWIG_1) { { OpenBabel::OBBase *arg1 = (OpenBabel::OBBase *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBase_GetTitle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBase_GetTitle" "', argument " "1"" of type '" "OpenBabel::OBBase const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBase * >(argp1); result = (char *)((OpenBabel::OBBase const *)arg1)->GetTitle();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBase_GetTitle) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBBase_GetTitle__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBBase_GetTitle__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBBase_GetTitle'"); XSRETURN(0); }
XS(_wrap_OBBase_SetTitle) { { OpenBabel::OBBase *arg1 = (OpenBabel::OBBase *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBBase_SetTitle(self,char const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBase_SetTitle" "', argument " "1"" of type '" "OpenBabel::OBBase *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBase * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBBase_SetTitle" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); (arg1)->SetTitle((char const *)arg2); ST(argvi) = sv_newmortal();
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap_OBBase_HasData__SWIG_0) { { OpenBabel::OBBase *arg1 = (OpenBabel::OBBase *) 0 ; std::string *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBBase_HasData(self,std::string const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBase_HasData" "', argument " "1"" of type '" "OpenBabel::OBBase *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBase * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBBase_HasData" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBBase_HasData" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  result = (bool)(arg1)->HasData((std::string const &)*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap_OBBase_HasData__SWIG_1) { { OpenBabel::OBBase *arg1 = (OpenBabel::OBBase *) 0 ; char *arg2 = (char *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBBase_HasData(self,char const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBase_HasData" "', argument " "1"" of type '" "OpenBabel::OBBase *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBase * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBBase_HasData" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); result = (bool)(arg1)->HasData((char const *)arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap_OBBase_HasData__SWIG_2) { { OpenBabel::OBBase *arg1 = (OpenBabel::OBBase *) 0 ; unsigned int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBBase_HasData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBase_HasData" "', argument " "1"" of type '" "OpenBabel::OBBase *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBase * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBBase_HasData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (bool)(arg1)->HasData(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBase_HasData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBBase_HasData__SWIG_2); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBBase_HasData__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBBase_HasData__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBBase_HasData'"); XSRETURN(0); }
XS(_wrap_OBBase_DeleteData__SWIG_0) { { OpenBabel::OBBase *arg1 = (OpenBabel::OBBase *) 0 ; unsigned int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBBase_DeleteData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBase_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBBase *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBase * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBBase_DeleteData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); (arg1)->DeleteData(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBase_DeleteData__SWIG_1) { { OpenBabel::OBBase *arg1 = (OpenBabel::OBBase *) 0 ;
    OpenBabel::OBGenericData *arg2 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBBase_DeleteData(self,OpenBabel::OBGenericData *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBase_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBBase *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBase * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBBase_DeleteData" "', argument " "2"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBGenericData * >(argp2); (arg1)->DeleteData(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBase_DeleteData__SWIG_2) { { OpenBabel::OBBase *arg1 = (OpenBabel::OBBase *) 0 ;
    std::vector< OpenBabel::OBGenericData * > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBBase_DeleteData(self,std::vector< OpenBabel::OBGenericData * > &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBase_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBBase *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBase * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBBase_DeleteData" "', argument " "2"" of type '" "std::vector< OpenBabel::OBGenericData * > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBBase_DeleteData" "', argument " "2"" of type '" "std::vector< OpenBabel::OBGenericData * > &""'"); }
     arg2 = reinterpret_cast< std::vector< OpenBabel::OBGenericData * > * >(argp2); (arg1)->DeleteData(*arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBase_DeleteData__SWIG_3) { { OpenBabel::OBBase *arg1 = (OpenBabel::OBBase *) 0 ; std::string *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBBase_DeleteData(self,s);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBase_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBBase *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBase * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBBase_DeleteData" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBBase_DeleteData" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  result = (bool)(arg1)->DeleteData((std::string const &)*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap_OBBase_DeleteData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBGenericData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t, 0);
        _v = SWIG_CheckState(res);}  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBBase_DeleteData__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBBase_DeleteData__SWIG_2); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBBase_DeleteData__SWIG_0); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBBase_DeleteData__SWIG_3); return; }  } 
  croak("No matching function for overloaded 'OBBase_DeleteData'"); XSRETURN(0); }
XS(_wrap_OBBase_CloneData) { { OpenBabel::OBBase *arg1 = (OpenBabel::OBBase *) 0 ;
    OpenBabel::OBGenericData *arg2 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBBase_CloneData(self,d);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBase_CloneData" "', argument " "1"" of type '" "OpenBabel::OBBase *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBase * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBBase_CloneData" "', argument " "2"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBGenericData * >(argp2); (arg1)->CloneData(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBase_DataSize) { { OpenBabel::OBBase *arg1 = (OpenBabel::OBBase *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; size_t result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBase_DataSize(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBase_DataSize" "', argument " "1"" of type '" "OpenBabel::OBBase const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBase * >(argp1); result = ((OpenBabel::OBBase const *)arg1)->DataSize();
    ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1(static_cast< size_t >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBase_GetData__SWIG_0) { { OpenBabel::OBBase *arg1 = (OpenBabel::OBBase *) 0 ; unsigned int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::OBGenericData *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBBase_GetData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBase_GetData" "', argument " "1"" of type '" "OpenBabel::OBBase *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBase * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBBase_GetData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (OpenBabel::OBGenericData *)(arg1)->GetData(arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBase_GetData__SWIG_1) { { OpenBabel::OBBase *arg1 = (OpenBabel::OBBase *) 0 ; std::string *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; OpenBabel::OBGenericData *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBBase_GetData(self,std::string const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBase_GetData" "', argument " "1"" of type '" "OpenBabel::OBBase *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBase * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBBase_GetData" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBBase_GetData" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  result = (OpenBabel::OBGenericData *)(arg1)->GetData((std::string const &)*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, 0 | SWIG_SHADOW); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap_OBBase_GetData__SWIG_2) { { OpenBabel::OBBase *arg1 = (OpenBabel::OBBase *) 0 ; char *arg2 = (char *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    OpenBabel::OBGenericData *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBBase_GetData(self,char const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBase_GetData" "', argument " "1"" of type '" "OpenBabel::OBBase *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBase * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBBase_GetData" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); result = (OpenBabel::OBGenericData *)(arg1)->GetData((char const *)arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, 0 | SWIG_SHADOW); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap_OBBase_GetAllData) { { OpenBabel::OBBase *arg1 = (OpenBabel::OBBase *) 0 ; unsigned int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; std::vector< OpenBabel::OBGenericData * > result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBBase_GetAllData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBase_GetAllData" "', argument " "1"" of type '" "OpenBabel::OBBase *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBase * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBBase_GetAllData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (arg1)->GetAllData(arg2); { size_t len = (&result)->size();
      SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) {
        OpenBabel::OBGenericData *x = ((std::vector< OpenBabel::OBGenericData * > &)result)[i]; svs[i] = sv_newmortal();
        sv_setsv(svs[i], SWIG_NewPointerObj(x, SWIGTYPE_p_OpenBabel__OBGenericData, 0)); }  AV *myav = av_make(len, svs);
      delete[] svs; ST(argvi) = newRV_noinc((SV*) myav); sv_2mortal(ST(argvi)); argvi++; }  XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBase_GetData__SWIG_3) { { OpenBabel::OBBase *arg1 = (OpenBabel::OBBase *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; std::vector< OpenBabel::OBGenericData * > *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBBase_GetData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBase_GetData" "', argument " "1"" of type '" "OpenBabel::OBBase *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBase * >(argp1);
    result = (std::vector< OpenBabel::OBGenericData * > *) &(arg1)->GetData();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBase_GetData__SWIG_4) { { OpenBabel::OBBase *arg1 = (OpenBabel::OBBase *) 0 ; OpenBabel::DataOrigin arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0;
    std::vector< OpenBabel::OBGenericData * > result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBBase_GetData(self,source);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBase_GetData" "', argument " "1"" of type '" "OpenBabel::OBBase *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBase * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBBase_GetData" "', argument " "2"" of type '" "OpenBabel::DataOrigin""'"); }
      arg2 = static_cast< OpenBabel::DataOrigin >(val2); result = (arg1)->GetData(arg2); { size_t len = (&result)->size();
      SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) {
        OpenBabel::OBGenericData *x = ((std::vector< OpenBabel::OBGenericData * > &)result)[i]; svs[i] = sv_newmortal();
        sv_setsv(svs[i], SWIG_NewPointerObj(x, SWIGTYPE_p_OpenBabel__OBGenericData, 0)); }  AV *myav = av_make(len, svs);
      delete[] svs; ST(argvi) = newRV_noinc((SV*) myav); sv_2mortal(ST(argvi)); argvi++; }  XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBase_GetData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_5; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_5;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 5;
        if (_rank == _rankm) goto dispatch; }  }  check_5: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBBase_GetData__SWIG_3); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBBase_GetData__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBBase_GetData__SWIG_4); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBBase_GetData__SWIG_1); return; case 5:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBBase_GetData__SWIG_2); return; }  } 
  croak("No matching function for overloaded 'OBBase_GetData'"); XSRETURN(0); }
XS(_wrap_OBBase_BeginData) { { OpenBabel::OBBase *arg1 = (OpenBabel::OBBase *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBGenericData * >::iterator > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBase_BeginData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBase_BeginData" "', argument " "1"" of type '" "OpenBabel::OBBase *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBase * >(argp1); result = (arg1)->BeginData();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBDataIterator(static_cast< const OpenBabel::OBDataIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBase_EndData) { { OpenBabel::OBBase *arg1 = (OpenBabel::OBBase *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    SwigValueWrapper< std::vector< OpenBabel::OBGenericData * >::iterator > result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBBase_EndData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBase_EndData" "', argument " "1"" of type '" "OpenBabel::OBBase *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBase * >(argp1); result = (arg1)->EndData();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBDataIterator(static_cast< const OpenBabel::OBDataIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBBase) { { int argvi = 0; OpenBabel::OBBase *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_OBBase();"); }  result = (OpenBabel::OBBase *)new OpenBabel::OBBase();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBase, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBCommentData__SWIG_0) { { int argvi = 0; OpenBabel::OBCommentData *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_OBCommentData();"); } 
    result = (OpenBabel::OBCommentData *)new OpenBabel::OBCommentData();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBCommentData, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBCommentData__SWIG_1) { { OpenBabel::OBCommentData *arg1 = 0 ; void *argp1 ; int res1 = 0 ; int argvi = 0;
    OpenBabel::OBCommentData *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new_OBCommentData(OpenBabel::OBCommentData const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBCommentData,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBCommentData" "', argument " "1"" of type '" "OpenBabel::OBCommentData const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBCommentData" "', argument " "1"" of type '" "OpenBabel::OBCommentData const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBCommentData * >(argp1);
    result = (OpenBabel::OBCommentData *)new OpenBabel::OBCommentData((OpenBabel::OBCommentData const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBCommentData, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBCommentData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBCommentData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBCommentData__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBCommentData__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'new_OBCommentData'"); XSRETURN(0); }
XS(_wrap_OBCommentData_SetData__SWIG_0) { { OpenBabel::OBCommentData *arg1 = (OpenBabel::OBCommentData *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBCommentData_SetData(self,data);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBCommentData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBCommentData_SetData" "', argument " "1"" of type '" "OpenBabel::OBCommentData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBCommentData * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBCommentData_SetData" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBCommentData_SetData" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  (arg1)->SetData((std::string const &)*arg2); ST(argvi) = sv_newmortal();
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap_OBCommentData_SetData__SWIG_1) { { OpenBabel::OBCommentData *arg1 = (OpenBabel::OBCommentData *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBCommentData_SetData(self,d);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBCommentData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBCommentData_SetData" "', argument " "1"" of type '" "OpenBabel::OBCommentData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBCommentData * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBCommentData_SetData" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); (arg1)->SetData((char const *)arg2); ST(argvi) = sv_newmortal();
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap_OBCommentData_SetData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBCommentData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBCommentData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBCommentData_SetData__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBCommentData_SetData__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBCommentData_SetData'"); XSRETURN(0); }
XS(_wrap_OBCommentData_GetData) { { OpenBabel::OBCommentData *arg1 = (OpenBabel::OBCommentData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::string *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBCommentData_GetData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBCommentData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBCommentData_GetData" "', argument " "1"" of type '" "OpenBabel::OBCommentData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBCommentData * >(argp1);
    result = (std::string *) &((OpenBabel::OBCommentData const *)arg1)->GetData();
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(*result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBCommentData) { { OpenBabel::OBCommentData *arg1 = (OpenBabel::OBCommentData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBCommentData(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBCommentData, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBCommentData" "', argument " "1"" of type '" "OpenBabel::OBCommentData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBCommentData * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBExternalBond__SWIG_0) { { int argvi = 0; OpenBabel::OBExternalBond *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_OBExternalBond();"); } 
    result = (OpenBabel::OBExternalBond *)new OpenBabel::OBExternalBond();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBExternalBond, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBExternalBond__SWIG_1) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ;
    OpenBabel::OBBond *arg2 = (OpenBabel::OBBond *) 0 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int val3 ; int ecode3 = 0 ; int argvi = 0; OpenBabel::OBExternalBond *result = 0 ; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: new_OBExternalBond(OpenBabel::OBAtom *,OpenBabel::OBBond *,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBExternalBond" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_OBExternalBond" "', argument " "2"" of type '" "OpenBabel::OBBond *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBond * >(argp2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_OBExternalBond" "', argument " "3"" of type '" "int""'"); }
      arg3 = static_cast< int >(val3); result = (OpenBabel::OBExternalBond *)new OpenBabel::OBExternalBond(arg1,arg2,arg3);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBExternalBond, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBExternalBond__SWIG_2) { { OpenBabel::OBExternalBond *arg1 = 0 ; void *argp1 ; int res1 = 0 ; int argvi = 0;
    OpenBabel::OBExternalBond *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new_OBExternalBond(OpenBabel::OBExternalBond const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBExternalBond,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBExternalBond" "', argument " "1"" of type '" "OpenBabel::OBExternalBond const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBExternalBond" "', argument " "1"" of type '" "OpenBabel::OBExternalBond const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBExternalBond * >(argp1);
    result = (OpenBabel::OBExternalBond *)new OpenBabel::OBExternalBond((OpenBabel::OBExternalBond const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBExternalBond, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBExternalBond) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBExternalBond, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBBond, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBExternalBond__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBExternalBond__SWIG_2); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBExternalBond__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'new_OBExternalBond'"); XSRETURN(0); }
XS(_wrap_delete_OBExternalBond) { { OpenBabel::OBExternalBond *arg1 = (OpenBabel::OBExternalBond *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBExternalBond(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBExternalBond, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBExternalBond" "', argument " "1"" of type '" "OpenBabel::OBExternalBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBExternalBond * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBExternalBond_GetIdx) { { OpenBabel::OBExternalBond *arg1 = (OpenBabel::OBExternalBond *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBExternalBond_GetIdx(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBExternalBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBExternalBond_GetIdx" "', argument " "1"" of type '" "OpenBabel::OBExternalBond const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBExternalBond * >(argp1);
    result = (int)((OpenBabel::OBExternalBond const *)arg1)->GetIdx();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBExternalBond_GetAtom) { { OpenBabel::OBExternalBond *arg1 = (OpenBabel::OBExternalBond *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBExternalBond_GetAtom(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBExternalBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBExternalBond_GetAtom" "', argument " "1"" of type '" "OpenBabel::OBExternalBond const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBExternalBond * >(argp1);
    result = (OpenBabel::OBAtom *)((OpenBabel::OBExternalBond const *)arg1)->GetAtom();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBExternalBond_GetBond) { { OpenBabel::OBExternalBond *arg1 = (OpenBabel::OBExternalBond *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBBond *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBExternalBond_GetBond(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBExternalBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBExternalBond_GetBond" "', argument " "1"" of type '" "OpenBabel::OBExternalBond const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBExternalBond * >(argp1);
    result = (OpenBabel::OBBond *)((OpenBabel::OBExternalBond const *)arg1)->GetBond();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBond, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBExternalBond_SetIdx) { { OpenBabel::OBExternalBond *arg1 = (OpenBabel::OBExternalBond *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBExternalBond_SetIdx(self,idx);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBExternalBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBExternalBond_SetIdx" "', argument " "1"" of type '" "OpenBabel::OBExternalBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBExternalBond * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBExternalBond_SetIdx" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (arg1)->SetIdx(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBExternalBond_SetAtom) { { OpenBabel::OBExternalBond *arg1 = (OpenBabel::OBExternalBond *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBExternalBond_SetAtom(self,atom);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBExternalBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBExternalBond_SetAtom" "', argument " "1"" of type '" "OpenBabel::OBExternalBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBExternalBond * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBExternalBond_SetAtom" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); (arg1)->SetAtom(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBExternalBond_SetBond) { { OpenBabel::OBExternalBond *arg1 = (OpenBabel::OBExternalBond *) 0 ;
    OpenBabel::OBBond *arg2 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBExternalBond_SetBond(self,bond);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBExternalBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBExternalBond_SetBond" "', argument " "1"" of type '" "OpenBabel::OBExternalBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBExternalBond * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBExternalBond_SetBond" "', argument " "2"" of type '" "OpenBabel::OBBond *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBond * >(argp2); (arg1)->SetBond(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBExternalBondData) { { int argvi = 0; OpenBabel::OBExternalBondData *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_OBExternalBondData();"); } 
    result = (OpenBabel::OBExternalBondData *)new OpenBabel::OBExternalBondData();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBExternalBondData, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBExternalBondData_SetData) { { OpenBabel::OBExternalBondData *arg1 = (OpenBabel::OBExternalBondData *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; OpenBabel::OBBond *arg3 = (OpenBabel::OBBond *) 0 ; int arg4 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int val4 ;
    int ecode4 = 0 ; int argvi = 0; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: OBExternalBondData_SetData(self,OpenBabel::OBAtom *,OpenBabel::OBBond *,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBExternalBondData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBExternalBondData_SetData" "', argument " "1"" of type '" "OpenBabel::OBExternalBondData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBExternalBondData * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBExternalBondData_SetData" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBExternalBondData_SetData" "', argument " "3"" of type '" "OpenBabel::OBBond *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBBond * >(argp3); ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBExternalBondData_SetData" "', argument " "4"" of type '" "int""'"); }
      arg4 = static_cast< int >(val4); (arg1)->SetData(arg2,arg3,arg4); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBExternalBondData_GetData) { { OpenBabel::OBExternalBondData *arg1 = (OpenBabel::OBExternalBondData *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; std::vector< OpenBabel::OBExternalBond > *result = 0 ; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBExternalBondData_GetData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBExternalBondData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBExternalBondData_GetData" "', argument " "1"" of type '" "OpenBabel::OBExternalBondData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBExternalBondData * >(argp1);
    result = (std::vector< OpenBabel::OBExternalBond > *)(arg1)->GetData();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBExternalBond_t, 0 | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBExternalBondData) { { OpenBabel::OBExternalBondData *arg1 = (OpenBabel::OBExternalBondData *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: delete_OBExternalBondData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBExternalBondData, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBExternalBondData" "', argument " "1"" of type '" "OpenBabel::OBExternalBondData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBExternalBondData * >(argp1); delete arg1; ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBPairData) { { int argvi = 0; OpenBabel::OBPairData *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_OBPairData();"); }  result = (OpenBabel::OBPairData *)new OpenBabel::OBPairData();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBPairData, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBPairData_SetValue__SWIG_0) { { OpenBabel::OBPairData *arg1 = (OpenBabel::OBPairData *) 0 ; char *arg2 = (char *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBPairData_SetValue(self,v);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBPairData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBPairData_SetValue" "', argument " "1"" of type '" "OpenBabel::OBPairData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBPairData * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBPairData_SetValue" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); (arg1)->SetValue((char const *)arg2); ST(argvi) = sv_newmortal();
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap_OBPairData_SetValue__SWIG_1) { { OpenBabel::OBPairData *arg1 = (OpenBabel::OBPairData *) 0 ; std::string *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBPairData_SetValue(self,v);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBPairData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBPairData_SetValue" "', argument " "1"" of type '" "OpenBabel::OBPairData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBPairData * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBPairData_SetValue" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBPairData_SetValue" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  (arg1)->SetValue((std::string const &)*arg2); ST(argvi) = sv_newmortal();
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap_OBPairData_SetValue) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBPairData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBPairData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBPairData_SetValue__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBPairData_SetValue__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBPairData_SetValue'"); XSRETURN(0); }
XS(_wrap_delete_OBPairData) { { OpenBabel::OBPairData *arg1 = (OpenBabel::OBPairData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBPairData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBPairData, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBPairData" "', argument " "1"" of type '" "OpenBabel::OBPairData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBPairData * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_new_OBSetData) { { int argvi = 0; OpenBabel::OBSetData *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_OBSetData();"); }  result = (OpenBabel::OBSetData *)new OpenBabel::OBSetData();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBSetData, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBSetData_AddData) { { OpenBabel::OBSetData *arg1 = (OpenBabel::OBSetData *) 0 ;
    OpenBabel::OBGenericData *arg2 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBSetData_AddData(self,d);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSetData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSetData_AddData" "', argument " "1"" of type '" "OpenBabel::OBSetData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSetData * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBSetData_AddData" "', argument " "2"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBGenericData * >(argp2); (arg1)->AddData(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBSetData_SetData) { { OpenBabel::OBSetData *arg1 = (OpenBabel::OBSetData *) 0 ;
    std::vector< OpenBabel::OBGenericData * > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBSetData_SetData(self,vdata);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSetData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSetData_SetData" "', argument " "1"" of type '" "OpenBabel::OBSetData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSetData * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBSetData_SetData" "', argument " "2"" of type '" "std::vector< OpenBabel::OBGenericData * > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBSetData_SetData" "', argument " "2"" of type '" "std::vector< OpenBabel::OBGenericData * > &""'"); }
     arg2 = reinterpret_cast< std::vector< OpenBabel::OBGenericData * > * >(argp2); (arg1)->SetData(*arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBSetData_GetData__SWIG_0) { { OpenBabel::OBSetData *arg1 = (OpenBabel::OBSetData *) 0 ; char *arg2 = (char *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    OpenBabel::OBGenericData *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBSetData_GetData(self,s);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSetData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSetData_GetData" "', argument " "1"" of type '" "OpenBabel::OBSetData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSetData * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBSetData_GetData" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); result = (OpenBabel::OBGenericData *)(arg1)->GetData((char const *)arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, 0 | SWIG_SHADOW); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap_OBSetData_GetData__SWIG_1) { { OpenBabel::OBSetData *arg1 = (OpenBabel::OBSetData *) 0 ; std::string *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; OpenBabel::OBGenericData *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBSetData_GetData(self,s);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSetData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSetData_GetData" "', argument " "1"" of type '" "OpenBabel::OBSetData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSetData * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBSetData_GetData" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBSetData_GetData" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  result = (OpenBabel::OBGenericData *)(arg1)->GetData((std::string const &)*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, 0 | SWIG_SHADOW); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap_OBSetData_GetData__SWIG_2) { { OpenBabel::OBSetData *arg1 = (OpenBabel::OBSetData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::vector< OpenBabel::OBGenericData * > *result = 0 ; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBSetData_GetData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSetData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSetData_GetData" "', argument " "1"" of type '" "OpenBabel::OBSetData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSetData * >(argp1);
    result = (std::vector< OpenBabel::OBGenericData * > *) &((OpenBabel::OBSetData const *)arg1)->GetData();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBSetData_GetData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBSetData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBSetData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBSetData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBSetData_GetData__SWIG_2); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBSetData_GetData__SWIG_1); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBSetData_GetData__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBSetData_GetData'"); XSRETURN(0); }
XS(_wrap_OBSetData_GetBegin) { { OpenBabel::OBSetData *arg1 = (OpenBabel::OBSetData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBGenericData * >::iterator > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBSetData_GetBegin(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSetData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSetData_GetBegin" "', argument " "1"" of type '" "OpenBabel::OBSetData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSetData * >(argp1); result = (arg1)->GetBegin();
    ST(argvi) = SWIG_NewPointerObj((new std::vector< OpenBabel::OBGenericData * >::iterator(static_cast< const std::vector< OpenBabel::OBGenericData * >::iterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBSetData_GetEnd) { { OpenBabel::OBSetData *arg1 = (OpenBabel::OBSetData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBGenericData * >::iterator > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBSetData_GetEnd(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSetData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSetData_GetEnd" "', argument " "1"" of type '" "OpenBabel::OBSetData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSetData * >(argp1); result = (arg1)->GetEnd();
    ST(argvi) = SWIG_NewPointerObj((new std::vector< OpenBabel::OBGenericData * >::iterator(static_cast< const std::vector< OpenBabel::OBGenericData * >::iterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBSetData_DeleteData) { { OpenBabel::OBSetData *arg1 = (OpenBabel::OBSetData *) 0 ;
    OpenBabel::OBGenericData *arg2 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBSetData_DeleteData(self,gd);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSetData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSetData_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBSetData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSetData * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBSetData_DeleteData" "', argument " "2"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBGenericData * >(argp2); (arg1)->DeleteData(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBSetData) { { OpenBabel::OBSetData *arg1 = (OpenBabel::OBSetData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBSetData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSetData, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBSetData" "', argument " "1"" of type '" "OpenBabel::OBSetData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSetData * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_new_OBVirtualBond__SWIG_0) { { int argvi = 0; OpenBabel::OBVirtualBond *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_OBVirtualBond();"); } 
    result = (OpenBabel::OBVirtualBond *)new OpenBabel::OBVirtualBond();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBVirtualBond, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBVirtualBond__SWIG_1) { { int arg1 ; int arg2 ; int arg3 ; int arg4 ; int val1 ; int ecode1 = 0 ; int val2 ;
    int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int argvi = 0;
    OpenBabel::OBVirtualBond *result = 0 ; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: new_OBVirtualBond(int,int,int,stereo);"); } 
    ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1); if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_OBVirtualBond" "', argument " "1"" of type '" "int""'"); }  
    arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_OBVirtualBond" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_OBVirtualBond" "', argument " "3"" of type '" "int""'"); }  
    arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4); if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_OBVirtualBond" "', argument " "4"" of type '" "int""'"); }  
    arg4 = static_cast< int >(val4); result = (OpenBabel::OBVirtualBond *)new OpenBabel::OBVirtualBond(arg1,arg2,arg3,arg4);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBVirtualBond, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBVirtualBond__SWIG_2) { { int arg1 ; int arg2 ; int arg3 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ;
    int val3 ; int ecode3 = 0 ; int argvi = 0; OpenBabel::OBVirtualBond *result = 0 ; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: new_OBVirtualBond(int,int,int);"); }  ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
    if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_OBVirtualBond" "', argument " "1"" of type '" "int""'"); }  
    arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_OBVirtualBond" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_OBVirtualBond" "', argument " "3"" of type '" "int""'"); }  
    arg3 = static_cast< int >(val3); result = (OpenBabel::OBVirtualBond *)new OpenBabel::OBVirtualBond(arg1,arg2,arg3);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBVirtualBond, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBVirtualBond) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 3) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    if (items == 4) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3:
    dispatch: switch(_index) { case 1: ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBVirtualBond__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBVirtualBond__SWIG_2); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBVirtualBond__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'new_OBVirtualBond'"); XSRETURN(0); }
XS(_wrap_OBVirtualBond_GetBgn) { { OpenBabel::OBVirtualBond *arg1 = (OpenBabel::OBVirtualBond *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBVirtualBond_GetBgn(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBVirtualBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBVirtualBond_GetBgn" "', argument " "1"" of type '" "OpenBabel::OBVirtualBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBVirtualBond * >(argp1); result = (int)(arg1)->GetBgn();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBVirtualBond_GetEnd) { { OpenBabel::OBVirtualBond *arg1 = (OpenBabel::OBVirtualBond *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBVirtualBond_GetEnd(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBVirtualBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBVirtualBond_GetEnd" "', argument " "1"" of type '" "OpenBabel::OBVirtualBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBVirtualBond * >(argp1); result = (int)(arg1)->GetEnd();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBVirtualBond_GetOrder) { { OpenBabel::OBVirtualBond *arg1 = (OpenBabel::OBVirtualBond *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBVirtualBond_GetOrder(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBVirtualBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBVirtualBond_GetOrder" "', argument " "1"" of type '" "OpenBabel::OBVirtualBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBVirtualBond * >(argp1); result = (int)(arg1)->GetOrder();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBVirtualBond_GetStereo) { { OpenBabel::OBVirtualBond *arg1 = (OpenBabel::OBVirtualBond *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBVirtualBond_GetStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBVirtualBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBVirtualBond_GetStereo" "', argument " "1"" of type '" "OpenBabel::OBVirtualBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBVirtualBond * >(argp1); result = (int)(arg1)->GetStereo();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_delete_OBVirtualBond) { { OpenBabel::OBVirtualBond *arg1 = (OpenBabel::OBVirtualBond *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBVirtualBond(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBVirtualBond, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBVirtualBond" "', argument " "1"" of type '" "OpenBabel::OBVirtualBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBVirtualBond * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBRingData__SWIG_0) { { int argvi = 0; OpenBabel::OBRingData *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_OBRingData();"); } 
    result = (OpenBabel::OBRingData *)new OpenBabel::OBRingData();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBRingData, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBRingData__SWIG_1) { { OpenBabel::OBRingData *arg1 = 0 ; void *argp1 ; int res1 = 0 ; int argvi = 0;
    OpenBabel::OBRingData *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new_OBRingData(OpenBabel::OBRingData const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBRingData,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBRingData" "', argument " "1"" of type '" "OpenBabel::OBRingData const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBRingData" "', argument " "1"" of type '" "OpenBabel::OBRingData const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBRingData * >(argp1);
    result = (OpenBabel::OBRingData *)new OpenBabel::OBRingData((OpenBabel::OBRingData const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBRingData, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBRingData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBRingData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBRingData__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBRingData__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'new_OBRingData'"); XSRETURN(0); }
XS(_wrap_delete_OBRingData) { { OpenBabel::OBRingData *arg1 = (OpenBabel::OBRingData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBRingData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRingData, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBRingData" "', argument " "1"" of type '" "OpenBabel::OBRingData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRingData * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRingData_SetData) { { OpenBabel::OBRingData *arg1 = (OpenBabel::OBRingData *) 0 ;
    std::vector< OpenBabel::OBRing * > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBRingData_SetData(self,vr);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRingData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRingData_SetData" "', argument " "1"" of type '" "OpenBabel::OBRingData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRingData * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBRing_p_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRingData_SetData" "', argument " "2"" of type '" "std::vector< OpenBabel::OBRing * > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRingData_SetData" "', argument " "2"" of type '" "std::vector< OpenBabel::OBRing * > &""'"); }
     arg2 = reinterpret_cast< std::vector< OpenBabel::OBRing * > * >(argp2); (arg1)->SetData(*arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRingData_PushBack) { { OpenBabel::OBRingData *arg1 = (OpenBabel::OBRingData *) 0 ;
    OpenBabel::OBRing *arg2 = (OpenBabel::OBRing *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBRingData_PushBack(self,r);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRingData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRingData_PushBack" "', argument " "1"" of type '" "OpenBabel::OBRingData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRingData * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBRing, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRingData_PushBack" "', argument " "2"" of type '" "OpenBabel::OBRing *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBRing * >(argp2); (arg1)->PushBack(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBRingData_GetData) { { OpenBabel::OBRingData *arg1 = (OpenBabel::OBRingData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; std::vector< OpenBabel::OBRing * > *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBRingData_GetData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRingData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRingData_GetData" "', argument " "1"" of type '" "OpenBabel::OBRingData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRingData * >(argp1);
    result = (std::vector< OpenBabel::OBRing * > *) &(arg1)->GetData();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBRing_p_t, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRingData_BeginRings) { { OpenBabel::OBRingData *arg1 = (OpenBabel::OBRingData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBRing * >::iterator > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBRingData_BeginRings(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRingData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRingData_BeginRings" "', argument " "1"" of type '" "OpenBabel::OBRingData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRingData * >(argp1); result = (arg1)->BeginRings();
    ST(argvi) = SWIG_NewPointerObj((new std::vector< OpenBabel::OBRing * >::iterator(static_cast< const std::vector< OpenBabel::OBRing * >::iterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBRing_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRingData_EndRings) { { OpenBabel::OBRingData *arg1 = (OpenBabel::OBRingData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBRing * >::iterator > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBRingData_EndRings(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRingData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRingData_EndRings" "', argument " "1"" of type '" "OpenBabel::OBRingData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRingData * >(argp1); result = (arg1)->EndRings();
    ST(argvi) = SWIG_NewPointerObj((new std::vector< OpenBabel::OBRing * >::iterator(static_cast< const std::vector< OpenBabel::OBRing * >::iterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBRing_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRingData_BeginRing) { { OpenBabel::OBRingData *arg1 = (OpenBabel::OBRingData *) 0 ;
    std::vector< OpenBabel::OBRing * >::iterator *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; OpenBabel::OBRing *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBRingData_BeginRing(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRingData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRingData_BeginRing" "', argument " "1"" of type '" "OpenBabel::OBRingData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRingData * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBRing_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRingData_BeginRing" "', argument " "2"" of type '" "std::vector< OpenBabel::OBRing * >::iterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRingData_BeginRing" "', argument " "2"" of type '" "std::vector< OpenBabel::OBRing * >::iterator &""'"); }
     arg2 = reinterpret_cast< std::vector< OpenBabel::OBRing * >::iterator * >(argp2);
    result = (OpenBabel::OBRing *)(arg1)->BeginRing(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBRing, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRingData_NextRing) { { OpenBabel::OBRingData *arg1 = (OpenBabel::OBRingData *) 0 ;
    std::vector< OpenBabel::OBRing * >::iterator *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; OpenBabel::OBRing *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBRingData_NextRing(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRingData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRingData_NextRing" "', argument " "1"" of type '" "OpenBabel::OBRingData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRingData * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBRing_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRingData_NextRing" "', argument " "2"" of type '" "std::vector< OpenBabel::OBRing * >::iterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRingData_NextRing" "', argument " "2"" of type '" "std::vector< OpenBabel::OBRing * >::iterator &""'"); }
     arg2 = reinterpret_cast< std::vector< OpenBabel::OBRing * >::iterator * >(argp2);
    result = (OpenBabel::OBRing *)(arg1)->NextRing(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBRing, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBUnitCell__SWIG_0) { { int argvi = 0; OpenBabel::OBUnitCell *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_OBUnitCell();"); } 
    result = (OpenBabel::OBUnitCell *)new OpenBabel::OBUnitCell();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBUnitCell, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBUnitCell__SWIG_1) { { OpenBabel::OBUnitCell *arg1 = 0 ; void *argp1 ; int res1 = 0 ; int argvi = 0;
    OpenBabel::OBUnitCell *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new_OBUnitCell(OpenBabel::OBUnitCell const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBUnitCell,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBUnitCell" "', argument " "1"" of type '" "OpenBabel::OBUnitCell const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBUnitCell" "', argument " "1"" of type '" "OpenBabel::OBUnitCell const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBUnitCell * >(argp1);
    result = (OpenBabel::OBUnitCell *)new OpenBabel::OBUnitCell((OpenBabel::OBUnitCell const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBUnitCell, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBUnitCell) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBUnitCell, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBUnitCell__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBUnitCell__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'new_OBUnitCell'"); XSRETURN(0); }
XS(_wrap_delete_OBUnitCell) { { OpenBabel::OBUnitCell *arg1 = (OpenBabel::OBUnitCell *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBUnitCell(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBUnitCell, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBUnitCell" "', argument " "1"" of type '" "OpenBabel::OBUnitCell *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBUnitCell * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBUnitCell_SetData__SWIG_0) { { OpenBabel::OBUnitCell *arg1 = (OpenBabel::OBUnitCell *) 0 ; double arg2 ; double arg3 ;
    double arg4 ; double arg5 ; double arg6 ; double arg7 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ;
    double val3 ; int ecode3 = 0 ; double val4 ; int ecode4 = 0 ; double val5 ; int ecode5 = 0 ; double val6 ; int ecode6 = 0 ;
    double val7 ; int ecode7 = 0 ; int argvi = 0; dXSARGS; if ((items < 7) || (items > 7)) {
      SWIG_croak("Usage: OBUnitCell_SetData(self,a,b,c,alpha,beta,gamma);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBUnitCell, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBUnitCell_SetData" "', argument " "1"" of type '" "OpenBabel::OBUnitCell *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBUnitCell * >(argp1); ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBUnitCell_SetData" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBUnitCell_SetData" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBUnitCell_SetData" "', argument " "4"" of type '" "double""'"); }
      arg4 = static_cast< double >(val4); ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "OBUnitCell_SetData" "', argument " "5"" of type '" "double""'"); }
      arg5 = static_cast< double >(val5); ecode6 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(5), &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "OBUnitCell_SetData" "', argument " "6"" of type '" "double""'"); }
      arg6 = static_cast< double >(val6); ecode7 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(6), &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "OBUnitCell_SetData" "', argument " "7"" of type '" "double""'"); }
      arg7 = static_cast< double >(val7); (arg1)->SetData(arg2,arg3,arg4,arg5,arg6,arg7); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBUnitCell_SetData__SWIG_1) { { OpenBabel::OBUnitCell *arg1 = (OpenBabel::OBUnitCell *) 0 ; OpenBabel::vector3 arg2 ;
    OpenBabel::vector3 arg3 ; OpenBabel::vector3 arg4 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ;
    void *argp3 ; int res3 = 0 ; void *argp4 ; int res4 = 0 ; int argvi = 0; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: OBUnitCell_SetData(self,v1,v2,v3);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBUnitCell, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBUnitCell_SetData" "', argument " "1"" of type '" "OpenBabel::OBUnitCell *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBUnitCell * >(argp1); {
      res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBUnitCell_SetData" "', argument " "2"" of type '" "OpenBabel::vector3 const""'");  }
         if (!argp2) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBUnitCell_SetData" "', argument " "2"" of type '" "OpenBabel::vector3 const""'"); }
       else { arg2 = *(reinterpret_cast< OpenBabel::vector3 * >(argp2)); }  }  {
      res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res3)) {
        SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBUnitCell_SetData" "', argument " "3"" of type '" "OpenBabel::vector3 const""'");  }
         if (!argp3) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBUnitCell_SetData" "', argument " "3"" of type '" "OpenBabel::vector3 const""'"); }
       else { arg3 = *(reinterpret_cast< OpenBabel::vector3 * >(argp3)); }  }  {
      res4 = SWIG_ConvertPtr(ST(3), &argp4, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res4)) {
        SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBUnitCell_SetData" "', argument " "4"" of type '" "OpenBabel::vector3 const""'");  }
         if (!argp4) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBUnitCell_SetData" "', argument " "4"" of type '" "OpenBabel::vector3 const""'"); }
       else { arg4 = *(reinterpret_cast< OpenBabel::vector3 * >(argp4)); }  }  (arg1)->SetData(arg2,arg3,arg4);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBUnitCell_SetData__SWIG_2) { { OpenBabel::OBUnitCell *arg1 = (OpenBabel::OBUnitCell *) 0 ; OpenBabel::matrix3x3 arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBUnitCell_SetData(self,m);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBUnitCell, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBUnitCell_SetData" "', argument " "1"" of type '" "OpenBabel::OBUnitCell *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBUnitCell * >(argp1); {
      res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__matrix3x3,  0 ); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBUnitCell_SetData" "', argument " "2"" of type '" "OpenBabel::matrix3x3 const""'");  }
         if (!argp2) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBUnitCell_SetData" "', argument " "2"" of type '" "OpenBabel::matrix3x3 const""'"); }
       else { arg2 = *(reinterpret_cast< OpenBabel::matrix3x3 * >(argp2)); }  }  (arg1)->SetData(arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBUnitCell_SetData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBUnitCell, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__matrix3x3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 4) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBUnitCell, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(3), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 7) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBUnitCell, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(5), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(6), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBUnitCell_SetData__SWIG_2); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBUnitCell_SetData__SWIG_1); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBUnitCell_SetData__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBUnitCell_SetData'"); XSRETURN(0); }
XS(_wrap_OBUnitCell_SetOffset) { { OpenBabel::OBUnitCell *arg1 = (OpenBabel::OBUnitCell *) 0 ; OpenBabel::vector3 arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBUnitCell_SetOffset(self,v1);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBUnitCell, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBUnitCell_SetOffset" "', argument " "1"" of type '" "OpenBabel::OBUnitCell *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBUnitCell * >(argp1); {
      res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBUnitCell_SetOffset" "', argument " "2"" of type '" "OpenBabel::vector3 const""'");  }
         if (!argp2) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBUnitCell_SetOffset" "', argument " "2"" of type '" "OpenBabel::vector3 const""'"); }
       else { arg2 = *(reinterpret_cast< OpenBabel::vector3 * >(argp2)); }  }  (arg1)->SetOffset(arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBUnitCell_SetSpaceGroup__SWIG_0) { { OpenBabel::OBUnitCell *arg1 = (OpenBabel::OBUnitCell *) 0 ;
    OpenBabel::SpaceGroup *arg2 = (OpenBabel::SpaceGroup *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBUnitCell_SetSpaceGroup(self,sg);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBUnitCell, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBUnitCell_SetSpaceGroup" "', argument " "1"" of type '" "OpenBabel::OBUnitCell *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBUnitCell * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__SpaceGroup, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBUnitCell_SetSpaceGroup" "', argument " "2"" of type '" "OpenBabel::SpaceGroup const *""'");  }
     arg2 = reinterpret_cast< OpenBabel::SpaceGroup * >(argp2); (arg1)->SetSpaceGroup((OpenBabel::SpaceGroup const *)arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBUnitCell_SetSpaceGroup__SWIG_1) { { OpenBabel::OBUnitCell *arg1 = (OpenBabel::OBUnitCell *) 0 ; std::string arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBUnitCell_SetSpaceGroup(self,sg);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBUnitCell, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBUnitCell_SetSpaceGroup" "', argument " "1"" of type '" "OpenBabel::OBUnitCell *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBUnitCell * >(argp1); { std::string *ptr = (std::string *)0;
      int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "OBUnitCell_SetSpaceGroup" "', argument " "2"" of type '" "std::string const""'");  }
       arg2 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; }  (arg1)->SetSpaceGroup(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBUnitCell_SetSpaceGroup__SWIG_2) { { OpenBabel::OBUnitCell *arg1 = (OpenBabel::OBUnitCell *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBUnitCell_SetSpaceGroup(self,sg);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBUnitCell, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBUnitCell_SetSpaceGroup" "', argument " "1"" of type '" "OpenBabel::OBUnitCell *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBUnitCell * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBUnitCell_SetSpaceGroup" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (arg1)->SetSpaceGroup(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBUnitCell_SetSpaceGroup) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBUnitCell, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__SpaceGroup, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBUnitCell, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBUnitCell, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBUnitCell_SetSpaceGroup__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBUnitCell_SetSpaceGroup__SWIG_2); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBUnitCell_SetSpaceGroup__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBUnitCell_SetSpaceGroup'"); XSRETURN(0); }
XS(_wrap_OBUnitCell_SetLatticeType) { { OpenBabel::OBUnitCell *arg1 = (OpenBabel::OBUnitCell *) 0 ;
    OpenBabel::OBUnitCell::LatticeType arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBUnitCell_SetLatticeType(self,lt);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBUnitCell, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBUnitCell_SetLatticeType" "', argument " "1"" of type '" "OpenBabel::OBUnitCell *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBUnitCell * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBUnitCell_SetLatticeType" "', argument " "2"" of type '" "OpenBabel::OBUnitCell::LatticeType""'"); }
      arg2 = static_cast< OpenBabel::OBUnitCell::LatticeType >(val2); (arg1)->SetLatticeType(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBUnitCell_FillUnitCell) { { OpenBabel::OBUnitCell *arg1 = (OpenBabel::OBUnitCell *) 0 ;
    OpenBabel::OBMol *arg2 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBUnitCell_FillUnitCell(self,OpenBabel::OBMol *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBUnitCell, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBUnitCell_FillUnitCell" "', argument " "1"" of type '" "OpenBabel::OBUnitCell *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBUnitCell * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBUnitCell_FillUnitCell" "', argument " "2"" of type '" "OpenBabel::OBMol *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); (arg1)->FillUnitCell(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBUnitCell_GetA) { { OpenBabel::OBUnitCell *arg1 = (OpenBabel::OBUnitCell *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBUnitCell_GetA(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBUnitCell, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBUnitCell_GetA" "', argument " "1"" of type '" "OpenBabel::OBUnitCell *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBUnitCell * >(argp1); result = (double)(arg1)->GetA();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBUnitCell_GetB) { { OpenBabel::OBUnitCell *arg1 = (OpenBabel::OBUnitCell *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBUnitCell_GetB(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBUnitCell, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBUnitCell_GetB" "', argument " "1"" of type '" "OpenBabel::OBUnitCell *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBUnitCell * >(argp1); result = (double)(arg1)->GetB();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBUnitCell_GetC) { { OpenBabel::OBUnitCell *arg1 = (OpenBabel::OBUnitCell *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBUnitCell_GetC(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBUnitCell, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBUnitCell_GetC" "', argument " "1"" of type '" "OpenBabel::OBUnitCell *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBUnitCell * >(argp1); result = (double)(arg1)->GetC();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBUnitCell_GetAlpha) { { OpenBabel::OBUnitCell *arg1 = (OpenBabel::OBUnitCell *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBUnitCell_GetAlpha(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBUnitCell, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBUnitCell_GetAlpha" "', argument " "1"" of type '" "OpenBabel::OBUnitCell *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBUnitCell * >(argp1); result = (double)(arg1)->GetAlpha();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBUnitCell_GetBeta) { { OpenBabel::OBUnitCell *arg1 = (OpenBabel::OBUnitCell *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBUnitCell_GetBeta(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBUnitCell, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBUnitCell_GetBeta" "', argument " "1"" of type '" "OpenBabel::OBUnitCell *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBUnitCell * >(argp1); result = (double)(arg1)->GetBeta();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBUnitCell_GetGamma) { { OpenBabel::OBUnitCell *arg1 = (OpenBabel::OBUnitCell *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBUnitCell_GetGamma(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBUnitCell, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBUnitCell_GetGamma" "', argument " "1"" of type '" "OpenBabel::OBUnitCell *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBUnitCell * >(argp1); result = (double)(arg1)->GetGamma();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBUnitCell_GetOffset) { { OpenBabel::OBUnitCell *arg1 = (OpenBabel::OBUnitCell *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::vector3 result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBUnitCell_GetOffset(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBUnitCell, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBUnitCell_GetOffset" "', argument " "1"" of type '" "OpenBabel::OBUnitCell *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBUnitCell * >(argp1); result = (arg1)->GetOffset();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::vector3(static_cast< const OpenBabel::vector3& >(result))), SWIGTYPE_p_OpenBabel__vector3, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBUnitCell_GetSpaceGroup) { { OpenBabel::OBUnitCell *arg1 = (OpenBabel::OBUnitCell *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::SpaceGroup *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBUnitCell_GetSpaceGroup(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBUnitCell, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBUnitCell_GetSpaceGroup" "', argument " "1"" of type '" "OpenBabel::OBUnitCell *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBUnitCell * >(argp1); result = (OpenBabel::SpaceGroup *)(arg1)->GetSpaceGroup();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__SpaceGroup, 0 | 0); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBUnitCell_GetSpaceGroupName) { { OpenBabel::OBUnitCell *arg1 = (OpenBabel::OBUnitCell *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::string result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBUnitCell_GetSpaceGroupName(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBUnitCell, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBUnitCell_GetSpaceGroupName" "', argument " "1"" of type '" "OpenBabel::OBUnitCell *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBUnitCell * >(argp1); result = (arg1)->GetSpaceGroupName();
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBUnitCell_GetLatticeType__SWIG_0) { { OpenBabel::OBUnitCell *arg1 = (OpenBabel::OBUnitCell *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::OBUnitCell::LatticeType result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBUnitCell_GetLatticeType(self,spacegroup);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBUnitCell, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBUnitCell_GetLatticeType" "', argument " "1"" of type '" "OpenBabel::OBUnitCell *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBUnitCell * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBUnitCell_GetLatticeType" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (OpenBabel::OBUnitCell::LatticeType)(arg1)->GetLatticeType(arg2);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBUnitCell_GetLatticeType__SWIG_1) { { OpenBabel::OBUnitCell *arg1 = (OpenBabel::OBUnitCell *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBUnitCell::LatticeType result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBUnitCell_GetLatticeType(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBUnitCell, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBUnitCell_GetLatticeType" "', argument " "1"" of type '" "OpenBabel::OBUnitCell *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBUnitCell * >(argp1);
    result = (OpenBabel::OBUnitCell::LatticeType)(arg1)->GetLatticeType();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBUnitCell_GetLatticeType) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBUnitCell, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBUnitCell, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBUnitCell_GetLatticeType__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBUnitCell_GetLatticeType__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBUnitCell_GetLatticeType'"); XSRETURN(0); }
XS(_wrap_OBUnitCell_GetCellVectors) { { OpenBabel::OBUnitCell *arg1 = (OpenBabel::OBUnitCell *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::vector< OpenBabel::vector3 > result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBUnitCell_GetCellVectors(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBUnitCell, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBUnitCell_GetCellVectors" "', argument " "1"" of type '" "OpenBabel::OBUnitCell *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBUnitCell * >(argp1); result = (arg1)->GetCellVectors(); {
      size_t len = (&result)->size(); SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) {
        OpenBabel::vector3* ptr = new OpenBabel::vector3(result[i]); svs[i] = sv_newmortal(); SWIG_MakePtr(svs[i], (void*) ptr, 
        SWIGTYPE_p_OpenBabel__vector3, SWIG_SHADOW|0); }  AV *myav = av_make(len, svs); delete[] svs;
      ST(argvi) = newRV_noinc((SV*) myav); sv_2mortal(ST(argvi)); argvi++; }  XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBUnitCell_GetCellMatrix) { { OpenBabel::OBUnitCell *arg1 = (OpenBabel::OBUnitCell *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::matrix3x3 result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBUnitCell_GetCellMatrix(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBUnitCell, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBUnitCell_GetCellMatrix" "', argument " "1"" of type '" "OpenBabel::OBUnitCell *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBUnitCell * >(argp1); result = (arg1)->GetCellMatrix();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::matrix3x3(static_cast< const OpenBabel::matrix3x3& >(result))), SWIGTYPE_p_OpenBabel__matrix3x3, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBUnitCell_GetOrthoMatrix) { { OpenBabel::OBUnitCell *arg1 = (OpenBabel::OBUnitCell *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::matrix3x3 result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBUnitCell_GetOrthoMatrix(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBUnitCell, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBUnitCell_GetOrthoMatrix" "', argument " "1"" of type '" "OpenBabel::OBUnitCell *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBUnitCell * >(argp1); result = (arg1)->GetOrthoMatrix();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::matrix3x3(static_cast< const OpenBabel::matrix3x3& >(result))), SWIGTYPE_p_OpenBabel__matrix3x3, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBUnitCell_GetOrientationMatrix) { { OpenBabel::OBUnitCell *arg1 = (OpenBabel::OBUnitCell *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::matrix3x3 result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBUnitCell_GetOrientationMatrix(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBUnitCell, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBUnitCell_GetOrientationMatrix" "', argument " "1"" of type '" "OpenBabel::OBUnitCell *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBUnitCell * >(argp1); result = (arg1)->GetOrientationMatrix();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::matrix3x3(static_cast< const OpenBabel::matrix3x3& >(result))), SWIGTYPE_p_OpenBabel__matrix3x3, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBUnitCell_GetFractionalMatrix) { { OpenBabel::OBUnitCell *arg1 = (OpenBabel::OBUnitCell *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::matrix3x3 result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBUnitCell_GetFractionalMatrix(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBUnitCell, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBUnitCell_GetFractionalMatrix" "', argument " "1"" of type '" "OpenBabel::OBUnitCell *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBUnitCell * >(argp1); result = (arg1)->GetFractionalMatrix();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::matrix3x3(static_cast< const OpenBabel::matrix3x3& >(result))), SWIGTYPE_p_OpenBabel__matrix3x3, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBUnitCell_FractionalToCartesian) { { OpenBabel::OBUnitCell *arg1 = (OpenBabel::OBUnitCell *) 0 ;
    OpenBabel::vector3 arg2 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; int argvi = 0;
    OpenBabel::vector3 result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBUnitCell_FractionalToCartesian(self,frac);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBUnitCell, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBUnitCell_FractionalToCartesian" "', argument " "1"" of type '" "OpenBabel::OBUnitCell *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBUnitCell * >(argp1); {
      res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBUnitCell_FractionalToCartesian" "', argument " "2"" of type '" "OpenBabel::vector3""'");  }
         if (!argp2) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBUnitCell_FractionalToCartesian" "', argument " "2"" of type '" "OpenBabel::vector3""'"); }
       else { arg2 = *(reinterpret_cast< OpenBabel::vector3 * >(argp2)); }  }  result = (arg1)->FractionalToCartesian(arg2);
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::vector3(static_cast< const OpenBabel::vector3& >(result))), SWIGTYPE_p_OpenBabel__vector3, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBUnitCell_CartesianToFractional) { { OpenBabel::OBUnitCell *arg1 = (OpenBabel::OBUnitCell *) 0 ;
    OpenBabel::vector3 arg2 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; int argvi = 0;
    OpenBabel::vector3 result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBUnitCell_CartesianToFractional(self,cart);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBUnitCell, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBUnitCell_CartesianToFractional" "', argument " "1"" of type '" "OpenBabel::OBUnitCell *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBUnitCell * >(argp1); {
      res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBUnitCell_CartesianToFractional" "', argument " "2"" of type '" "OpenBabel::vector3""'");  }
         if (!argp2) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBUnitCell_CartesianToFractional" "', argument " "2"" of type '" "OpenBabel::vector3""'"); }
       else { arg2 = *(reinterpret_cast< OpenBabel::vector3 * >(argp2)); }  }  result = (arg1)->CartesianToFractional(arg2);
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::vector3(static_cast< const OpenBabel::vector3& >(result))), SWIGTYPE_p_OpenBabel__vector3, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBUnitCell_WrapCartesianCoordinate) { { OpenBabel::OBUnitCell *arg1 = (OpenBabel::OBUnitCell *) 0 ;
    OpenBabel::vector3 arg2 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; int argvi = 0;
    OpenBabel::vector3 result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBUnitCell_WrapCartesianCoordinate(self,cart);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBUnitCell, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBUnitCell_WrapCartesianCoordinate" "', argument " "1"" of type '" "OpenBabel::OBUnitCell *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBUnitCell * >(argp1); {
      res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBUnitCell_WrapCartesianCoordinate" "', argument " "2"" of type '" "OpenBabel::vector3""'");  }
         if (!argp2) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBUnitCell_WrapCartesianCoordinate" "', argument " "2"" of type '" "OpenBabel::vector3""'"); }
       else { arg2 = *(reinterpret_cast< OpenBabel::vector3 * >(argp2)); }  }  result = (arg1)->WrapCartesianCoordinate(arg2);
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::vector3(static_cast< const OpenBabel::vector3& >(result))), SWIGTYPE_p_OpenBabel__vector3, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBUnitCell_WrapFractionalCoordinate) { { OpenBabel::OBUnitCell *arg1 = (OpenBabel::OBUnitCell *) 0 ;
    OpenBabel::vector3 arg2 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; int argvi = 0;
    OpenBabel::vector3 result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBUnitCell_WrapFractionalCoordinate(self,frac);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBUnitCell, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBUnitCell_WrapFractionalCoordinate" "', argument " "1"" of type '" "OpenBabel::OBUnitCell *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBUnitCell * >(argp1); {
      res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBUnitCell_WrapFractionalCoordinate" "', argument " "2"" of type '" "OpenBabel::vector3""'");  }
         if (!argp2) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBUnitCell_WrapFractionalCoordinate" "', argument " "2"" of type '" "OpenBabel::vector3""'"); }
       else { arg2 = *(reinterpret_cast< OpenBabel::vector3 * >(argp2)); }  }  result = (arg1)->WrapFractionalCoordinate(arg2);
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::vector3(static_cast< const OpenBabel::vector3& >(result))), SWIGTYPE_p_OpenBabel__vector3, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBUnitCell_GetSpaceGroupNumber__SWIG_0) { { OpenBabel::OBUnitCell *arg1 = (OpenBabel::OBUnitCell *) 0 ;
    std::string arg2 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBUnitCell_GetSpaceGroupNumber(self,name);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBUnitCell, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBUnitCell_GetSpaceGroupNumber" "', argument " "1"" of type '" "OpenBabel::OBUnitCell *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBUnitCell * >(argp1); { std::string *ptr = (std::string *)0;
      int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "OBUnitCell_GetSpaceGroupNumber" "', argument " "2"" of type '" "std::string""'");  }
       arg2 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; }  result = (int)(arg1)->GetSpaceGroupNumber(arg2);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBUnitCell_GetSpaceGroupNumber__SWIG_1) { { OpenBabel::OBUnitCell *arg1 = (OpenBabel::OBUnitCell *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBUnitCell_GetSpaceGroupNumber(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBUnitCell, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBUnitCell_GetSpaceGroupNumber" "', argument " "1"" of type '" "OpenBabel::OBUnitCell *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBUnitCell * >(argp1); result = (int)(arg1)->GetSpaceGroupNumber();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBUnitCell_GetSpaceGroupNumber) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBUnitCell, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBUnitCell, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBUnitCell_GetSpaceGroupNumber__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBUnitCell_GetSpaceGroupNumber__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBUnitCell_GetSpaceGroupNumber'"); XSRETURN(0); }
XS(_wrap_OBUnitCell_GetCellVolume) { { OpenBabel::OBUnitCell *arg1 = (OpenBabel::OBUnitCell *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBUnitCell_GetCellVolume(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBUnitCell, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBUnitCell_GetCellVolume" "', argument " "1"" of type '" "OpenBabel::OBUnitCell *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBUnitCell * >(argp1); result = (double)(arg1)->GetCellVolume();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_new_OBConformerData__SWIG_0) { { int argvi = 0; OpenBabel::OBConformerData *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_OBConformerData();"); } 
    result = (OpenBabel::OBConformerData *)new OpenBabel::OBConformerData();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBConformerData, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBConformerData__SWIG_1) { { OpenBabel::OBConformerData *arg1 = 0 ; void *argp1 ; int res1 = 0 ; int argvi = 0;
    OpenBabel::OBConformerData *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new_OBConformerData(OpenBabel::OBConformerData const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBConformerData,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBConformerData" "', argument " "1"" of type '" "OpenBabel::OBConformerData const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBConformerData" "', argument " "1"" of type '" "OpenBabel::OBConformerData const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBConformerData * >(argp1);
    result = (OpenBabel::OBConformerData *)new OpenBabel::OBConformerData((OpenBabel::OBConformerData const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBConformerData, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBConformerData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBConformerData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBConformerData__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBConformerData__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'new_OBConformerData'"); XSRETURN(0); }
XS(_wrap_delete_OBConformerData) { { OpenBabel::OBConformerData *arg1 = (OpenBabel::OBConformerData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: delete_OBConformerData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConformerData, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBConformerData" "', argument " "1"" of type '" "OpenBabel::OBConformerData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConformerData * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBConformerData_SetDimension) { { OpenBabel::OBConformerData *arg1 = (OpenBabel::OBConformerData *) 0 ;
    std::vector< unsigned short > arg2 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBConformerData_SetDimension(self,vd);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConformerData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConformerData_SetDimension" "', argument " "1"" of type '" "OpenBabel::OBConformerData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConformerData * >(argp1); {
      res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_unsigned_short_t,  0 ); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConformerData_SetDimension" "', argument " "2"" of type '" "std::vector< unsigned short >""'");  }
         if (!argp2) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBConformerData_SetDimension" "', argument " "2"" of type '" "std::vector< unsigned short >""'"); }
       else { arg2 = *(reinterpret_cast< std::vector< unsigned short > * >(argp2)); }  }  (arg1)->SetDimension(arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBConformerData_SetEnergies) { { OpenBabel::OBConformerData *arg1 = (OpenBabel::OBConformerData *) 0 ;
    std::vector< double > arg2 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< double > *v2 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBConformerData_SetEnergies(self,ve);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConformerData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConformerData_SetEnergies" "', argument " "1"" of type '" "OpenBabel::OBConformerData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConformerData * >(argp1); { if (SWIG_ConvertPtr(ST(1),(void **) &v2, 
      SWIGTYPE_p_std__vectorT_double_t,1) != -1){ arg2 = *v2; }  else if (SvROK(ST(1))) { AV *av = (AV *)SvRV(ST(1));
        if (SvTYPE(av) != SVt_PVAV) SWIG_croak("Type error in argument 2 of OBConformerData_SetEnergies. "
        "Expected an array of ""double"); SV **tv; I32 len = av_len(av) + 1; for (int i=0; i<len; i++) {
          tv = av_fetch(av, i, 0); if (SvNIOK(*tv)) { (&arg2)->push_back((double)SwigSvToNumber(*tv)); }  else {
            SWIG_croak("Type error in argument 2 of " "OBConformerData_SetEnergies. " "Expected an array of ""double"); }  }  }
       else { SWIG_croak("Type error in argument 2 of OBConformerData_SetEnergies. " "Expected an array of ""double"); }  } 
    (arg1)->SetEnergies(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBConformerData_SetForces) { { OpenBabel::OBConformerData *arg1 = (OpenBabel::OBConformerData *) 0 ;
    SwigValueWrapper< std::vector< std::vector< OpenBabel::vector3 > > > arg2 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ;
    int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBConformerData_SetForces(self,vf);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConformerData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConformerData_SetForces" "', argument " "1"" of type '" "OpenBabel::OBConformerData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConformerData * >(argp1); {
      res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_std__vectorT_OpenBabel__vector3_t_t,  0 );
      if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConformerData_SetForces" "', argument " "2"" of type '" "std::vector< std::vector< OpenBabel::vector3 > >""'");  }
         if (!argp2) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBConformerData_SetForces" "', argument " "2"" of type '" "std::vector< std::vector< OpenBabel::vector3 > >""'"); }
       else { arg2 = *(reinterpret_cast< std::vector< std::vector< OpenBabel::vector3 > > * >(argp2)); }  } 
    (arg1)->SetForces(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBConformerData_SetVelocities) { { OpenBabel::OBConformerData *arg1 = (OpenBabel::OBConformerData *) 0 ;
    SwigValueWrapper< std::vector< std::vector< OpenBabel::vector3 > > > arg2 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ;
    int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBConformerData_SetVelocities(self,vv);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConformerData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConformerData_SetVelocities" "', argument " "1"" of type '" "OpenBabel::OBConformerData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConformerData * >(argp1); {
      res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_std__vectorT_OpenBabel__vector3_t_t,  0 );
      if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConformerData_SetVelocities" "', argument " "2"" of type '" "std::vector< std::vector< OpenBabel::vector3 > >""'");  }
         if (!argp2) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBConformerData_SetVelocities" "', argument " "2"" of type '" "std::vector< std::vector< OpenBabel::vector3 > >""'"); }
       else { arg2 = *(reinterpret_cast< std::vector< std::vector< OpenBabel::vector3 > > * >(argp2)); }  } 
    (arg1)->SetVelocities(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBConformerData_SetDisplacements) { { OpenBabel::OBConformerData *arg1 = (OpenBabel::OBConformerData *) 0 ;
    SwigValueWrapper< std::vector< std::vector< OpenBabel::vector3 > > > arg2 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ;
    int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBConformerData_SetDisplacements(self,vd);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConformerData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConformerData_SetDisplacements" "', argument " "1"" of type '" "OpenBabel::OBConformerData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConformerData * >(argp1); {
      res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_std__vectorT_OpenBabel__vector3_t_t,  0 );
      if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConformerData_SetDisplacements" "', argument " "2"" of type '" "std::vector< std::vector< OpenBabel::vector3 > >""'");  }
         if (!argp2) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBConformerData_SetDisplacements" "', argument " "2"" of type '" "std::vector< std::vector< OpenBabel::vector3 > >""'"); }
       else { arg2 = *(reinterpret_cast< std::vector< std::vector< OpenBabel::vector3 > > * >(argp2)); }  } 
    (arg1)->SetDisplacements(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBConformerData_SetData) { { OpenBabel::OBConformerData *arg1 = (OpenBabel::OBConformerData *) 0 ;
    std::vector< std::string > arg2 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< std::string > *v2 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBConformerData_SetData(self,vdat);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConformerData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConformerData_SetData" "', argument " "1"" of type '" "OpenBabel::OBConformerData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConformerData * >(argp1); { if (SWIG_ConvertPtr(ST(1),(void **) &v2, 
      SWIGTYPE_p_std__vectorT_std__string_t,1) != -1){ arg2 = *v2; }  else if (SvROK(ST(1))) { AV *av = (AV *)SvRV(ST(1));
        if (SvTYPE(av) != SVt_PVAV) SWIG_croak("Type error in argument 2 of OBConformerData_SetData. "
        "Expected an array of ""std::string"); SV **tv; I32 len = av_len(av) + 1; for (int i=0; i<len; i++) {
          tv = av_fetch(av, i, 0); if (SvPOK(*tv)) { (&arg2)->push_back((std::string)SwigSvToString(*tv)); }  else {
            SWIG_croak("Type error in argument 2 of " "OBConformerData_SetData. " "Expected an array of ""std::string"); }  }  }
       else { SWIG_croak("Type error in argument 2 of OBConformerData_SetData. " "Expected an array of ""std::string"); }  } 
    (arg1)->SetData(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBConformerData_GetDimension) { { OpenBabel::OBConformerData *arg1 = (OpenBabel::OBConformerData *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; std::vector< unsigned short > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBConformerData_GetDimension(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConformerData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConformerData_GetDimension" "', argument " "1"" of type '" "OpenBabel::OBConformerData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConformerData * >(argp1); result = (arg1)->GetDimension();
    ST(argvi) = SWIG_NewPointerObj((new std::vector< unsigned short >(static_cast< const std::vector< unsigned short >& >(result))), SWIGTYPE_p_std__vectorT_unsigned_short_t, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBConformerData_GetEnergies) { { OpenBabel::OBConformerData *arg1 = (OpenBabel::OBConformerData *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; std::vector< double > result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBConformerData_GetEnergies(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConformerData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConformerData_GetEnergies" "', argument " "1"" of type '" "OpenBabel::OBConformerData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConformerData * >(argp1); result = (arg1)->GetEnergies(); {
      size_t len = (&result)->size(); SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) { svs[i] = sv_newmortal();
        sv_setnv(svs[i], result[i]); }  AV *myav = av_make(len, svs); delete[] svs; ST(argvi) = newRV_noinc((SV*) myav);
      sv_2mortal(ST(argvi)); argvi++; }  XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBConformerData_GetForces) { { OpenBabel::OBConformerData *arg1 = (OpenBabel::OBConformerData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< std::vector< OpenBabel::vector3 > > > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBConformerData_GetForces(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConformerData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConformerData_GetForces" "', argument " "1"" of type '" "OpenBabel::OBConformerData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConformerData * >(argp1); result = (arg1)->GetForces();
    ST(argvi) = SWIG_NewPointerObj((new std::vector< std::vector< OpenBabel::vector3 > >(static_cast< const std::vector< std::vector< OpenBabel::vector3 > >& >(result))), SWIGTYPE_p_std__vectorT_std__vectorT_OpenBabel__vector3_t_t, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBConformerData_GetVelocities) { { OpenBabel::OBConformerData *arg1 = (OpenBabel::OBConformerData *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< std::vector< OpenBabel::vector3 > > > result;
    dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBConformerData_GetVelocities(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConformerData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConformerData_GetVelocities" "', argument " "1"" of type '" "OpenBabel::OBConformerData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConformerData * >(argp1); result = (arg1)->GetVelocities();
    ST(argvi) = SWIG_NewPointerObj((new std::vector< std::vector< OpenBabel::vector3 > >(static_cast< const std::vector< std::vector< OpenBabel::vector3 > >& >(result))), SWIGTYPE_p_std__vectorT_std__vectorT_OpenBabel__vector3_t_t, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBConformerData_GetDisplacements) { { OpenBabel::OBConformerData *arg1 = (OpenBabel::OBConformerData *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< std::vector< OpenBabel::vector3 > > > result;
    dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBConformerData_GetDisplacements(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConformerData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConformerData_GetDisplacements" "', argument " "1"" of type '" "OpenBabel::OBConformerData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConformerData * >(argp1); result = (arg1)->GetDisplacements();
    ST(argvi) = SWIG_NewPointerObj((new std::vector< std::vector< OpenBabel::vector3 > >(static_cast< const std::vector< std::vector< OpenBabel::vector3 > >& >(result))), SWIGTYPE_p_std__vectorT_std__vectorT_OpenBabel__vector3_t_t, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBConformerData_GetData) { { OpenBabel::OBConformerData *arg1 = (OpenBabel::OBConformerData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::vector< std::string > result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBConformerData_GetData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConformerData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConformerData_GetData" "', argument " "1"" of type '" "OpenBabel::OBConformerData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConformerData * >(argp1); result = (arg1)->GetData(); {
      size_t len = (&result)->size(); SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) { svs[i] = sv_newmortal();
        SwigSvFromString(svs[i], result[i]); }  AV *myav = av_make(len, svs); delete[] svs; ST(argvi) = newRV_noinc((SV*) myav);
      sv_2mortal(ST(argvi)); argvi++; }  XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBSymmetryData__SWIG_0) { { int argvi = 0; OpenBabel::OBSymmetryData *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_OBSymmetryData();"); } 
    result = (OpenBabel::OBSymmetryData *)new OpenBabel::OBSymmetryData();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBSymmetryData, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBSymmetryData__SWIG_1) { { OpenBabel::OBSymmetryData *arg1 = 0 ; void *argp1 ; int res1 = 0 ; int argvi = 0;
    OpenBabel::OBSymmetryData *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new_OBSymmetryData(OpenBabel::OBSymmetryData const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBSymmetryData,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBSymmetryData" "', argument " "1"" of type '" "OpenBabel::OBSymmetryData const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBSymmetryData" "', argument " "1"" of type '" "OpenBabel::OBSymmetryData const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBSymmetryData * >(argp1);
    result = (OpenBabel::OBSymmetryData *)new OpenBabel::OBSymmetryData((OpenBabel::OBSymmetryData const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBSymmetryData, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBSymmetryData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBSymmetryData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBSymmetryData__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBSymmetryData__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'new_OBSymmetryData'"); XSRETURN(0); }
XS(_wrap_delete_OBSymmetryData) { { OpenBabel::OBSymmetryData *arg1 = (OpenBabel::OBSymmetryData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBSymmetryData(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSymmetryData, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBSymmetryData" "', argument " "1"" of type '" "OpenBabel::OBSymmetryData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSymmetryData * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBSymmetryData_SetData__SWIG_0) { { OpenBabel::OBSymmetryData *arg1 = (OpenBabel::OBSymmetryData *) 0 ;
    std::string arg2 ; std::string arg3 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBSymmetryData_SetData(self,pg,sg);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSymmetryData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSymmetryData_SetData" "', argument " "1"" of type '" "OpenBabel::OBSymmetryData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSymmetryData * >(argp1); { std::string *ptr = (std::string *)0;
      int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "OBSymmetryData_SetData" "', argument " "2"" of type '" "std::string""'");  }
       arg2 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; }  { std::string *ptr = (std::string *)0;
      int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), &ptr); if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "OBSymmetryData_SetData" "', argument " "3"" of type '" "std::string""'");  }
       arg3 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; }  (arg1)->SetData(arg2,arg3); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBSymmetryData_SetData__SWIG_1) { { OpenBabel::OBSymmetryData *arg1 = (OpenBabel::OBSymmetryData *) 0 ;
    std::string arg2 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBSymmetryData_SetData(self,pg);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSymmetryData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSymmetryData_SetData" "', argument " "1"" of type '" "OpenBabel::OBSymmetryData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSymmetryData * >(argp1); { std::string *ptr = (std::string *)0;
      int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "OBSymmetryData_SetData" "', argument " "2"" of type '" "std::string""'");  }
       arg2 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; }  (arg1)->SetData(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBSymmetryData_SetData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBSymmetryData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBSymmetryData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBSymmetryData_SetData__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBSymmetryData_SetData__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBSymmetryData_SetData'"); XSRETURN(0); }
XS(_wrap_OBSymmetryData_SetPointGroup) { { OpenBabel::OBSymmetryData *arg1 = (OpenBabel::OBSymmetryData *) 0 ;
    std::string arg2 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBSymmetryData_SetPointGroup(self,pg);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSymmetryData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSymmetryData_SetPointGroup" "', argument " "1"" of type '" "OpenBabel::OBSymmetryData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSymmetryData * >(argp1); { std::string *ptr = (std::string *)0;
      int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "OBSymmetryData_SetPointGroup" "', argument " "2"" of type '" "std::string""'");  }
       arg2 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; }  (arg1)->SetPointGroup(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBSymmetryData_SetSpaceGroup) { { OpenBabel::OBSymmetryData *arg1 = (OpenBabel::OBSymmetryData *) 0 ;
    std::string arg2 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBSymmetryData_SetSpaceGroup(self,sg);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSymmetryData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSymmetryData_SetSpaceGroup" "', argument " "1"" of type '" "OpenBabel::OBSymmetryData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSymmetryData * >(argp1); { std::string *ptr = (std::string *)0;
      int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "OBSymmetryData_SetSpaceGroup" "', argument " "2"" of type '" "std::string""'");  }
       arg2 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; }  (arg1)->SetSpaceGroup(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBSymmetryData_GetPointGroup) { { OpenBabel::OBSymmetryData *arg1 = (OpenBabel::OBSymmetryData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::string result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBSymmetryData_GetPointGroup(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSymmetryData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSymmetryData_GetPointGroup" "', argument " "1"" of type '" "OpenBabel::OBSymmetryData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSymmetryData * >(argp1); result = (arg1)->GetPointGroup();
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBSymmetryData_GetSpaceGroup) { { OpenBabel::OBSymmetryData *arg1 = (OpenBabel::OBSymmetryData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::string result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBSymmetryData_GetSpaceGroup(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSymmetryData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSymmetryData_GetSpaceGroup" "', argument " "1"" of type '" "OpenBabel::OBSymmetryData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSymmetryData * >(argp1); result = (arg1)->GetSpaceGroup();
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBTorsion__SWIG_2) { { OpenBabel::OBTorsion *arg1 = 0 ; void *argp1 ; int res1 = 0 ; int argvi = 0;
    OpenBabel::OBTorsion *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new_OBTorsion(OpenBabel::OBTorsion const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBTorsion,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBTorsion" "', argument " "1"" of type '" "OpenBabel::OBTorsion const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBTorsion" "', argument " "1"" of type '" "OpenBabel::OBTorsion const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBTorsion * >(argp1);
    result = (OpenBabel::OBTorsion *)new OpenBabel::OBTorsion((OpenBabel::OBTorsion const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBTorsion, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBTorsion) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBTorsion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBTorsion__SWIG_2); return; }  } 
  croak("No matching function for overloaded 'new_OBTorsion'"); XSRETURN(0); }
XS(_wrap_delete_OBTorsion) { { OpenBabel::OBTorsion *arg1 = (OpenBabel::OBTorsion *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBTorsion(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBTorsion, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBTorsion" "', argument " "1"" of type '" "OpenBabel::OBTorsion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBTorsion * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBTorsion_Clear) { { OpenBabel::OBTorsion *arg1 = (OpenBabel::OBTorsion *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBTorsion_Clear(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBTorsion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBTorsion_Clear" "', argument " "1"" of type '" "OpenBabel::OBTorsion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBTorsion * >(argp1); (arg1)->Clear(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBTorsion_Empty) { { OpenBabel::OBTorsion *arg1 = (OpenBabel::OBTorsion *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBTorsion_Empty(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBTorsion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBTorsion_Empty" "', argument " "1"" of type '" "OpenBabel::OBTorsion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBTorsion * >(argp1); result = (bool)(arg1)->Empty();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBTorsion_AddTorsion__SWIG_0) { { OpenBabel::OBTorsion *arg1 = (OpenBabel::OBTorsion *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; OpenBabel::OBAtom *arg3 = (OpenBabel::OBAtom *) 0 ;
    OpenBabel::OBAtom *arg4 = (OpenBabel::OBAtom *) 0 ; OpenBabel::OBAtom *arg5 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ;
    void *argp5 = 0 ; int res5 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 5) || (items > 5)) {
      SWIG_croak("Usage: OBTorsion_AddTorsion(self,a,b,c,d);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBTorsion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBTorsion_AddTorsion" "', argument " "1"" of type '" "OpenBabel::OBTorsion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBTorsion * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBTorsion_AddTorsion" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBTorsion_AddTorsion" "', argument " "3"" of type '" "OpenBabel::OBAtom *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBAtom * >(argp3);
    res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBTorsion_AddTorsion" "', argument " "4"" of type '" "OpenBabel::OBAtom *""'");  }
     arg4 = reinterpret_cast< OpenBabel::OBAtom * >(argp4);
    res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res5)) {
      SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "OBTorsion_AddTorsion" "', argument " "5"" of type '" "OpenBabel::OBAtom *""'");  }
     arg5 = reinterpret_cast< OpenBabel::OBAtom * >(argp5); result = (bool)(arg1)->AddTorsion(arg2,arg3,arg4,arg5);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBTorsion_AddTorsion__SWIG_1) { { OpenBabel::OBTorsion *arg1 = (OpenBabel::OBTorsion *) 0 ;
    OpenBabel::quad< OpenBabel::OBAtom *,OpenBabel::OBAtom *,OpenBabel::OBAtom *,OpenBabel::OBAtom * > *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBTorsion_AddTorsion(self,atoms);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBTorsion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBTorsion_AddTorsion" "', argument " "1"" of type '" "OpenBabel::OBTorsion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBTorsion * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__quadT_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_t,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBTorsion_AddTorsion" "', argument " "2"" of type '" "OpenBabel::quad< OpenBabel::OBAtom *,OpenBabel::OBAtom *,OpenBabel::OBAtom *,OpenBabel::OBAtom * > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBTorsion_AddTorsion" "', argument " "2"" of type '" "OpenBabel::quad< OpenBabel::OBAtom *,OpenBabel::OBAtom *,OpenBabel::OBAtom *,OpenBabel::OBAtom * > &""'"); }
    
    arg2 = reinterpret_cast< OpenBabel::quad< OpenBabel::OBAtom *,OpenBabel::OBAtom *,OpenBabel::OBAtom *,OpenBabel::OBAtom * > * >(argp2);
    result = (bool)(arg1)->AddTorsion(*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBTorsion_AddTorsion) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBTorsion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__quadT_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_t, 0);
        _v = SWIG_CheckState(res);}  if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1:
    if (items == 5) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBTorsion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(3), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(4), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBTorsion_AddTorsion__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBTorsion_AddTorsion__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBTorsion_AddTorsion'"); XSRETURN(0); }
XS(_wrap_OBTorsion_SetAngle__SWIG_0) { { OpenBabel::OBTorsion *arg1 = (OpenBabel::OBTorsion *) 0 ; double arg2 ;
    unsigned int arg3 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; unsigned int val3 ; int ecode3 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBTorsion_SetAngle(self,radians,index);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBTorsion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBTorsion_SetAngle" "', argument " "1"" of type '" "OpenBabel::OBTorsion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBTorsion * >(argp1); ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBTorsion_SetAngle" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBTorsion_SetAngle" "', argument " "3"" of type '" "unsigned int""'"); }
      arg3 = static_cast< unsigned int >(val3); result = (bool)(arg1)->SetAngle(arg2,arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBTorsion_SetAngle__SWIG_1) { { OpenBabel::OBTorsion *arg1 = (OpenBabel::OBTorsion *) 0 ; double arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBTorsion_SetAngle(self,radians);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBTorsion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBTorsion_SetAngle" "', argument " "1"" of type '" "OpenBabel::OBTorsion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBTorsion * >(argp1); ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBTorsion_SetAngle" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); result = (bool)(arg1)->SetAngle(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBTorsion_SetAngle) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBTorsion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBTorsion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBTorsion_SetAngle__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBTorsion_SetAngle__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBTorsion_SetAngle'"); XSRETURN(0); }
XS(_wrap_OBTorsion_SetData) { { OpenBabel::OBTorsion *arg1 = (OpenBabel::OBTorsion *) 0 ;
    OpenBabel::OBBond *arg2 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBTorsion_SetData(self,OpenBabel::OBBond *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBTorsion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBTorsion_SetData" "', argument " "1"" of type '" "OpenBabel::OBTorsion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBTorsion * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBTorsion_SetData" "', argument " "2"" of type '" "OpenBabel::OBBond *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBond * >(argp2); result = (bool)(arg1)->SetData(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBTorsion_GetAngle__SWIG_0) { { OpenBabel::OBTorsion *arg1 = (OpenBabel::OBTorsion *) 0 ; double *arg2 = 0 ;
    unsigned int arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; unsigned int val3 ; int ecode3 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBTorsion_GetAngle(self,radians,index);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBTorsion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBTorsion_GetAngle" "', argument " "1"" of type '" "OpenBabel::OBTorsion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBTorsion * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_double,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBTorsion_GetAngle" "', argument " "2"" of type '" "double &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBTorsion_GetAngle" "', argument " "2"" of type '" "double &""'"); }
     arg2 = reinterpret_cast< double * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBTorsion_GetAngle" "', argument " "3"" of type '" "unsigned int""'"); }
      arg3 = static_cast< unsigned int >(val3); result = (bool)(arg1)->GetAngle(*arg2,arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBTorsion_GetAngle__SWIG_1) { { OpenBabel::OBTorsion *arg1 = (OpenBabel::OBTorsion *) 0 ; double *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBTorsion_GetAngle(self,radians);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBTorsion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBTorsion_GetAngle" "', argument " "1"" of type '" "OpenBabel::OBTorsion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBTorsion * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_double,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBTorsion_GetAngle" "', argument " "2"" of type '" "double &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBTorsion_GetAngle" "', argument " "2"" of type '" "double &""'"); }
     arg2 = reinterpret_cast< double * >(argp2); result = (bool)(arg1)->GetAngle(*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBTorsion_GetAngle) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBTorsion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBTorsion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBTorsion_GetAngle__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBTorsion_GetAngle__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBTorsion_GetAngle'"); XSRETURN(0); }
XS(_wrap_OBTorsion_GetBondIdx) { { OpenBabel::OBTorsion *arg1 = (OpenBabel::OBTorsion *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBTorsion_GetBondIdx(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBTorsion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBTorsion_GetBondIdx" "', argument " "1"" of type '" "OpenBabel::OBTorsion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBTorsion * >(argp1); result = (unsigned int)(arg1)->GetBondIdx();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBTorsion_GetSize) { { OpenBabel::OBTorsion *arg1 = (OpenBabel::OBTorsion *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; size_t result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBTorsion_GetSize(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBTorsion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBTorsion_GetSize" "', argument " "1"" of type '" "OpenBabel::OBTorsion const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBTorsion * >(argp1); result = ((OpenBabel::OBTorsion const *)arg1)->GetSize();
    ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1(static_cast< size_t >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBTorsion_GetBC) { { OpenBabel::OBTorsion *arg1 = (OpenBabel::OBTorsion *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; SwigValueWrapper< std::pair< OpenBabel::OBAtom *,OpenBabel::OBAtom * > > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBTorsion_GetBC(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBTorsion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBTorsion_GetBC" "', argument " "1"" of type '" "OpenBabel::OBTorsion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBTorsion * >(argp1); result = (arg1)->GetBC();
    ST(argvi) = SWIG_NewPointerObj((new std::pair< OpenBabel::OBAtom *,OpenBabel::OBAtom * >(static_cast< const std::pair< OpenBabel::OBAtom *,OpenBabel::OBAtom * >& >(result))), SWIGTYPE_p_std__pairT_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_t, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBTorsion_GetADs) { { OpenBabel::OBTorsion *arg1 = (OpenBabel::OBTorsion *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0;
    SwigValueWrapper< std::vector< OpenBabel::triple< OpenBabel::OBAtom *,OpenBabel::OBAtom *,double > > > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBTorsion_GetADs(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBTorsion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBTorsion_GetADs" "', argument " "1"" of type '" "OpenBabel::OBTorsion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBTorsion * >(argp1); result = (arg1)->GetADs();
    ST(argvi) = SWIG_NewPointerObj((new std::vector< OpenBabel::triple< OpenBabel::OBAtom *,OpenBabel::OBAtom *,double > >(static_cast< const std::vector< OpenBabel::triple< OpenBabel::OBAtom *,OpenBabel::OBAtom *,double > >& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__tripleT_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_double_t_t, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBTorsion_IsProtonRotor) { { OpenBabel::OBTorsion *arg1 = (OpenBabel::OBTorsion *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBTorsion_IsProtonRotor(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBTorsion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBTorsion_IsProtonRotor" "', argument " "1"" of type '" "OpenBabel::OBTorsion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBTorsion * >(argp1); result = (bool)(arg1)->IsProtonRotor();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBTorsionData_Clear) { { OpenBabel::OBTorsionData *arg1 = (OpenBabel::OBTorsionData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBTorsionData_Clear(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBTorsionData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBTorsionData_Clear" "', argument " "1"" of type '" "OpenBabel::OBTorsionData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBTorsionData * >(argp1); (arg1)->Clear(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBTorsionData_GetData) { { OpenBabel::OBTorsionData *arg1 = (OpenBabel::OBTorsionData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBTorsion > > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBTorsionData_GetData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBTorsionData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBTorsionData_GetData" "', argument " "1"" of type '" "OpenBabel::OBTorsionData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBTorsionData * >(argp1); result = ((OpenBabel::OBTorsionData const *)arg1)->GetData();
    ST(argvi) = SWIG_NewPointerObj((new std::vector< OpenBabel::OBTorsion >(static_cast< const std::vector< OpenBabel::OBTorsion >& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBTorsion_t, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBTorsionData_GetSize) { { OpenBabel::OBTorsionData *arg1 = (OpenBabel::OBTorsionData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; size_t result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBTorsionData_GetSize(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBTorsionData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBTorsionData_GetSize" "', argument " "1"" of type '" "OpenBabel::OBTorsionData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBTorsionData * >(argp1); result = ((OpenBabel::OBTorsionData const *)arg1)->GetSize();
    ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1(static_cast< size_t >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBTorsionData_SetData) { { OpenBabel::OBTorsionData *arg1 = (OpenBabel::OBTorsionData *) 0 ;
    OpenBabel::OBTorsion *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBTorsionData_SetData(self,torsion);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBTorsionData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBTorsionData_SetData" "', argument " "1"" of type '" "OpenBabel::OBTorsionData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBTorsionData * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBTorsion,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBTorsionData_SetData" "', argument " "2"" of type '" "OpenBabel::OBTorsion &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBTorsionData_SetData" "', argument " "2"" of type '" "OpenBabel::OBTorsion &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBTorsion * >(argp2); (arg1)->SetData(*arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBTorsionData_FillTorsionArray) { { OpenBabel::OBTorsionData *arg1 = (OpenBabel::OBTorsionData *) 0 ;
    std::vector< std::vector< unsigned int > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBTorsionData_FillTorsionArray(self,torsions);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBTorsionData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBTorsionData_FillTorsionArray" "', argument " "1"" of type '" "OpenBabel::OBTorsionData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBTorsionData * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_t_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBTorsionData_FillTorsionArray" "', argument " "2"" of type '" "std::vector< std::vector< unsigned int > > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBTorsionData_FillTorsionArray" "', argument " "2"" of type '" "std::vector< std::vector< unsigned int > > &""'"); }
     arg2 = reinterpret_cast< std::vector< std::vector< unsigned int > > * >(argp2);
    result = (bool)(arg1)->FillTorsionArray(*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_delete_OBTorsionData) { { OpenBabel::OBTorsionData *arg1 = (OpenBabel::OBTorsionData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBTorsionData(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBTorsionData, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBTorsionData" "', argument " "1"" of type '" "OpenBabel::OBTorsionData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBTorsionData * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBAngle__SWIG_2) { { OpenBabel::OBAngle *arg1 = 0 ; void *argp1 ; int res1 = 0 ; int argvi = 0;
    OpenBabel::OBAngle *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new_OBAngle(OpenBabel::OBAngle const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBAngle,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBAngle" "', argument " "1"" of type '" "OpenBabel::OBAngle const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBAngle" "', argument " "1"" of type '" "OpenBabel::OBAngle const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBAngle * >(argp1);
    result = (OpenBabel::OBAngle *)new OpenBabel::OBAngle((OpenBabel::OBAngle const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAngle, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBAngle) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAngle, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBAngle__SWIG_2); return; }  } 
  croak("No matching function for overloaded 'new_OBAngle'"); XSRETURN(0); }
XS(_wrap_delete_OBAngle) { { OpenBabel::OBAngle *arg1 = (OpenBabel::OBAngle *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBAngle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAngle, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBAngle" "', argument " "1"" of type '" "OpenBabel::OBAngle *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAngle * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAngle___eq__) { { OpenBabel::OBAngle *arg1 = (OpenBabel::OBAngle *) 0 ; OpenBabel::OBAngle *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBAngle___eq__(self,OpenBabel::OBAngle const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAngle, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAngle___eq__" "', argument " "1"" of type '" "OpenBabel::OBAngle *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAngle * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBAngle,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBAngle___eq__" "', argument " "2"" of type '" "OpenBabel::OBAngle const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBAngle___eq__" "', argument " "2"" of type '" "OpenBabel::OBAngle const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBAngle * >(argp2);
    result = (bool)(arg1)->operator ==((OpenBabel::OBAngle const &)*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAngle_Clear) { { OpenBabel::OBAngle *arg1 = (OpenBabel::OBAngle *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAngle_Clear(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAngle, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAngle_Clear" "', argument " "1"" of type '" "OpenBabel::OBAngle *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAngle * >(argp1); (arg1)->Clear(); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAngle_GetAngle) { { OpenBabel::OBAngle *arg1 = (OpenBabel::OBAngle *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAngle_GetAngle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAngle, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAngle_GetAngle" "', argument " "1"" of type '" "OpenBabel::OBAngle const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAngle * >(argp1); result = (double)((OpenBabel::OBAngle const *)arg1)->GetAngle();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAngle_SetAngle) { { OpenBabel::OBAngle *arg1 = (OpenBabel::OBAngle *) 0 ; double arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; double val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBAngle_SetAngle(self,angle);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAngle, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAngle_SetAngle" "', argument " "1"" of type '" "OpenBabel::OBAngle *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAngle * >(argp1); ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBAngle_SetAngle" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); (arg1)->SetAngle(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAngle_SetAtoms__SWIG_0) { { OpenBabel::OBAngle *arg1 = (OpenBabel::OBAngle *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; OpenBabel::OBAtom *arg3 = (OpenBabel::OBAtom *) 0 ;
    OpenBabel::OBAtom *arg4 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; int argvi = 0; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: OBAngle_SetAtoms(self,vertex,a,b);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAngle, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAngle_SetAtoms" "', argument " "1"" of type '" "OpenBabel::OBAngle *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAngle * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBAngle_SetAtoms" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBAngle_SetAtoms" "', argument " "3"" of type '" "OpenBabel::OBAtom *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBAtom * >(argp3);
    res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBAngle_SetAtoms" "', argument " "4"" of type '" "OpenBabel::OBAtom *""'");  }
     arg4 = reinterpret_cast< OpenBabel::OBAtom * >(argp4); (arg1)->SetAtoms(arg2,arg3,arg4); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAngle_SetAtoms__SWIG_1) { { OpenBabel::OBAngle *arg1 = (OpenBabel::OBAngle *) 0 ;
    OpenBabel::triple< OpenBabel::OBAtom *,OpenBabel::OBAtom *,OpenBabel::OBAtom * > *arg2 = 0 ; void *argp1 = 0 ;
    int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBAngle_SetAtoms(self,atoms);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAngle, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAngle_SetAtoms" "', argument " "1"" of type '" "OpenBabel::OBAngle *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAngle * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__tripleT_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_t,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBAngle_SetAtoms" "', argument " "2"" of type '" "OpenBabel::triple< OpenBabel::OBAtom *,OpenBabel::OBAtom *,OpenBabel::OBAtom * > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBAngle_SetAtoms" "', argument " "2"" of type '" "OpenBabel::triple< OpenBabel::OBAtom *,OpenBabel::OBAtom *,OpenBabel::OBAtom * > &""'"); }
     arg2 = reinterpret_cast< OpenBabel::triple< OpenBabel::OBAtom *,OpenBabel::OBAtom *,OpenBabel::OBAtom * > * >(argp2);
    (arg1)->SetAtoms(*arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAngle_SetAtoms) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAngle, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__tripleT_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_t, 0);
        _v = SWIG_CheckState(res);}  if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1:
    if (items == 4) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAngle, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(3), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBAngle_SetAtoms__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBAngle_SetAtoms__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBAngle_SetAtoms'"); XSRETURN(0); }
XS(_wrap_OBAngleData_Clear) { { OpenBabel::OBAngleData *arg1 = (OpenBabel::OBAngleData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAngleData_Clear(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAngleData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAngleData_Clear" "', argument " "1"" of type '" "OpenBabel::OBAngleData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAngleData * >(argp1); (arg1)->Clear(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBAngleData_FillAngleArray__SWIG_0) { { OpenBabel::OBAngleData *arg1 = (OpenBabel::OBAngleData *) 0 ;
    int **arg2 = (int **) 0 ; unsigned int *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBAngleData_FillAngleArray(self,angles,size);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAngleData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAngleData_FillAngleArray" "', argument " "1"" of type '" "OpenBabel::OBAngleData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAngleData * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_p_int, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBAngleData_FillAngleArray" "', argument " "2"" of type '" "int **""'");  }
     arg2 = reinterpret_cast< int ** >(argp2); res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_unsigned_int,  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBAngleData_FillAngleArray" "', argument " "3"" of type '" "unsigned int &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBAngleData_FillAngleArray" "', argument " "3"" of type '" "unsigned int &""'"); }
     arg3 = reinterpret_cast< unsigned int * >(argp3); result = (unsigned int)(arg1)->FillAngleArray(arg2,*arg3);
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAngleData_FillAngleArray__SWIG_1) { { OpenBabel::OBAngleData *arg1 = (OpenBabel::OBAngleData *) 0 ;
    std::vector< std::vector< unsigned int > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBAngleData_FillAngleArray(self,angles);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAngleData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAngleData_FillAngleArray" "', argument " "1"" of type '" "OpenBabel::OBAngleData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAngleData * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_t_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBAngleData_FillAngleArray" "', argument " "2"" of type '" "std::vector< std::vector< unsigned int > > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBAngleData_FillAngleArray" "', argument " "2"" of type '" "std::vector< std::vector< unsigned int > > &""'"); }
     arg2 = reinterpret_cast< std::vector< std::vector< unsigned int > > * >(argp2);
    result = (bool)(arg1)->FillAngleArray(*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAngleData_FillAngleArray) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAngleData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_t_t, 0);
        _v = SWIG_CheckState(res);}  if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1:
    if (items == 3) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAngleData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_p_int, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_unsigned_int, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBAngleData_FillAngleArray__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBAngleData_FillAngleArray__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBAngleData_FillAngleArray'"); XSRETURN(0); }
XS(_wrap_OBAngleData_SetData) { { OpenBabel::OBAngleData *arg1 = (OpenBabel::OBAngleData *) 0 ; OpenBabel::OBAngle *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBAngleData_SetData(self,OpenBabel::OBAngle &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAngleData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAngleData_SetData" "', argument " "1"" of type '" "OpenBabel::OBAngleData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAngleData * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBAngle,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBAngleData_SetData" "', argument " "2"" of type '" "OpenBabel::OBAngle &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBAngleData_SetData" "', argument " "2"" of type '" "OpenBabel::OBAngle &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBAngle * >(argp2); (arg1)->SetData(*arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAngleData_GetSize) { { OpenBabel::OBAngleData *arg1 = (OpenBabel::OBAngleData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; size_t result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAngleData_GetSize(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAngleData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAngleData_GetSize" "', argument " "1"" of type '" "OpenBabel::OBAngleData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAngleData * >(argp1); result = ((OpenBabel::OBAngleData const *)arg1)->GetSize();
    ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1(static_cast< size_t >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_delete_OBAngleData) { { OpenBabel::OBAngleData *arg1 = (OpenBabel::OBAngleData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBAngleData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAngleData, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBAngleData" "', argument " "1"" of type '" "OpenBabel::OBAngleData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAngleData * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_new_OBChiralData__SWIG_0) { { int argvi = 0; OpenBabel::OBChiralData *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_OBChiralData();"); } 
    result = (OpenBabel::OBChiralData *)new OpenBabel::OBChiralData();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBChiralData, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBChiralData__SWIG_1) { { OpenBabel::OBChiralData *arg1 = 0 ; void *argp1 ; int res1 = 0 ; int argvi = 0;
    OpenBabel::OBChiralData *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new_OBChiralData(src);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBChiralData,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBChiralData" "', argument " "1"" of type '" "OpenBabel::OBChiralData const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBChiralData" "', argument " "1"" of type '" "OpenBabel::OBChiralData const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBChiralData * >(argp1);
    result = (OpenBabel::OBChiralData *)new OpenBabel::OBChiralData((OpenBabel::OBChiralData const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBChiralData, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBChiralData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBChiralData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBChiralData__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBChiralData__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'new_OBChiralData'"); XSRETURN(0); }
XS(_wrap_delete_OBChiralData) { { OpenBabel::OBChiralData *arg1 = (OpenBabel::OBChiralData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBChiralData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBChiralData, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBChiralData" "', argument " "1"" of type '" "OpenBabel::OBChiralData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBChiralData * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBChiralData_Clear) { { OpenBabel::OBChiralData *arg1 = (OpenBabel::OBChiralData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBChiralData_Clear(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBChiralData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBChiralData_Clear" "', argument " "1"" of type '" "OpenBabel::OBChiralData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBChiralData * >(argp1); (arg1)->Clear(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBChiralData_GetAtom4Refs) { { OpenBabel::OBChiralData *arg1 = (OpenBabel::OBChiralData *) 0 ;
    OpenBabel::atomreftype arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0;
    std::vector< unsigned int > result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBChiralData_GetAtom4Refs(self,t);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBChiralData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBChiralData_GetAtom4Refs" "', argument " "1"" of type '" "OpenBabel::OBChiralData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBChiralData * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBChiralData_GetAtom4Refs" "', argument " "2"" of type '" "OpenBabel::atomreftype""'"); }
      arg2 = static_cast< OpenBabel::atomreftype >(val2); result = ((OpenBabel::OBChiralData const *)arg1)->GetAtom4Refs(arg2);
    { size_t len = (&result)->size(); SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) { svs[i] = sv_newmortal();
        sv_setiv(svs[i], result[i]); }  AV *myav = av_make(len, svs); delete[] svs; ST(argvi) = newRV_noinc((SV*) myav);
      sv_2mortal(ST(argvi)); argvi++; }  XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBChiralData_GetAtomRef) { { OpenBabel::OBChiralData *arg1 = (OpenBabel::OBChiralData *) 0 ; int arg2 ;
    OpenBabel::atomreftype arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBChiralData_GetAtomRef(self,a,t);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBChiralData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBChiralData_GetAtomRef" "', argument " "1"" of type '" "OpenBabel::OBChiralData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBChiralData * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBChiralData_GetAtomRef" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBChiralData_GetAtomRef" "', argument " "3"" of type '" "OpenBabel::atomreftype""'"); }
      arg3 = static_cast< OpenBabel::atomreftype >(val3); result = (unsigned int)(arg1)->GetAtomRef(arg2,arg3);
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBChiralData_SetAtom4Refs) { { OpenBabel::OBChiralData *arg1 = (OpenBabel::OBChiralData *) 0 ;
    std::vector< unsigned int > arg2 ; OpenBabel::atomreftype arg3 ; void *argp1 = 0 ; int res1 = 0 ;
    std::vector< unsigned int > *v2 ; int val3 ; int ecode3 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBChiralData_SetAtom4Refs(self,atom4refs,t);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBChiralData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBChiralData_SetAtom4Refs" "', argument " "1"" of type '" "OpenBabel::OBChiralData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBChiralData * >(argp1); { if (SWIG_ConvertPtr(ST(1),(void **) &v2, 
      SWIGTYPE_p_std__vectorT_unsigned_int_t,1) != -1){ arg2 = *v2; }  else if (SvROK(ST(1))) { AV *av = (AV *)SvRV(ST(1));
        if (SvTYPE(av) != SVt_PVAV) SWIG_croak("Type error in argument 2 of OBChiralData_SetAtom4Refs. "
        "Expected an array of ""unsigned int"); SV **tv; I32 len = av_len(av) + 1; for (int i=0; i<len; i++) {
          tv = av_fetch(av, i, 0); if (SvIOK(*tv)) { (&arg2)->push_back((unsigned int)SvIVX(*tv)); }  else {
            SWIG_croak("Type error in argument 2 of " "OBChiralData_SetAtom4Refs. " "Expected an array of ""unsigned int"); }  }
         }  else { SWIG_croak("Type error in argument 2 of OBChiralData_SetAtom4Refs. " "Expected an array of ""unsigned int"); }
       }  ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBChiralData_SetAtom4Refs" "', argument " "3"" of type '" "OpenBabel::atomreftype""'"); }
      arg3 = static_cast< OpenBabel::atomreftype >(val3); result = (bool)(arg1)->SetAtom4Refs(arg2,arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBChiralData_AddAtomRef) { { OpenBabel::OBChiralData *arg1 = (OpenBabel::OBChiralData *) 0 ; unsigned int arg2 ;
    OpenBabel::atomreftype arg3 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int val3 ;
    int ecode3 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBChiralData_AddAtomRef(self,atomref,t);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBChiralData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBChiralData_AddAtomRef" "', argument " "1"" of type '" "OpenBabel::OBChiralData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBChiralData * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBChiralData_AddAtomRef" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBChiralData_AddAtomRef" "', argument " "3"" of type '" "OpenBabel::atomreftype""'"); }
      arg3 = static_cast< OpenBabel::atomreftype >(val3); result = (int)(arg1)->AddAtomRef(arg2,arg3);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBChiralData_GetSize) { { OpenBabel::OBChiralData *arg1 = (OpenBabel::OBChiralData *) 0 ; OpenBabel::atomreftype arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; unsigned int result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBChiralData_GetSize(self,t);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBChiralData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBChiralData_GetSize" "', argument " "1"" of type '" "OpenBabel::OBChiralData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBChiralData * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBChiralData_GetSize" "', argument " "2"" of type '" "OpenBabel::atomreftype""'"); }
      arg2 = static_cast< OpenBabel::atomreftype >(val2);
    result = (unsigned int)((OpenBabel::OBChiralData const *)arg1)->GetSize(arg2);
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBSerialNums__SWIG_0) { { int argvi = 0; OpenBabel::OBSerialNums *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_OBSerialNums();"); } 
    result = (OpenBabel::OBSerialNums *)new OpenBabel::OBSerialNums();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBSerialNums, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBSerialNums__SWIG_1) { { OpenBabel::OBSerialNums *arg1 = 0 ; void *argp1 ; int res1 = 0 ; int argvi = 0;
    OpenBabel::OBSerialNums *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new_OBSerialNums(cp);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBSerialNums,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBSerialNums" "', argument " "1"" of type '" "OpenBabel::OBSerialNums const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBSerialNums" "', argument " "1"" of type '" "OpenBabel::OBSerialNums const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBSerialNums * >(argp1);
    result = (OpenBabel::OBSerialNums *)new OpenBabel::OBSerialNums((OpenBabel::OBSerialNums const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBSerialNums, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBSerialNums) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBSerialNums, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBSerialNums__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBSerialNums__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'new_OBSerialNums'"); XSRETURN(0); }
XS(_wrap_OBSerialNums_GetData) { { OpenBabel::OBSerialNums *arg1 = (OpenBabel::OBSerialNums *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::map< int,OpenBabel::OBAtom * > *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBSerialNums_GetData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSerialNums, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSerialNums_GetData" "', argument " "1"" of type '" "OpenBabel::OBSerialNums *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSerialNums * >(argp1);
    result = (std::map< int,OpenBabel::OBAtom * > *) &(arg1)->GetData();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__mapT_int_OpenBabel__OBAtom_p_t, 0 | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBSerialNums_SetData) { { OpenBabel::OBSerialNums *arg1 = (OpenBabel::OBSerialNums *) 0 ;
    std::map< int,OpenBabel::OBAtom * > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBSerialNums_SetData(self,sm);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSerialNums, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSerialNums_SetData" "', argument " "1"" of type '" "OpenBabel::OBSerialNums *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSerialNums * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__mapT_int_OpenBabel__OBAtom_p_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBSerialNums_SetData" "', argument " "2"" of type '" "std::map< int,OpenBabel::OBAtom * > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBSerialNums_SetData" "', argument " "2"" of type '" "std::map< int,OpenBabel::OBAtom * > &""'"); }
     arg2 = reinterpret_cast< std::map< int,OpenBabel::OBAtom * > * >(argp2); (arg1)->SetData(*arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBSerialNums) { { OpenBabel::OBSerialNums *arg1 = (OpenBabel::OBSerialNums *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBSerialNums(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSerialNums, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBSerialNums" "', argument " "1"" of type '" "OpenBabel::OBSerialNums *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSerialNums * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBVibrationData) { { int argvi = 0; OpenBabel::OBVibrationData *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_OBVibrationData();"); } 
    result = (OpenBabel::OBVibrationData *)new OpenBabel::OBVibrationData();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBVibrationData, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBVibrationData) { { OpenBabel::OBVibrationData *arg1 = (OpenBabel::OBVibrationData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: delete_OBVibrationData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBVibrationData, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBVibrationData" "', argument " "1"" of type '" "OpenBabel::OBVibrationData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBVibrationData * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBVibrationData_SetData__SWIG_0) { { OpenBabel::OBVibrationData *arg1 = (OpenBabel::OBVibrationData *) 0 ;
    std::vector< std::vector< OpenBabel::vector3 > > *arg2 = 0 ; std::vector< double > *arg3 = 0 ;
    std::vector< double > *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ;
    std::vector< double > temp3 ; std::vector< double > *v3 ; std::vector< double > temp4 ; std::vector< double > *v4 ;
    int argvi = 0; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: OBVibrationData_SetData(self,lx,frequencies,intensities);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBVibrationData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBVibrationData_SetData" "', argument " "1"" of type '" "OpenBabel::OBVibrationData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBVibrationData * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_std__vectorT_OpenBabel__vector3_t_t,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBVibrationData_SetData" "', argument " "2"" of type '" "std::vector< std::vector< OpenBabel::vector3 > > const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBVibrationData_SetData" "', argument " "2"" of type '" "std::vector< std::vector< OpenBabel::vector3 > > const &""'"); }
     arg2 = reinterpret_cast< std::vector< std::vector< OpenBabel::vector3 > > * >(argp2); {
      if (SWIG_ConvertPtr(ST(2),(void **) &v3,  SWIGTYPE_p_std__vectorT_double_t,1) != -1) { arg3 = v3; }
       else if (SvROK(ST(2))) { AV *av = (AV *)SvRV(ST(2)); if (SvTYPE(av) != SVt_PVAV)
        SWIG_croak("Type error in argument 3 of OBVibrationData_SetData. " "Expected an array of ""double"); SV **tv;
        I32 len = av_len(av) + 1; for (int i=0; i<len; i++) { tv = av_fetch(av, i, 0); if (SvNIOK(*tv)) {
            temp3.push_back((double)SwigSvToNumber(*tv)); }  else { SWIG_croak("Type error in argument 3 of "
            "OBVibrationData_SetData. " "Expected an array of ""double"); }  }  arg3 = &temp3; }  else {
        SWIG_croak("Type error in argument 3 of OBVibrationData_SetData. " "Expected an array of ""double"); }  }  {
      if (SWIG_ConvertPtr(ST(3),(void **) &v4,  SWIGTYPE_p_std__vectorT_double_t,1) != -1) { arg4 = v4; }
       else if (SvROK(ST(3))) { AV *av = (AV *)SvRV(ST(3)); if (SvTYPE(av) != SVt_PVAV)
        SWIG_croak("Type error in argument 4 of OBVibrationData_SetData. " "Expected an array of ""double"); SV **tv;
        I32 len = av_len(av) + 1; for (int i=0; i<len; i++) { tv = av_fetch(av, i, 0); if (SvNIOK(*tv)) {
            temp4.push_back((double)SwigSvToNumber(*tv)); }  else { SWIG_croak("Type error in argument 4 of "
            "OBVibrationData_SetData. " "Expected an array of ""double"); }  }  arg4 = &temp4; }  else {
        SWIG_croak("Type error in argument 4 of OBVibrationData_SetData. " "Expected an array of ""double"); }  } 
    (arg1)->SetData((std::vector< std::vector< OpenBabel::vector3 > > const &)*arg2,(std::vector< double > const &)*arg3,(std::vector< double > const &)*arg4);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBVibrationData_SetData__SWIG_1) { { OpenBabel::OBVibrationData *arg1 = (OpenBabel::OBVibrationData *) 0 ;
    std::vector< std::vector< OpenBabel::vector3 > > *arg2 = 0 ; std::vector< double > *arg3 = 0 ;
    std::vector< double > *arg4 = 0 ; std::vector< double > *arg5 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ;
    int res2 = 0 ; std::vector< double > temp3 ; std::vector< double > *v3 ; std::vector< double > temp4 ;
    std::vector< double > *v4 ; std::vector< double > temp5 ; std::vector< double > *v5 ; int argvi = 0; dXSARGS;
    if ((items < 5) || (items > 5)) {
      SWIG_croak("Usage: OBVibrationData_SetData(self,std::vector< std::vector< OpenBabel::vector3 > > const &,std::vector< double > const &,std::vector< double > const &,std::vector< double > const &);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBVibrationData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBVibrationData_SetData" "', argument " "1"" of type '" "OpenBabel::OBVibrationData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBVibrationData * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_std__vectorT_OpenBabel__vector3_t_t,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBVibrationData_SetData" "', argument " "2"" of type '" "std::vector< std::vector< OpenBabel::vector3 > > const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBVibrationData_SetData" "', argument " "2"" of type '" "std::vector< std::vector< OpenBabel::vector3 > > const &""'"); }
     arg2 = reinterpret_cast< std::vector< std::vector< OpenBabel::vector3 > > * >(argp2); {
      if (SWIG_ConvertPtr(ST(2),(void **) &v3,  SWIGTYPE_p_std__vectorT_double_t,1) != -1) { arg3 = v3; }
       else if (SvROK(ST(2))) { AV *av = (AV *)SvRV(ST(2)); if (SvTYPE(av) != SVt_PVAV)
        SWIG_croak("Type error in argument 3 of OBVibrationData_SetData. " "Expected an array of ""double"); SV **tv;
        I32 len = av_len(av) + 1; for (int i=0; i<len; i++) { tv = av_fetch(av, i, 0); if (SvNIOK(*tv)) {
            temp3.push_back((double)SwigSvToNumber(*tv)); }  else { SWIG_croak("Type error in argument 3 of "
            "OBVibrationData_SetData. " "Expected an array of ""double"); }  }  arg3 = &temp3; }  else {
        SWIG_croak("Type error in argument 3 of OBVibrationData_SetData. " "Expected an array of ""double"); }  }  {
      if (SWIG_ConvertPtr(ST(3),(void **) &v4,  SWIGTYPE_p_std__vectorT_double_t,1) != -1) { arg4 = v4; }
       else if (SvROK(ST(3))) { AV *av = (AV *)SvRV(ST(3)); if (SvTYPE(av) != SVt_PVAV)
        SWIG_croak("Type error in argument 4 of OBVibrationData_SetData. " "Expected an array of ""double"); SV **tv;
        I32 len = av_len(av) + 1; for (int i=0; i<len; i++) { tv = av_fetch(av, i, 0); if (SvNIOK(*tv)) {
            temp4.push_back((double)SwigSvToNumber(*tv)); }  else { SWIG_croak("Type error in argument 4 of "
            "OBVibrationData_SetData. " "Expected an array of ""double"); }  }  arg4 = &temp4; }  else {
        SWIG_croak("Type error in argument 4 of OBVibrationData_SetData. " "Expected an array of ""double"); }  }  {
      if (SWIG_ConvertPtr(ST(4),(void **) &v5,  SWIGTYPE_p_std__vectorT_double_t,1) != -1) { arg5 = v5; }
       else if (SvROK(ST(4))) { AV *av = (AV *)SvRV(ST(4)); if (SvTYPE(av) != SVt_PVAV)
        SWIG_croak("Type error in argument 5 of OBVibrationData_SetData. " "Expected an array of ""double"); SV **tv;
        I32 len = av_len(av) + 1; for (int i=0; i<len; i++) { tv = av_fetch(av, i, 0); if (SvNIOK(*tv)) {
            temp5.push_back((double)SwigSvToNumber(*tv)); }  else { SWIG_croak("Type error in argument 5 of "
            "OBVibrationData_SetData. " "Expected an array of ""double"); }  }  arg5 = &temp5; }  else {
        SWIG_croak("Type error in argument 5 of OBVibrationData_SetData. " "Expected an array of ""double"); }  } 
    (arg1)->SetData((std::vector< std::vector< OpenBabel::vector3 > > const &)*arg2,(std::vector< double > const &)*arg3,(std::vector< double > const &)*arg4,(std::vector< double > const &)*arg5);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBVibrationData_SetData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 4) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBVibrationData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_std__vectorT_std__vectorT_OpenBabel__vector3_t_t, 0);
        _v = SWIG_CheckState(res);}  if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { { 
            std::vector<double >* v; if (SWIG_ConvertPtr(ST(2),(void **) &v,  SWIGTYPE_p_std__vectorT_double_t,0) != -1) {
              _v = 1; }  else if (SvROK(ST(2))) {  AV *av = (AV *)SvRV(ST(2)); if (SvTYPE(av) == SVt_PVAV) {
                I32 len = av_len(av) + 1; if (len == 0) {  _v = 1; }  else {  SV **tv = av_fetch(av, 0, 0); if (SvNIOK(*tv))
                  _v = 1; else _v = 0; }  }  }  else { _v = 0; }  }  } }  if (!_v) goto check_1; _ranki += _v*_pi;
      _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { {  std::vector<double >* v; if (SWIG_ConvertPtr(ST(3),(void **) &v, 
            SWIGTYPE_p_std__vectorT_double_t,0) != -1) { _v = 1; }  else if (SvROK(ST(3))) {  AV *av = (AV *)SvRV(ST(3));
              if (SvTYPE(av) == SVt_PVAV) { I32 len = av_len(av) + 1; if (len == 0) {  _v = 1; }  else { 
                  SV **tv = av_fetch(av, 0, 0); if (SvNIOK(*tv)) _v = 1; else _v = 0; }  }  }  else { _v = 0; }  }  } } 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 5) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBVibrationData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_std__vectorT_std__vectorT_OpenBabel__vector3_t_t, 0);
        _v = SWIG_CheckState(res);}  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { { 
            std::vector<double >* v; if (SWIG_ConvertPtr(ST(2),(void **) &v,  SWIGTYPE_p_std__vectorT_double_t,0) != -1) {
              _v = 1; }  else if (SvROK(ST(2))) {  AV *av = (AV *)SvRV(ST(2)); if (SvTYPE(av) == SVt_PVAV) {
                I32 len = av_len(av) + 1; if (len == 0) {  _v = 1; }  else {  SV **tv = av_fetch(av, 0, 0); if (SvNIOK(*tv))
                  _v = 1; else _v = 0; }  }  }  else { _v = 0; }  }  } }  if (!_v) goto check_2; _ranki += _v*_pi;
      _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { {  std::vector<double >* v; if (SWIG_ConvertPtr(ST(3),(void **) &v, 
            SWIGTYPE_p_std__vectorT_double_t,0) != -1) { _v = 1; }  else if (SvROK(ST(3))) {  AV *av = (AV *)SvRV(ST(3));
              if (SvTYPE(av) == SVt_PVAV) { I32 len = av_len(av) + 1; if (len == 0) {  _v = 1; }  else { 
                  SV **tv = av_fetch(av, 0, 0); if (SvNIOK(*tv)) _v = 1; else _v = 0; }  }  }  else { _v = 0; }  }  } } 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { {  std::vector<double >* v;
            if (SWIG_ConvertPtr(ST(4),(void **) &v,  SWIGTYPE_p_std__vectorT_double_t,0) != -1) { _v = 1; }
             else if (SvROK(ST(4))) {  AV *av = (AV *)SvRV(ST(4)); if (SvTYPE(av) == SVt_PVAV) { I32 len = av_len(av) + 1;
                if (len == 0) {  _v = 1; }  else {  SV **tv = av_fetch(av, 0, 0); if (SvNIOK(*tv)) _v = 1; else _v = 0; }  }  }
             else { _v = 0; }  }  } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    dispatch: switch(_index) { case 1: ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBVibrationData_SetData__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBVibrationData_SetData__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBVibrationData_SetData'"); XSRETURN(0); }
XS(_wrap_OBVibrationData_GetLx) { { OpenBabel::OBVibrationData *arg1 = (OpenBabel::OBVibrationData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< std::vector< OpenBabel::vector3 > > > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBVibrationData_GetLx(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBVibrationData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBVibrationData_GetLx" "', argument " "1"" of type '" "OpenBabel::OBVibrationData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBVibrationData * >(argp1);
    result = ((OpenBabel::OBVibrationData const *)arg1)->GetLx();
    ST(argvi) = SWIG_NewPointerObj((new std::vector< std::vector< OpenBabel::vector3 > >(static_cast< const std::vector< std::vector< OpenBabel::vector3 > >& >(result))), SWIGTYPE_p_std__vectorT_std__vectorT_OpenBabel__vector3_t_t, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBVibrationData_GetFrequencies) { { OpenBabel::OBVibrationData *arg1 = (OpenBabel::OBVibrationData *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; std::vector< double > result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBVibrationData_GetFrequencies(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBVibrationData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBVibrationData_GetFrequencies" "', argument " "1"" of type '" "OpenBabel::OBVibrationData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBVibrationData * >(argp1);
    result = ((OpenBabel::OBVibrationData const *)arg1)->GetFrequencies(); { size_t len = (&result)->size();
      SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) { svs[i] = sv_newmortal(); sv_setnv(svs[i], result[i]); } 
      AV *myav = av_make(len, svs); delete[] svs; ST(argvi) = newRV_noinc((SV*) myav); sv_2mortal(ST(argvi)); argvi++; } 
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBVibrationData_GetIntensities) { { OpenBabel::OBVibrationData *arg1 = (OpenBabel::OBVibrationData *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; std::vector< double > result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBVibrationData_GetIntensities(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBVibrationData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBVibrationData_GetIntensities" "', argument " "1"" of type '" "OpenBabel::OBVibrationData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBVibrationData * >(argp1);
    result = ((OpenBabel::OBVibrationData const *)arg1)->GetIntensities(); { size_t len = (&result)->size();
      SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) { svs[i] = sv_newmortal(); sv_setnv(svs[i], result[i]); } 
      AV *myav = av_make(len, svs); delete[] svs; ST(argvi) = newRV_noinc((SV*) myav); sv_2mortal(ST(argvi)); argvi++; } 
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBVibrationData_GetRamanActivities) { { OpenBabel::OBVibrationData *arg1 = (OpenBabel::OBVibrationData *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; std::vector< double > result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBVibrationData_GetRamanActivities(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBVibrationData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBVibrationData_GetRamanActivities" "', argument " "1"" of type '" "OpenBabel::OBVibrationData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBVibrationData * >(argp1);
    result = ((OpenBabel::OBVibrationData const *)arg1)->GetRamanActivities(); { size_t len = (&result)->size();
      SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) { svs[i] = sv_newmortal(); sv_setnv(svs[i], result[i]); } 
      AV *myav = av_make(len, svs); delete[] svs; ST(argvi) = newRV_noinc((SV*) myav); sv_2mortal(ST(argvi)); argvi++; } 
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBVibrationData_GetNumberOfFrequencies) { { OpenBabel::OBVibrationData *arg1 = (OpenBabel::OBVibrationData *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBVibrationData_GetNumberOfFrequencies(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBVibrationData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBVibrationData_GetNumberOfFrequencies" "', argument " "1"" of type '" "OpenBabel::OBVibrationData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBVibrationData * >(argp1);
    result = (unsigned int)((OpenBabel::OBVibrationData const *)arg1)->GetNumberOfFrequencies();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBDOSData) { { int argvi = 0; OpenBabel::OBDOSData *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_OBDOSData();"); }  result = (OpenBabel::OBDOSData *)new OpenBabel::OBDOSData();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBDOSData, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBDOSData) { { OpenBabel::OBDOSData *arg1 = (OpenBabel::OBDOSData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBDOSData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBDOSData, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBDOSData" "', argument " "1"" of type '" "OpenBabel::OBDOSData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBDOSData * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBDOSData_SetData) { { OpenBabel::OBDOSData *arg1 = (OpenBabel::OBDOSData *) 0 ; double arg2 ;
    std::vector< double > *arg3 = 0 ; std::vector< double > *arg4 = 0 ; std::vector< double > *arg5 = 0 ; void *argp1 = 0 ;
    int res1 = 0 ; double val2 ; int ecode2 = 0 ; std::vector< double > temp3 ; std::vector< double > *v3 ;
    std::vector< double > temp4 ; std::vector< double > *v4 ; std::vector< double > temp5 ; std::vector< double > *v5 ;
    int argvi = 0; dXSARGS; if ((items < 5) || (items > 5)) {
      SWIG_croak("Usage: OBDOSData_SetData(self,double,std::vector< double > const &,std::vector< double > const &,std::vector< double > const &);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBDOSData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBDOSData_SetData" "', argument " "1"" of type '" "OpenBabel::OBDOSData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBDOSData * >(argp1); ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBDOSData_SetData" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); { if (SWIG_ConvertPtr(ST(2),(void **) &v3, 
      SWIGTYPE_p_std__vectorT_double_t,1) != -1) { arg3 = v3; }  else if (SvROK(ST(2))) { AV *av = (AV *)SvRV(ST(2));
        if (SvTYPE(av) != SVt_PVAV) SWIG_croak("Type error in argument 3 of OBDOSData_SetData. "
        "Expected an array of ""double"); SV **tv; I32 len = av_len(av) + 1; for (int i=0; i<len; i++) {
          tv = av_fetch(av, i, 0); if (SvNIOK(*tv)) { temp3.push_back((double)SwigSvToNumber(*tv)); }  else {
            SWIG_croak("Type error in argument 3 of " "OBDOSData_SetData. " "Expected an array of ""double"); }  } 
        arg3 = &temp3; }  else { SWIG_croak("Type error in argument 3 of OBDOSData_SetData. " "Expected an array of ""double"); }
       }  { if (SWIG_ConvertPtr(ST(3),(void **) &v4,  SWIGTYPE_p_std__vectorT_double_t,1) != -1) { arg4 = v4; }
       else if (SvROK(ST(3))) { AV *av = (AV *)SvRV(ST(3)); if (SvTYPE(av) != SVt_PVAV)
        SWIG_croak("Type error in argument 4 of OBDOSData_SetData. " "Expected an array of ""double"); SV **tv;
        I32 len = av_len(av) + 1; for (int i=0; i<len; i++) { tv = av_fetch(av, i, 0); if (SvNIOK(*tv)) {
            temp4.push_back((double)SwigSvToNumber(*tv)); }  else { SWIG_croak("Type error in argument 4 of "
            "OBDOSData_SetData. " "Expected an array of ""double"); }  }  arg4 = &temp4; }  else {
        SWIG_croak("Type error in argument 4 of OBDOSData_SetData. " "Expected an array of ""double"); }  }  {
      if (SWIG_ConvertPtr(ST(4),(void **) &v5,  SWIGTYPE_p_std__vectorT_double_t,1) != -1) { arg5 = v5; }
       else if (SvROK(ST(4))) { AV *av = (AV *)SvRV(ST(4)); if (SvTYPE(av) != SVt_PVAV)
        SWIG_croak("Type error in argument 5 of OBDOSData_SetData. " "Expected an array of ""double"); SV **tv;
        I32 len = av_len(av) + 1; for (int i=0; i<len; i++) { tv = av_fetch(av, i, 0); if (SvNIOK(*tv)) {
            temp5.push_back((double)SwigSvToNumber(*tv)); }  else { SWIG_croak("Type error in argument 5 of "
            "OBDOSData_SetData. " "Expected an array of ""double"); }  }  arg5 = &temp5; }  else {
        SWIG_croak("Type error in argument 5 of OBDOSData_SetData. " "Expected an array of ""double"); }  } 
    (arg1)->SetData(arg2,(std::vector< double > const &)*arg3,(std::vector< double > const &)*arg4,(std::vector< double > const &)*arg5);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBDOSData_GetFermiEnergy) { { OpenBabel::OBDOSData *arg1 = (OpenBabel::OBDOSData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBDOSData_GetFermiEnergy(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBDOSData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBDOSData_GetFermiEnergy" "', argument " "1"" of type '" "OpenBabel::OBDOSData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBDOSData * >(argp1);
    result = (double)((OpenBabel::OBDOSData const *)arg1)->GetFermiEnergy();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBDOSData_GetEnergies) { { OpenBabel::OBDOSData *arg1 = (OpenBabel::OBDOSData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; std::vector< double > result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBDOSData_GetEnergies(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBDOSData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBDOSData_GetEnergies" "', argument " "1"" of type '" "OpenBabel::OBDOSData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBDOSData * >(argp1); result = ((OpenBabel::OBDOSData const *)arg1)->GetEnergies(); {
      size_t len = (&result)->size(); SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) { svs[i] = sv_newmortal();
        sv_setnv(svs[i], result[i]); }  AV *myav = av_make(len, svs); delete[] svs; ST(argvi) = newRV_noinc((SV*) myav);
      sv_2mortal(ST(argvi)); argvi++; }  XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBDOSData_GetDensities) { { OpenBabel::OBDOSData *arg1 = (OpenBabel::OBDOSData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; std::vector< double > result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBDOSData_GetDensities(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBDOSData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBDOSData_GetDensities" "', argument " "1"" of type '" "OpenBabel::OBDOSData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBDOSData * >(argp1); result = ((OpenBabel::OBDOSData const *)arg1)->GetDensities(); {
      size_t len = (&result)->size(); SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) { svs[i] = sv_newmortal();
        sv_setnv(svs[i], result[i]); }  AV *myav = av_make(len, svs); delete[] svs; ST(argvi) = newRV_noinc((SV*) myav);
      sv_2mortal(ST(argvi)); argvi++; }  XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBDOSData_GetIntegration) { { OpenBabel::OBDOSData *arg1 = (OpenBabel::OBDOSData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::vector< double > result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBDOSData_GetIntegration(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBDOSData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBDOSData_GetIntegration" "', argument " "1"" of type '" "OpenBabel::OBDOSData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBDOSData * >(argp1); result = ((OpenBabel::OBDOSData const *)arg1)->GetIntegration();
    { size_t len = (&result)->size(); SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) { svs[i] = sv_newmortal();
        sv_setnv(svs[i], result[i]); }  AV *myav = av_make(len, svs); delete[] svs; ST(argvi) = newRV_noinc((SV*) myav);
      sv_2mortal(ST(argvi)); argvi++; }  XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBOrbital_SetData__SWIG_0) { { OpenBabel::OBOrbital *arg1 = (OpenBabel::OBOrbital *) 0 ; double arg2 ; double arg3 ;
    std::string arg4 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: OBOrbital_SetData(self,energy,occupation,symbol);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBOrbital, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBOrbital_SetData" "', argument " "1"" of type '" "OpenBabel::OBOrbital *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBOrbital * >(argp1); ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBOrbital_SetData" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBOrbital_SetData" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); { std::string *ptr = (std::string *)0;
      int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(3), &ptr); if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "OBOrbital_SetData" "', argument " "4"" of type '" "std::string""'");  }
       arg4 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; }  (arg1)->SetData(arg2,arg3,arg4); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBOrbital_SetData__SWIG_1) { { OpenBabel::OBOrbital *arg1 = (OpenBabel::OBOrbital *) 0 ; double arg2 ; double arg3 ;
    void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBOrbital_SetData(self,energy,occupation);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBOrbital, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBOrbital_SetData" "', argument " "1"" of type '" "OpenBabel::OBOrbital *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBOrbital * >(argp1); ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBOrbital_SetData" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBOrbital_SetData" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); (arg1)->SetData(arg2,arg3); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBOrbital_SetData__SWIG_2) { { OpenBabel::OBOrbital *arg1 = (OpenBabel::OBOrbital *) 0 ; double arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBOrbital_SetData(self,energy);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBOrbital, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBOrbital_SetData" "', argument " "1"" of type '" "OpenBabel::OBOrbital *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBOrbital * >(argp1); ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBOrbital_SetData" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); (arg1)->SetData(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBOrbital_SetData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBOrbital, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBOrbital, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 4) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBOrbital, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(3), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBOrbital_SetData__SWIG_2); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBOrbital_SetData__SWIG_1); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBOrbital_SetData__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBOrbital_SetData'"); XSRETURN(0); }
XS(_wrap_OBOrbital_GetEnergy) { { OpenBabel::OBOrbital *arg1 = (OpenBabel::OBOrbital *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBOrbital_GetEnergy(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBOrbital, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBOrbital_GetEnergy" "', argument " "1"" of type '" "OpenBabel::OBOrbital const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBOrbital * >(argp1);
    result = (double)((OpenBabel::OBOrbital const *)arg1)->GetEnergy();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBOrbital_GetOccupation) { { OpenBabel::OBOrbital *arg1 = (OpenBabel::OBOrbital *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBOrbital_GetOccupation(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBOrbital, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBOrbital_GetOccupation" "', argument " "1"" of type '" "OpenBabel::OBOrbital const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBOrbital * >(argp1);
    result = (double)((OpenBabel::OBOrbital const *)arg1)->GetOccupation();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBOrbital_GetSymbol) { { OpenBabel::OBOrbital *arg1 = (OpenBabel::OBOrbital *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; std::string result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBOrbital_GetSymbol(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBOrbital, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBOrbital_GetSymbol" "', argument " "1"" of type '" "OpenBabel::OBOrbital const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBOrbital * >(argp1); result = ((OpenBabel::OBOrbital const *)arg1)->GetSymbol();
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBOrbital) { { int argvi = 0; OpenBabel::OBOrbital *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_OBOrbital();"); }  result = (OpenBabel::OBOrbital *)new OpenBabel::OBOrbital();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBOrbital, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBOrbital) { { OpenBabel::OBOrbital *arg1 = (OpenBabel::OBOrbital *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBOrbital(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBOrbital, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBOrbital" "', argument " "1"" of type '" "OpenBabel::OBOrbital *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBOrbital * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_new_OBOrbitalData) { { int argvi = 0; OpenBabel::OBOrbitalData *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_OBOrbitalData();"); }  result = (OpenBabel::OBOrbitalData *)new OpenBabel::OBOrbitalData();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBOrbitalData, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBOrbitalData) { { OpenBabel::OBOrbitalData *arg1 = (OpenBabel::OBOrbitalData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBOrbitalData(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBOrbitalData, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBOrbitalData" "', argument " "1"" of type '" "OpenBabel::OBOrbitalData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBOrbitalData * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBOrbitalData_SetAlphaOrbitals) { { OpenBabel::OBOrbitalData *arg1 = (OpenBabel::OBOrbitalData *) 0 ;
    SwigValueWrapper< std::vector< OpenBabel::OBOrbital > > arg2 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBOrbitalData_SetAlphaOrbitals(self,orbitalList);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBOrbitalData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBOrbitalData_SetAlphaOrbitals" "', argument " "1"" of type '" "OpenBabel::OBOrbitalData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBOrbitalData * >(argp1); {
      res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBOrbital_t,  0 ); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBOrbitalData_SetAlphaOrbitals" "', argument " "2"" of type '" "std::vector< OpenBabel::OBOrbital >""'");  }
         if (!argp2) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBOrbitalData_SetAlphaOrbitals" "', argument " "2"" of type '" "std::vector< OpenBabel::OBOrbital >""'"); }
       else { arg2 = *(reinterpret_cast< std::vector< OpenBabel::OBOrbital > * >(argp2)); }  }  (arg1)->SetAlphaOrbitals(arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBOrbitalData_SetBetaOrbitals) { { OpenBabel::OBOrbitalData *arg1 = (OpenBabel::OBOrbitalData *) 0 ;
    SwigValueWrapper< std::vector< OpenBabel::OBOrbital > > arg2 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBOrbitalData_SetBetaOrbitals(self,orbitalList);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBOrbitalData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBOrbitalData_SetBetaOrbitals" "', argument " "1"" of type '" "OpenBabel::OBOrbitalData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBOrbitalData * >(argp1); {
      res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBOrbital_t,  0 ); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBOrbitalData_SetBetaOrbitals" "', argument " "2"" of type '" "std::vector< OpenBabel::OBOrbital >""'");  }
         if (!argp2) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBOrbitalData_SetBetaOrbitals" "', argument " "2"" of type '" "std::vector< OpenBabel::OBOrbital >""'"); }
       else { arg2 = *(reinterpret_cast< std::vector< OpenBabel::OBOrbital > * >(argp2)); }  }  (arg1)->SetBetaOrbitals(arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBOrbitalData_SetHOMO__SWIG_0) { { OpenBabel::OBOrbitalData *arg1 = (OpenBabel::OBOrbitalData *) 0 ; int arg2 ;
    int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBOrbitalData_SetHOMO(self,alpha,beta);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBOrbitalData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBOrbitalData_SetHOMO" "', argument " "1"" of type '" "OpenBabel::OBOrbitalData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBOrbitalData * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBOrbitalData_SetHOMO" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBOrbitalData_SetHOMO" "', argument " "3"" of type '" "int""'"); }
      arg3 = static_cast< int >(val3); (arg1)->SetHOMO(arg2,arg3); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBOrbitalData_SetHOMO__SWIG_1) { { OpenBabel::OBOrbitalData *arg1 = (OpenBabel::OBOrbitalData *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBOrbitalData_SetHOMO(self,alpha);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBOrbitalData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBOrbitalData_SetHOMO" "', argument " "1"" of type '" "OpenBabel::OBOrbitalData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBOrbitalData * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBOrbitalData_SetHOMO" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (arg1)->SetHOMO(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBOrbitalData_SetHOMO) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBOrbitalData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBOrbitalData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    dispatch: switch(_index) { case 1: ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBOrbitalData_SetHOMO__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBOrbitalData_SetHOMO__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBOrbitalData_SetHOMO'"); XSRETURN(0); }
XS(_wrap_OBOrbitalData_SetOpenShell) { { OpenBabel::OBOrbitalData *arg1 = (OpenBabel::OBOrbitalData *) 0 ; bool arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBOrbitalData_SetOpenShell(self,openShell);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBOrbitalData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBOrbitalData_SetOpenShell" "', argument " "1"" of type '" "OpenBabel::OBOrbitalData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBOrbitalData * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBOrbitalData_SetOpenShell" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); (arg1)->SetOpenShell(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBOrbitalData_IsOpenShell) { { OpenBabel::OBOrbitalData *arg1 = (OpenBabel::OBOrbitalData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBOrbitalData_IsOpenShell(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBOrbitalData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBOrbitalData_IsOpenShell" "', argument " "1"" of type '" "OpenBabel::OBOrbitalData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBOrbitalData * >(argp1); result = (bool)(arg1)->IsOpenShell();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBOrbitalData_GetAlphaHOMO) { { OpenBabel::OBOrbitalData *arg1 = (OpenBabel::OBOrbitalData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBOrbitalData_GetAlphaHOMO(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBOrbitalData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBOrbitalData_GetAlphaHOMO" "', argument " "1"" of type '" "OpenBabel::OBOrbitalData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBOrbitalData * >(argp1); result = (unsigned int)(arg1)->GetAlphaHOMO();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBOrbitalData_GetBetaHOMO) { { OpenBabel::OBOrbitalData *arg1 = (OpenBabel::OBOrbitalData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBOrbitalData_GetBetaHOMO(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBOrbitalData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBOrbitalData_GetBetaHOMO" "', argument " "1"" of type '" "OpenBabel::OBOrbitalData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBOrbitalData * >(argp1); result = (unsigned int)(arg1)->GetBetaHOMO();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBOrbitalData_GetAlphaOrbitals) { { OpenBabel::OBOrbitalData *arg1 = (OpenBabel::OBOrbitalData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBOrbital > > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBOrbitalData_GetAlphaOrbitals(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBOrbitalData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBOrbitalData_GetAlphaOrbitals" "', argument " "1"" of type '" "OpenBabel::OBOrbitalData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBOrbitalData * >(argp1); result = (arg1)->GetAlphaOrbitals();
    ST(argvi) = SWIG_NewPointerObj((new std::vector< OpenBabel::OBOrbital >(static_cast< const std::vector< OpenBabel::OBOrbital >& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBOrbital_t, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBOrbitalData_GetBetaOrbitals) { { OpenBabel::OBOrbitalData *arg1 = (OpenBabel::OBOrbitalData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBOrbital > > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBOrbitalData_GetBetaOrbitals(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBOrbitalData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBOrbitalData_GetBetaOrbitals" "', argument " "1"" of type '" "OpenBabel::OBOrbitalData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBOrbitalData * >(argp1); result = (arg1)->GetBetaOrbitals();
    ST(argvi) = SWIG_NewPointerObj((new std::vector< OpenBabel::OBOrbital >(static_cast< const std::vector< OpenBabel::OBOrbital >& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBOrbital_t, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBOrbitalData_LoadClosedShellOrbitals) { { OpenBabel::OBOrbitalData *arg1 = (OpenBabel::OBOrbitalData *) 0 ;
    std::vector< double > arg2 ; std::vector< std::string > arg3 ; int arg4 ; void *argp1 = 0 ; int res1 = 0 ;
    std::vector< double > *v2 ; std::vector< std::string > *v3 ; int val4 ; int ecode4 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: OBOrbitalData_LoadClosedShellOrbitals(self,energies,symmetries,alphaHOMO);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBOrbitalData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBOrbitalData_LoadClosedShellOrbitals" "', argument " "1"" of type '" "OpenBabel::OBOrbitalData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBOrbitalData * >(argp1); { if (SWIG_ConvertPtr(ST(1),(void **) &v2, 
      SWIGTYPE_p_std__vectorT_double_t,1) != -1){ arg2 = *v2; }  else if (SvROK(ST(1))) { AV *av = (AV *)SvRV(ST(1));
        if (SvTYPE(av) != SVt_PVAV) SWIG_croak("Type error in argument 2 of OBOrbitalData_LoadClosedShellOrbitals. "
        "Expected an array of ""double"); SV **tv; I32 len = av_len(av) + 1; for (int i=0; i<len; i++) {
          tv = av_fetch(av, i, 0); if (SvNIOK(*tv)) { (&arg2)->push_back((double)SwigSvToNumber(*tv)); }  else {
            SWIG_croak("Type error in argument 2 of " "OBOrbitalData_LoadClosedShellOrbitals. "
            "Expected an array of ""double"); }  }  }  else {
        SWIG_croak("Type error in argument 2 of OBOrbitalData_LoadClosedShellOrbitals. " "Expected an array of ""double"); }  } 
    { if (SWIG_ConvertPtr(ST(2),(void **) &v3,  SWIGTYPE_p_std__vectorT_std__string_t,1) != -1){ arg3 = *v3; }
       else if (SvROK(ST(2))) { AV *av = (AV *)SvRV(ST(2)); if (SvTYPE(av) != SVt_PVAV)
        SWIG_croak("Type error in argument 3 of OBOrbitalData_LoadClosedShellOrbitals. " "Expected an array of ""std::string");
        SV **tv; I32 len = av_len(av) + 1; for (int i=0; i<len; i++) { tv = av_fetch(av, i, 0); if (SvPOK(*tv)) {
            (&arg3)->push_back((std::string)SwigSvToString(*tv)); }  else { SWIG_croak("Type error in argument 3 of "
            "OBOrbitalData_LoadClosedShellOrbitals. " "Expected an array of ""std::string"); }  }  }  else {
        SWIG_croak("Type error in argument 3 of OBOrbitalData_LoadClosedShellOrbitals. " "Expected an array of ""std::string"); }
       }  ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4); if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBOrbitalData_LoadClosedShellOrbitals" "', argument " "4"" of type '" "int""'"); }
      arg4 = static_cast< int >(val4); (arg1)->LoadClosedShellOrbitals(arg2,arg3,arg4); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBOrbitalData_LoadAlphaOrbitals) { { OpenBabel::OBOrbitalData *arg1 = (OpenBabel::OBOrbitalData *) 0 ;
    std::vector< double > arg2 ; std::vector< std::string > arg3 ; int arg4 ; void *argp1 = 0 ; int res1 = 0 ;
    std::vector< double > *v2 ; std::vector< std::string > *v3 ; int val4 ; int ecode4 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: OBOrbitalData_LoadAlphaOrbitals(self,energies,symmetries,alphaHOMO);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBOrbitalData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBOrbitalData_LoadAlphaOrbitals" "', argument " "1"" of type '" "OpenBabel::OBOrbitalData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBOrbitalData * >(argp1); { if (SWIG_ConvertPtr(ST(1),(void **) &v2, 
      SWIGTYPE_p_std__vectorT_double_t,1) != -1){ arg2 = *v2; }  else if (SvROK(ST(1))) { AV *av = (AV *)SvRV(ST(1));
        if (SvTYPE(av) != SVt_PVAV) SWIG_croak("Type error in argument 2 of OBOrbitalData_LoadAlphaOrbitals. "
        "Expected an array of ""double"); SV **tv; I32 len = av_len(av) + 1; for (int i=0; i<len; i++) {
          tv = av_fetch(av, i, 0); if (SvNIOK(*tv)) { (&arg2)->push_back((double)SwigSvToNumber(*tv)); }  else {
            SWIG_croak("Type error in argument 2 of " "OBOrbitalData_LoadAlphaOrbitals. " "Expected an array of ""double"); }  }
         }  else { SWIG_croak("Type error in argument 2 of OBOrbitalData_LoadAlphaOrbitals. " "Expected an array of ""double"); }
       }  { if (SWIG_ConvertPtr(ST(2),(void **) &v3,  SWIGTYPE_p_std__vectorT_std__string_t,1) != -1){ arg3 = *v3; }
       else if (SvROK(ST(2))) { AV *av = (AV *)SvRV(ST(2)); if (SvTYPE(av) != SVt_PVAV)
        SWIG_croak("Type error in argument 3 of OBOrbitalData_LoadAlphaOrbitals. " "Expected an array of ""std::string");
        SV **tv; I32 len = av_len(av) + 1; for (int i=0; i<len; i++) { tv = av_fetch(av, i, 0); if (SvPOK(*tv)) {
            (&arg3)->push_back((std::string)SwigSvToString(*tv)); }  else { SWIG_croak("Type error in argument 3 of "
            "OBOrbitalData_LoadAlphaOrbitals. " "Expected an array of ""std::string"); }  }  }  else {
        SWIG_croak("Type error in argument 3 of OBOrbitalData_LoadAlphaOrbitals. " "Expected an array of ""std::string"); }  } 
    ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4); if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBOrbitalData_LoadAlphaOrbitals" "', argument " "4"" of type '" "int""'"); }
      arg4 = static_cast< int >(val4); (arg1)->LoadAlphaOrbitals(arg2,arg3,arg4); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBOrbitalData_LoadBetaOrbitals) { { OpenBabel::OBOrbitalData *arg1 = (OpenBabel::OBOrbitalData *) 0 ;
    std::vector< double > arg2 ; std::vector< std::string > arg3 ; int arg4 ; void *argp1 = 0 ; int res1 = 0 ;
    std::vector< double > *v2 ; std::vector< std::string > *v3 ; int val4 ; int ecode4 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 4) || (items > 4)) { SWIG_croak("Usage: OBOrbitalData_LoadBetaOrbitals(self,energies,symmetries,betaHOMO);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBOrbitalData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBOrbitalData_LoadBetaOrbitals" "', argument " "1"" of type '" "OpenBabel::OBOrbitalData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBOrbitalData * >(argp1); { if (SWIG_ConvertPtr(ST(1),(void **) &v2, 
      SWIGTYPE_p_std__vectorT_double_t,1) != -1){ arg2 = *v2; }  else if (SvROK(ST(1))) { AV *av = (AV *)SvRV(ST(1));
        if (SvTYPE(av) != SVt_PVAV) SWIG_croak("Type error in argument 2 of OBOrbitalData_LoadBetaOrbitals. "
        "Expected an array of ""double"); SV **tv; I32 len = av_len(av) + 1; for (int i=0; i<len; i++) {
          tv = av_fetch(av, i, 0); if (SvNIOK(*tv)) { (&arg2)->push_back((double)SwigSvToNumber(*tv)); }  else {
            SWIG_croak("Type error in argument 2 of " "OBOrbitalData_LoadBetaOrbitals. " "Expected an array of ""double"); }  }
         }  else { SWIG_croak("Type error in argument 2 of OBOrbitalData_LoadBetaOrbitals. " "Expected an array of ""double"); }
       }  { if (SWIG_ConvertPtr(ST(2),(void **) &v3,  SWIGTYPE_p_std__vectorT_std__string_t,1) != -1){ arg3 = *v3; }
       else if (SvROK(ST(2))) { AV *av = (AV *)SvRV(ST(2)); if (SvTYPE(av) != SVt_PVAV)
        SWIG_croak("Type error in argument 3 of OBOrbitalData_LoadBetaOrbitals. " "Expected an array of ""std::string");
        SV **tv; I32 len = av_len(av) + 1; for (int i=0; i<len; i++) { tv = av_fetch(av, i, 0); if (SvPOK(*tv)) {
            (&arg3)->push_back((std::string)SwigSvToString(*tv)); }  else { SWIG_croak("Type error in argument 3 of "
            "OBOrbitalData_LoadBetaOrbitals. " "Expected an array of ""std::string"); }  }  }  else {
        SWIG_croak("Type error in argument 3 of OBOrbitalData_LoadBetaOrbitals. " "Expected an array of ""std::string"); }  } 
    ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4); if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBOrbitalData_LoadBetaOrbitals" "', argument " "4"" of type '" "int""'"); }
      arg4 = static_cast< int >(val4); (arg1)->LoadBetaOrbitals(arg2,arg3,arg4); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBElectronicTransitionData) { { int argvi = 0; OpenBabel::OBElectronicTransitionData *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_OBElectronicTransitionData();"); } 
    result = (OpenBabel::OBElectronicTransitionData *)new OpenBabel::OBElectronicTransitionData();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBElectronicTransitionData, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBElectronicTransitionData) { {
    OpenBabel::OBElectronicTransitionData *arg1 = (OpenBabel::OBElectronicTransitionData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBElectronicTransitionData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElectronicTransitionData, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBElectronicTransitionData" "', argument " "1"" of type '" "OpenBabel::OBElectronicTransitionData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElectronicTransitionData * >(argp1); delete arg1; ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBElectronicTransitionData_SetData) { {
    OpenBabel::OBElectronicTransitionData *arg1 = (OpenBabel::OBElectronicTransitionData *) 0 ;
    std::vector< double > *arg2 = 0 ; std::vector< double > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
    std::vector< double > temp2 ; std::vector< double > *v2 ; std::vector< double > temp3 ; std::vector< double > *v3 ;
    int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBElectronicTransitionData_SetData(self,wavelengths,forces);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElectronicTransitionData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElectronicTransitionData_SetData" "', argument " "1"" of type '" "OpenBabel::OBElectronicTransitionData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElectronicTransitionData * >(argp1); { if (SWIG_ConvertPtr(ST(1),(void **) &v2, 
      SWIGTYPE_p_std__vectorT_double_t,1) != -1) { arg2 = v2; }  else if (SvROK(ST(1))) { AV *av = (AV *)SvRV(ST(1));
        if (SvTYPE(av) != SVt_PVAV) SWIG_croak("Type error in argument 2 of OBElectronicTransitionData_SetData. "
        "Expected an array of ""double"); SV **tv; I32 len = av_len(av) + 1; for (int i=0; i<len; i++) {
          tv = av_fetch(av, i, 0); if (SvNIOK(*tv)) { temp2.push_back((double)SwigSvToNumber(*tv)); }  else {
            SWIG_croak("Type error in argument 2 of " "OBElectronicTransitionData_SetData. " "Expected an array of ""double"); }
           }  arg2 = &temp2; }  else { SWIG_croak("Type error in argument 2 of OBElectronicTransitionData_SetData. "
        "Expected an array of ""double"); }  }  { if (SWIG_ConvertPtr(ST(2),(void **) &v3, 
      SWIGTYPE_p_std__vectorT_double_t,1) != -1) { arg3 = v3; }  else if (SvROK(ST(2))) { AV *av = (AV *)SvRV(ST(2));
        if (SvTYPE(av) != SVt_PVAV) SWIG_croak("Type error in argument 3 of OBElectronicTransitionData_SetData. "
        "Expected an array of ""double"); SV **tv; I32 len = av_len(av) + 1; for (int i=0; i<len; i++) {
          tv = av_fetch(av, i, 0); if (SvNIOK(*tv)) { temp3.push_back((double)SwigSvToNumber(*tv)); }  else {
            SWIG_croak("Type error in argument 3 of " "OBElectronicTransitionData_SetData. " "Expected an array of ""double"); }
           }  arg3 = &temp3; }  else { SWIG_croak("Type error in argument 3 of OBElectronicTransitionData_SetData. "
        "Expected an array of ""double"); }  } 
    (arg1)->SetData((std::vector< double > const &)*arg2,(std::vector< double > const &)*arg3); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBElectronicTransitionData_SetEDipole) { {
    OpenBabel::OBElectronicTransitionData *arg1 = (OpenBabel::OBElectronicTransitionData *) 0 ;
    std::vector< double > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< double > temp2 ; std::vector< double > *v2 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBElectronicTransitionData_SetEDipole(self,std::vector< double > const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElectronicTransitionData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElectronicTransitionData_SetEDipole" "', argument " "1"" of type '" "OpenBabel::OBElectronicTransitionData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElectronicTransitionData * >(argp1); { if (SWIG_ConvertPtr(ST(1),(void **) &v2, 
      SWIGTYPE_p_std__vectorT_double_t,1) != -1) { arg2 = v2; }  else if (SvROK(ST(1))) { AV *av = (AV *)SvRV(ST(1));
        if (SvTYPE(av) != SVt_PVAV) SWIG_croak("Type error in argument 2 of OBElectronicTransitionData_SetEDipole. "
        "Expected an array of ""double"); SV **tv; I32 len = av_len(av) + 1; for (int i=0; i<len; i++) {
          tv = av_fetch(av, i, 0); if (SvNIOK(*tv)) { temp2.push_back((double)SwigSvToNumber(*tv)); }  else {
            SWIG_croak("Type error in argument 2 of " "OBElectronicTransitionData_SetEDipole. "
            "Expected an array of ""double"); }  }  arg2 = &temp2; }  else {
        SWIG_croak("Type error in argument 2 of OBElectronicTransitionData_SetEDipole. " "Expected an array of ""double"); }  } 
    (arg1)->SetEDipole((std::vector< double > const &)*arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBElectronicTransitionData_SetRotatoryStrengthsVelocity) { {
    OpenBabel::OBElectronicTransitionData *arg1 = (OpenBabel::OBElectronicTransitionData *) 0 ;
    std::vector< double > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< double > temp2 ; std::vector< double > *v2 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBElectronicTransitionData_SetRotatoryStrengthsVelocity(self,std::vector< double > const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElectronicTransitionData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElectronicTransitionData_SetRotatoryStrengthsVelocity" "', argument " "1"" of type '" "OpenBabel::OBElectronicTransitionData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElectronicTransitionData * >(argp1); { if (SWIG_ConvertPtr(ST(1),(void **) &v2, 
      SWIGTYPE_p_std__vectorT_double_t,1) != -1) { arg2 = v2; }  else if (SvROK(ST(1))) { AV *av = (AV *)SvRV(ST(1));
        if (SvTYPE(av) != SVt_PVAV)
        SWIG_croak("Type error in argument 2 of OBElectronicTransitionData_SetRotatoryStrengthsVelocity. "
        "Expected an array of ""double"); SV **tv; I32 len = av_len(av) + 1; for (int i=0; i<len; i++) {
          tv = av_fetch(av, i, 0); if (SvNIOK(*tv)) { temp2.push_back((double)SwigSvToNumber(*tv)); }  else {
            SWIG_croak("Type error in argument 2 of " "OBElectronicTransitionData_SetRotatoryStrengthsVelocity. "
            "Expected an array of ""double"); }  }  arg2 = &temp2; }  else {
        SWIG_croak("Type error in argument 2 of OBElectronicTransitionData_SetRotatoryStrengthsVelocity. "
        "Expected an array of ""double"); }  }  (arg1)->SetRotatoryStrengthsVelocity((std::vector< double > const &)*arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBElectronicTransitionData_SetRotatoryStrengthsLength) { {
    OpenBabel::OBElectronicTransitionData *arg1 = (OpenBabel::OBElectronicTransitionData *) 0 ;
    std::vector< double > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< double > temp2 ; std::vector< double > *v2 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBElectronicTransitionData_SetRotatoryStrengthsLength(self,std::vector< double > const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElectronicTransitionData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElectronicTransitionData_SetRotatoryStrengthsLength" "', argument " "1"" of type '" "OpenBabel::OBElectronicTransitionData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElectronicTransitionData * >(argp1); { if (SWIG_ConvertPtr(ST(1),(void **) &v2, 
      SWIGTYPE_p_std__vectorT_double_t,1) != -1) { arg2 = v2; }  else if (SvROK(ST(1))) { AV *av = (AV *)SvRV(ST(1));
        if (SvTYPE(av) != SVt_PVAV)
        SWIG_croak("Type error in argument 2 of OBElectronicTransitionData_SetRotatoryStrengthsLength. "
        "Expected an array of ""double"); SV **tv; I32 len = av_len(av) + 1; for (int i=0; i<len; i++) {
          tv = av_fetch(av, i, 0); if (SvNIOK(*tv)) { temp2.push_back((double)SwigSvToNumber(*tv)); }  else {
            SWIG_croak("Type error in argument 2 of " "OBElectronicTransitionData_SetRotatoryStrengthsLength. "
            "Expected an array of ""double"); }  }  arg2 = &temp2; }  else {
        SWIG_croak("Type error in argument 2 of OBElectronicTransitionData_SetRotatoryStrengthsLength. "
        "Expected an array of ""double"); }  }  (arg1)->SetRotatoryStrengthsLength((std::vector< double > const &)*arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBElectronicTransitionData_GetWavelengths) { {
    OpenBabel::OBElectronicTransitionData *arg1 = (OpenBabel::OBElectronicTransitionData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; std::vector< double > result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBElectronicTransitionData_GetWavelengths(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElectronicTransitionData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElectronicTransitionData_GetWavelengths" "', argument " "1"" of type '" "OpenBabel::OBElectronicTransitionData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElectronicTransitionData * >(argp1);
    result = ((OpenBabel::OBElectronicTransitionData const *)arg1)->GetWavelengths(); { size_t len = (&result)->size();
      SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) { svs[i] = sv_newmortal(); sv_setnv(svs[i], result[i]); } 
      AV *myav = av_make(len, svs); delete[] svs; ST(argvi) = newRV_noinc((SV*) myav); sv_2mortal(ST(argvi)); argvi++; } 
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBElectronicTransitionData_GetForces) { {
    OpenBabel::OBElectronicTransitionData *arg1 = (OpenBabel::OBElectronicTransitionData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; std::vector< double > result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBElectronicTransitionData_GetForces(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElectronicTransitionData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElectronicTransitionData_GetForces" "', argument " "1"" of type '" "OpenBabel::OBElectronicTransitionData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElectronicTransitionData * >(argp1);
    result = ((OpenBabel::OBElectronicTransitionData const *)arg1)->GetForces(); { size_t len = (&result)->size();
      SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) { svs[i] = sv_newmortal(); sv_setnv(svs[i], result[i]); } 
      AV *myav = av_make(len, svs); delete[] svs; ST(argvi) = newRV_noinc((SV*) myav); sv_2mortal(ST(argvi)); argvi++; } 
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBElectronicTransitionData_GetEDipole) { {
    OpenBabel::OBElectronicTransitionData *arg1 = (OpenBabel::OBElectronicTransitionData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; std::vector< double > result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBElectronicTransitionData_GetEDipole(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElectronicTransitionData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElectronicTransitionData_GetEDipole" "', argument " "1"" of type '" "OpenBabel::OBElectronicTransitionData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElectronicTransitionData * >(argp1);
    result = ((OpenBabel::OBElectronicTransitionData const *)arg1)->GetEDipole(); { size_t len = (&result)->size();
      SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) { svs[i] = sv_newmortal(); sv_setnv(svs[i], result[i]); } 
      AV *myav = av_make(len, svs); delete[] svs; ST(argvi) = newRV_noinc((SV*) myav); sv_2mortal(ST(argvi)); argvi++; } 
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBElectronicTransitionData_GetRotatoryStrengthsVelocity) { {
    OpenBabel::OBElectronicTransitionData *arg1 = (OpenBabel::OBElectronicTransitionData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; std::vector< double > result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBElectronicTransitionData_GetRotatoryStrengthsVelocity(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElectronicTransitionData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElectronicTransitionData_GetRotatoryStrengthsVelocity" "', argument " "1"" of type '" "OpenBabel::OBElectronicTransitionData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElectronicTransitionData * >(argp1);
    result = ((OpenBabel::OBElectronicTransitionData const *)arg1)->GetRotatoryStrengthsVelocity(); {
      size_t len = (&result)->size(); SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) { svs[i] = sv_newmortal();
        sv_setnv(svs[i], result[i]); }  AV *myav = av_make(len, svs); delete[] svs; ST(argvi) = newRV_noinc((SV*) myav);
      sv_2mortal(ST(argvi)); argvi++; }  XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBElectronicTransitionData_GetRotatoryStrengthsLength) { {
    OpenBabel::OBElectronicTransitionData *arg1 = (OpenBabel::OBElectronicTransitionData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; std::vector< double > result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBElectronicTransitionData_GetRotatoryStrengthsLength(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBElectronicTransitionData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBElectronicTransitionData_GetRotatoryStrengthsLength" "', argument " "1"" of type '" "OpenBabel::OBElectronicTransitionData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBElectronicTransitionData * >(argp1);
    result = ((OpenBabel::OBElectronicTransitionData const *)arg1)->GetRotatoryStrengthsLength(); {
      size_t len = (&result)->size(); SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) { svs[i] = sv_newmortal();
        sv_setnv(svs[i], result[i]); }  AV *myav = av_make(len, svs); delete[] svs; ST(argvi) = newRV_noinc((SV*) myav);
      sv_2mortal(ST(argvi)); argvi++; }  XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBRotationData) { { int argvi = 0; OpenBabel::OBRotationData *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_OBRotationData();"); } 
    result = (OpenBabel::OBRotationData *)new OpenBabel::OBRotationData();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBRotationData, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBRotationData) { { OpenBabel::OBRotationData *arg1 = (OpenBabel::OBRotationData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBRotationData(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotationData, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBRotationData" "', argument " "1"" of type '" "OpenBabel::OBRotationData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotationData * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotationData_SetData) { { OpenBabel::OBRotationData *arg1 = (OpenBabel::OBRotationData *) 0 ;
    OpenBabel::OBRotationData::RType arg2 ; std::vector< double > arg3 ; int arg4 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ;
    int ecode2 = 0 ; std::vector< double > *v3 ; int val4 ; int ecode4 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: OBRotationData_SetData(self,RotorType,RotationalConstants,SymmetryNumber);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotationData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotationData_SetData" "', argument " "1"" of type '" "OpenBabel::OBRotationData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotationData * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBRotationData_SetData" "', argument " "2"" of type '" "OpenBabel::OBRotationData::RType""'"); }
      arg2 = static_cast< OpenBabel::OBRotationData::RType >(val2); { if (SWIG_ConvertPtr(ST(2),(void **) &v3, 
      SWIGTYPE_p_std__vectorT_double_t,1) != -1){ arg3 = *v3; }  else if (SvROK(ST(2))) { AV *av = (AV *)SvRV(ST(2));
        if (SvTYPE(av) != SVt_PVAV) SWIG_croak("Type error in argument 3 of OBRotationData_SetData. "
        "Expected an array of ""double"); SV **tv; I32 len = av_len(av) + 1; for (int i=0; i<len; i++) {
          tv = av_fetch(av, i, 0); if (SvNIOK(*tv)) { (&arg3)->push_back((double)SwigSvToNumber(*tv)); }  else {
            SWIG_croak("Type error in argument 3 of " "OBRotationData_SetData. " "Expected an array of ""double"); }  }  }
       else { SWIG_croak("Type error in argument 3 of OBRotationData_SetData. " "Expected an array of ""double"); }  } 
    ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4); if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBRotationData_SetData" "', argument " "4"" of type '" "int""'"); }
      arg4 = static_cast< int >(val4); (arg1)->SetData(arg2,arg3,arg4); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotationData_GetRotConsts) { { OpenBabel::OBRotationData *arg1 = (OpenBabel::OBRotationData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::vector< double > result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBRotationData_GetRotConsts(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotationData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotationData_GetRotConsts" "', argument " "1"" of type '" "OpenBabel::OBRotationData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotationData * >(argp1);
    result = ((OpenBabel::OBRotationData const *)arg1)->GetRotConsts(); { size_t len = (&result)->size();
      SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) { svs[i] = sv_newmortal(); sv_setnv(svs[i], result[i]); } 
      AV *myav = av_make(len, svs); delete[] svs; ST(argvi) = newRV_noinc((SV*) myav); sv_2mortal(ST(argvi)); argvi++; } 
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotationData_GetSymmetryNumber) { { OpenBabel::OBRotationData *arg1 = (OpenBabel::OBRotationData *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBRotationData_GetSymmetryNumber(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotationData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotationData_GetSymmetryNumber" "', argument " "1"" of type '" "OpenBabel::OBRotationData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotationData * >(argp1);
    result = (int)((OpenBabel::OBRotationData const *)arg1)->GetSymmetryNumber();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotationData_GetRotorType) { { OpenBabel::OBRotationData *arg1 = (OpenBabel::OBRotationData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBRotationData::RType result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBRotationData_GetRotorType(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotationData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotationData_GetRotorType" "', argument " "1"" of type '" "OpenBabel::OBRotationData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotationData * >(argp1);
    result = (OpenBabel::OBRotationData::RType)((OpenBabel::OBRotationData const *)arg1)->GetRotorType();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_new_OBVectorData) { { int argvi = 0; OpenBabel::OBVectorData *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_OBVectorData();"); }  result = (OpenBabel::OBVectorData *)new OpenBabel::OBVectorData();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBVectorData, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBVectorData) { { OpenBabel::OBVectorData *arg1 = (OpenBabel::OBVectorData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBVectorData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBVectorData, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBVectorData" "', argument " "1"" of type '" "OpenBabel::OBVectorData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBVectorData * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBVectorData_SetData__SWIG_0) { { OpenBabel::OBVectorData *arg1 = (OpenBabel::OBVectorData *) 0 ; double arg2 ;
    double arg3 ; double arg4 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 0 ;
    double val4 ; int ecode4 = 0 ; int argvi = 0; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: OBVectorData_SetData(self,x,y,z);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBVectorData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBVectorData_SetData" "', argument " "1"" of type '" "OpenBabel::OBVectorData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBVectorData * >(argp1);
    ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBVectorData_SetData" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBVectorData_SetData" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBVectorData_SetData" "', argument " "4"" of type '" "double""'"); }
      arg4 = static_cast< double >(val4); (arg1)->SetData(arg2,arg3,arg4); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBVectorData_SetData__SWIG_1) { { OpenBabel::OBVectorData *arg1 = (OpenBabel::OBVectorData *) 0 ;
    OpenBabel::vector3 arg2 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBVectorData_SetData(self,data);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBVectorData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBVectorData_SetData" "', argument " "1"" of type '" "OpenBabel::OBVectorData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBVectorData * >(argp1); {
      res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBVectorData_SetData" "', argument " "2"" of type '" "OpenBabel::vector3""'");  }
         if (!argp2) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBVectorData_SetData" "', argument " "2"" of type '" "OpenBabel::vector3""'"); }
       else { arg2 = *(reinterpret_cast< OpenBabel::vector3 * >(argp2)); }  }  (arg1)->SetData(arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBVectorData_SetData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBVectorData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 4) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBVectorData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBVectorData_SetData__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBVectorData_SetData__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBVectorData_SetData'"); XSRETURN(0); }
XS(_wrap_OBVectorData_GetData) { { OpenBabel::OBVectorData *arg1 = (OpenBabel::OBVectorData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::vector3 result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBVectorData_GetData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBVectorData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBVectorData_GetData" "', argument " "1"" of type '" "OpenBabel::OBVectorData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBVectorData * >(argp1); result = ((OpenBabel::OBVectorData const *)arg1)->GetData();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::vector3(static_cast< const OpenBabel::vector3& >(result))), SWIGTYPE_p_OpenBabel__vector3, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBMatrixData) { { int argvi = 0; OpenBabel::OBMatrixData *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_OBMatrixData();"); }  result = (OpenBabel::OBMatrixData *)new OpenBabel::OBMatrixData();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMatrixData, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBMatrixData) { { OpenBabel::OBMatrixData *arg1 = (OpenBabel::OBMatrixData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBMatrixData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMatrixData, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBMatrixData" "', argument " "1"" of type '" "OpenBabel::OBMatrixData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMatrixData * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBMatrixData_SetData) { { OpenBabel::OBMatrixData *arg1 = (OpenBabel::OBMatrixData *) 0 ; OpenBabel::matrix3x3 arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMatrixData_SetData(self,data);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMatrixData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMatrixData_SetData" "', argument " "1"" of type '" "OpenBabel::OBMatrixData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMatrixData * >(argp1); {
      res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__matrix3x3,  0 ); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMatrixData_SetData" "', argument " "2"" of type '" "OpenBabel::matrix3x3""'");  }
         if (!argp2) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMatrixData_SetData" "', argument " "2"" of type '" "OpenBabel::matrix3x3""'"); }
       else { arg2 = *(reinterpret_cast< OpenBabel::matrix3x3 * >(argp2)); }  }  (arg1)->SetData(arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMatrixData_GetData) { { OpenBabel::OBMatrixData *arg1 = (OpenBabel::OBMatrixData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::matrix3x3 result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMatrixData_GetData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMatrixData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMatrixData_GetData" "', argument " "1"" of type '" "OpenBabel::OBMatrixData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMatrixData * >(argp1); result = ((OpenBabel::OBMatrixData const *)arg1)->GetData();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::matrix3x3(static_cast< const OpenBabel::matrix3x3& >(result))), SWIGTYPE_p_OpenBabel__matrix3x3, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBGridData) { { int argvi = 0; OpenBabel::OBGridData *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_OBGridData();"); }  result = (OpenBabel::OBGridData *)new OpenBabel::OBGridData();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGridData, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBGridData) { { OpenBabel::OBGridData *arg1 = (OpenBabel::OBGridData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBGridData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGridData, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBGridData" "', argument " "1"" of type '" "OpenBabel::OBGridData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGridData * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBGridData_GetAxes__SWIG_0) { { OpenBabel::OBGridData *arg1 = (OpenBabel::OBGridData *) 0 ; double *arg2 ;
    double *arg3 ; double *arg4 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ;
    int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; int argvi = 0; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: OBGridData_GetAxes(self,x,y,z);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGridData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGridData_GetAxes" "', argument " "1"" of type '" "OpenBabel::OBGridData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGridData * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBGridData_GetAxes" "', argument " "2"" of type '" "double [3]""'");  }
      arg2 = reinterpret_cast< double * >(argp2); res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBGridData_GetAxes" "', argument " "3"" of type '" "double [3]""'");  }
      arg3 = reinterpret_cast< double * >(argp3); res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBGridData_GetAxes" "', argument " "4"" of type '" "double [3]""'");  }
      arg4 = reinterpret_cast< double * >(argp4); ((OpenBabel::OBGridData const *)arg1)->GetAxes(arg2,arg3,arg4);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBGridData_GetXAxis) { { OpenBabel::OBGridData *arg1 = (OpenBabel::OBGridData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::vector3 result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBGridData_GetXAxis(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGridData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGridData_GetXAxis" "', argument " "1"" of type '" "OpenBabel::OBGridData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGridData * >(argp1); result = ((OpenBabel::OBGridData const *)arg1)->GetXAxis();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::vector3(static_cast< const OpenBabel::vector3& >(result))), SWIGTYPE_p_OpenBabel__vector3, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBGridData_GetYAxis) { { OpenBabel::OBGridData *arg1 = (OpenBabel::OBGridData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::vector3 result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBGridData_GetYAxis(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGridData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGridData_GetYAxis" "', argument " "1"" of type '" "OpenBabel::OBGridData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGridData * >(argp1); result = ((OpenBabel::OBGridData const *)arg1)->GetYAxis();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::vector3(static_cast< const OpenBabel::vector3& >(result))), SWIGTYPE_p_OpenBabel__vector3, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBGridData_GetZAxis) { { OpenBabel::OBGridData *arg1 = (OpenBabel::OBGridData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::vector3 result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBGridData_GetZAxis(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGridData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGridData_GetZAxis" "', argument " "1"" of type '" "OpenBabel::OBGridData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGridData * >(argp1); result = ((OpenBabel::OBGridData const *)arg1)->GetZAxis();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::vector3(static_cast< const OpenBabel::vector3& >(result))), SWIGTYPE_p_OpenBabel__vector3, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBGridData_GetAxes__SWIG_1) { { OpenBabel::OBGridData *arg1 = (OpenBabel::OBGridData *) 0 ;
    OpenBabel::vector3 *arg2 = 0 ; OpenBabel::vector3 *arg3 = 0 ; OpenBabel::vector3 *arg4 = 0 ; void *argp1 = 0 ;
    int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 4) || (items > 4)) { SWIG_croak("Usage: OBGridData_GetAxes(self,v1,v2,v3);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGridData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGridData_GetAxes" "', argument " "1"" of type '" "OpenBabel::OBGridData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGridData * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBGridData_GetAxes" "', argument " "2"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBGridData_GetAxes" "', argument " "2"" of type '" "OpenBabel::vector3 &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBGridData_GetAxes" "', argument " "3"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBGridData_GetAxes" "', argument " "3"" of type '" "OpenBabel::vector3 &""'"); }
     arg3 = reinterpret_cast< OpenBabel::vector3 * >(argp3);
    res4 = SWIG_ConvertPtr(ST(3), &argp4, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBGridData_GetAxes" "', argument " "4"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp4) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBGridData_GetAxes" "', argument " "4"" of type '" "OpenBabel::vector3 &""'"); }
     arg4 = reinterpret_cast< OpenBabel::vector3 * >(argp4); ((OpenBabel::OBGridData const *)arg1)->GetAxes(*arg2,*arg3,*arg4);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBGridData_GetAxes) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 4) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBGridData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(3), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 4) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBGridData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(3), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBGridData_GetAxes__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBGridData_GetAxes__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBGridData_GetAxes'"); XSRETURN(0); }
XS(_wrap_OBGridData_GetNumberOfPoints__SWIG_0) { { OpenBabel::OBGridData *arg1 = (OpenBabel::OBGridData *) 0 ; int *arg2 = 0 ;
    int *arg3 = 0 ; int *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ;
    int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; int argvi = 0; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: OBGridData_GetNumberOfPoints(self,nx,ny,nz);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGridData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGridData_GetNumberOfPoints" "', argument " "1"" of type '" "OpenBabel::OBGridData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGridData * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_int,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBGridData_GetNumberOfPoints" "', argument " "2"" of type '" "int &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBGridData_GetNumberOfPoints" "', argument " "2"" of type '" "int &""'"); }
     arg2 = reinterpret_cast< int * >(argp2); res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_int,  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBGridData_GetNumberOfPoints" "', argument " "3"" of type '" "int &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBGridData_GetNumberOfPoints" "', argument " "3"" of type '" "int &""'"); }
     arg3 = reinterpret_cast< int * >(argp3); res4 = SWIG_ConvertPtr(ST(3), &argp4, SWIGTYPE_p_int,  0 );
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBGridData_GetNumberOfPoints" "', argument " "4"" of type '" "int &""'");  }
     if (!argp4) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBGridData_GetNumberOfPoints" "', argument " "4"" of type '" "int &""'"); }
     arg4 = reinterpret_cast< int * >(argp4); ((OpenBabel::OBGridData const *)arg1)->GetNumberOfPoints(*arg2,*arg3,*arg4);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBGridData_GetNumberOfPoints__SWIG_1) { { OpenBabel::OBGridData *arg1 = (OpenBabel::OBGridData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBGridData_GetNumberOfPoints(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGridData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGridData_GetNumberOfPoints" "', argument " "1"" of type '" "OpenBabel::OBGridData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGridData * >(argp1);
    result = (int)((OpenBabel::OBGridData const *)arg1)->GetNumberOfPoints();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBGridData_GetNumberOfPoints) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBGridData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 4) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBGridData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_int, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_int, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(3), &vptr, SWIGTYPE_p_int, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBGridData_GetNumberOfPoints__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBGridData_GetNumberOfPoints__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBGridData_GetNumberOfPoints'"); XSRETURN(0); }
XS(_wrap_OBGridData_GetNumberOfSteps) { { OpenBabel::OBGridData *arg1 = (OpenBabel::OBGridData *) 0 ; int *arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBGridData_GetNumberOfSteps(self,steps);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGridData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGridData_GetNumberOfSteps" "', argument " "1"" of type '" "OpenBabel::OBGridData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGridData * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_int, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBGridData_GetNumberOfSteps" "', argument " "2"" of type '" "int [3]""'");  }
      arg2 = reinterpret_cast< int * >(argp2); ((OpenBabel::OBGridData const *)arg1)->GetNumberOfSteps(arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBGridData_GetValues) { { OpenBabel::OBGridData *arg1 = (OpenBabel::OBGridData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; std::vector< double > result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBGridData_GetValues(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGridData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGridData_GetValues" "', argument " "1"" of type '" "OpenBabel::OBGridData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGridData * >(argp1); result = ((OpenBabel::OBGridData const *)arg1)->GetValues(); {
      size_t len = (&result)->size(); SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) { svs[i] = sv_newmortal();
        sv_setnv(svs[i], result[i]); }  AV *myav = av_make(len, svs); delete[] svs; ST(argvi) = newRV_noinc((SV*) myav);
      sv_2mortal(ST(argvi)); argvi++; }  XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBGridData_GetValue__SWIG_0) { { OpenBabel::OBGridData *arg1 = (OpenBabel::OBGridData *) 0 ; int arg2 ; int arg3 ;
    int arg4 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ;
    int ecode4 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: OBGridData_GetValue(self,i,j,k);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGridData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGridData_GetValue" "', argument " "1"" of type '" "OpenBabel::OBGridData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGridData * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBGridData_GetValue" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBGridData_GetValue" "', argument " "3"" of type '" "int""'"); }
      arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4); if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBGridData_GetValue" "', argument " "4"" of type '" "int""'"); }
      arg4 = static_cast< int >(val4); result = (double)((OpenBabel::OBGridData const *)arg1)->GetValue(arg2,arg3,arg4);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBGridData_GetValue__SWIG_1) { { OpenBabel::OBGridData *arg1 = (OpenBabel::OBGridData *) 0 ; OpenBabel::vector3 arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBGridData_GetValue(self,pos);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGridData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGridData_GetValue" "', argument " "1"" of type '" "OpenBabel::OBGridData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGridData * >(argp1); {
      res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBGridData_GetValue" "', argument " "2"" of type '" "OpenBabel::vector3""'");  }
         if (!argp2) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBGridData_GetValue" "', argument " "2"" of type '" "OpenBabel::vector3""'"); }
       else { arg2 = *(reinterpret_cast< OpenBabel::vector3 * >(argp2)); }  } 
    result = (double)((OpenBabel::OBGridData const *)arg1)->GetValue(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBGridData_GetValue) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBGridData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 4) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBGridData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBGridData_GetValue__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBGridData_GetValue__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBGridData_GetValue'"); XSRETURN(0); }
XS(_wrap_OBGridData_GetUnit) { { OpenBabel::OBGridData *arg1 = (OpenBabel::OBGridData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBGridData::Unit result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBGridData_GetUnit(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGridData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGridData_GetUnit" "', argument " "1"" of type '" "OpenBabel::OBGridData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGridData * >(argp1);
    result = (OpenBabel::OBGridData::Unit)((OpenBabel::OBGridData const *)arg1)->GetUnit();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBGridData_GetMinValue) { { OpenBabel::OBGridData *arg1 = (OpenBabel::OBGridData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBGridData_GetMinValue(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGridData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGridData_GetMinValue" "', argument " "1"" of type '" "OpenBabel::OBGridData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGridData * >(argp1);
    result = (double)((OpenBabel::OBGridData const *)arg1)->GetMinValue();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBGridData_GetMaxValue) { { OpenBabel::OBGridData *arg1 = (OpenBabel::OBGridData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBGridData_GetMaxValue(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGridData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGridData_GetMaxValue" "', argument " "1"" of type '" "OpenBabel::OBGridData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGridData * >(argp1);
    result = (double)((OpenBabel::OBGridData const *)arg1)->GetMaxValue();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBGridData_GetOriginVector__SWIG_0) { { OpenBabel::OBGridData *arg1 = (OpenBabel::OBGridData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::vector3 result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBGridData_GetOriginVector(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGridData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGridData_GetOriginVector" "', argument " "1"" of type '" "OpenBabel::OBGridData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGridData * >(argp1);
    result = ((OpenBabel::OBGridData const *)arg1)->GetOriginVector();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::vector3(static_cast< const OpenBabel::vector3& >(result))), SWIGTYPE_p_OpenBabel__vector3, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBGridData_GetOriginVector__SWIG_1) { { OpenBabel::OBGridData *arg1 = (OpenBabel::OBGridData *) 0 ; double *arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBGridData_GetOriginVector(self,o);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGridData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGridData_GetOriginVector" "', argument " "1"" of type '" "OpenBabel::OBGridData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGridData * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBGridData_GetOriginVector" "', argument " "2"" of type '" "double [3]""'");  }
      arg2 = reinterpret_cast< double * >(argp2); ((OpenBabel::OBGridData const *)arg1)->GetOriginVector(arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBGridData_GetOriginVector) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBGridData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBGridData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBGridData_GetOriginVector__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBGridData_GetOriginVector__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBGridData_GetOriginVector'"); XSRETURN(0); }
XS(_wrap_OBGridData_GetMaxVector) { { OpenBabel::OBGridData *arg1 = (OpenBabel::OBGridData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::vector3 result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBGridData_GetMaxVector(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGridData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGridData_GetMaxVector" "', argument " "1"" of type '" "OpenBabel::OBGridData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGridData * >(argp1); result = ((OpenBabel::OBGridData const *)arg1)->GetMaxVector();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::vector3(static_cast< const OpenBabel::vector3& >(result))), SWIGTYPE_p_OpenBabel__vector3, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBGridData_GetUnrestricted) { { OpenBabel::OBGridData *arg1 = (OpenBabel::OBGridData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBGridData_GetUnrestricted(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGridData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGridData_GetUnrestricted" "', argument " "1"" of type '" "OpenBabel::OBGridData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGridData * >(argp1);
    result = (bool)((OpenBabel::OBGridData const *)arg1)->GetUnrestricted();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBGridData_GetNumSymmetries) { { OpenBabel::OBGridData *arg1 = (OpenBabel::OBGridData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBGridData_GetNumSymmetries(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGridData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGridData_GetNumSymmetries" "', argument " "1"" of type '" "OpenBabel::OBGridData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGridData * >(argp1);
    result = (int)((OpenBabel::OBGridData const *)arg1)->GetNumSymmetries();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBGridData_SetNumberOfPoints) { { OpenBabel::OBGridData *arg1 = (OpenBabel::OBGridData *) 0 ; int arg2 ; int arg3 ;
    int arg4 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ;
    int ecode4 = 0 ; int argvi = 0; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: OBGridData_SetNumberOfPoints(self,nx,ny,nz);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGridData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGridData_SetNumberOfPoints" "', argument " "1"" of type '" "OpenBabel::OBGridData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGridData * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBGridData_SetNumberOfPoints" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBGridData_SetNumberOfPoints" "', argument " "3"" of type '" "int""'"); }
      arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4); if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBGridData_SetNumberOfPoints" "', argument " "4"" of type '" "int""'"); }
      arg4 = static_cast< int >(val4); (arg1)->SetNumberOfPoints(arg2,arg3,arg4); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBGridData_SetLimits__SWIG_0) { { OpenBabel::OBGridData *arg1 = (OpenBabel::OBGridData *) 0 ;
    OpenBabel::vector3 *arg2 = 0 ; OpenBabel::vector3 *arg3 = 0 ; OpenBabel::vector3 *arg4 = 0 ; OpenBabel::vector3 *arg5 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; void *argp3 ; int res3 = 0 ; void *argp4 ; int res4 = 0 ;
    void *argp5 ; int res5 = 0 ; int argvi = 0; dXSARGS; if ((items < 5) || (items > 5)) {
      SWIG_croak("Usage: OBGridData_SetLimits(self,origin,x,y,z);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGridData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGridData_SetLimits" "', argument " "1"" of type '" "OpenBabel::OBGridData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGridData * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBGridData_SetLimits" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBGridData_SetLimits" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBGridData_SetLimits" "', argument " "3"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBGridData_SetLimits" "', argument " "3"" of type '" "OpenBabel::vector3 const &""'"); }
     arg3 = reinterpret_cast< OpenBabel::vector3 * >(argp3);
    res4 = SWIG_ConvertPtr(ST(3), &argp4, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBGridData_SetLimits" "', argument " "4"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp4) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBGridData_SetLimits" "', argument " "4"" of type '" "OpenBabel::vector3 const &""'"); }
     arg4 = reinterpret_cast< OpenBabel::vector3 * >(argp4);
    res5 = SWIG_ConvertPtr(ST(4), &argp5, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res5)) {
      SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "OBGridData_SetLimits" "', argument " "5"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp5) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBGridData_SetLimits" "', argument " "5"" of type '" "OpenBabel::vector3 const &""'"); }
     arg5 = reinterpret_cast< OpenBabel::vector3 * >(argp5);
    (arg1)->SetLimits((OpenBabel::vector3 const &)*arg2,(OpenBabel::vector3 const &)*arg3,(OpenBabel::vector3 const &)*arg4,(OpenBabel::vector3 const &)*arg5);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBGridData_SetLimits__SWIG_1) { { OpenBabel::OBGridData *arg1 = (OpenBabel::OBGridData *) 0 ; double *arg2 ;
    double *arg3 ; double *arg4 ; double *arg5 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; void *argp5 = 0 ; int res5 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 5) || (items > 5)) { SWIG_croak("Usage: OBGridData_SetLimits(self,origin,x,y,z);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGridData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGridData_SetLimits" "', argument " "1"" of type '" "OpenBabel::OBGridData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGridData * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBGridData_SetLimits" "', argument " "2"" of type '" "double const [3]""'");  }
      arg2 = reinterpret_cast< double * >(argp2); res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBGridData_SetLimits" "', argument " "3"" of type '" "double const [3]""'");  }
      arg3 = reinterpret_cast< double * >(argp3); res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBGridData_SetLimits" "', argument " "4"" of type '" "double const [3]""'");  }
      arg4 = reinterpret_cast< double * >(argp4); res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res5)) {
      SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "OBGridData_SetLimits" "', argument " "5"" of type '" "double const [3]""'");  }
      arg5 = reinterpret_cast< double * >(argp5);
    (arg1)->SetLimits((double const (*))arg2,(double const (*))arg3,(double const (*))arg4,(double const (*))arg5);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBGridData_SetLimits) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 5) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBGridData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(3), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(4), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 5) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBGridData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(3), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(4), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBGridData_SetLimits__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBGridData_SetLimits__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBGridData_SetLimits'"); XSRETURN(0); }
XS(_wrap_OBGridData_SetValue) { { OpenBabel::OBGridData *arg1 = (OpenBabel::OBGridData *) 0 ; int arg2 ; int arg3 ; int arg4 ;
    double arg5 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ;
    int ecode4 = 0 ; double val5 ; int ecode5 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 5) || (items > 5)) {
      SWIG_croak("Usage: OBGridData_SetValue(self,i,j,k,val);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGridData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGridData_SetValue" "', argument " "1"" of type '" "OpenBabel::OBGridData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGridData * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBGridData_SetValue" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBGridData_SetValue" "', argument " "3"" of type '" "int""'"); }
      arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4); if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBGridData_SetValue" "', argument " "4"" of type '" "int""'"); }
      arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5); if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "OBGridData_SetValue" "', argument " "5"" of type '" "double""'"); }
      arg5 = static_cast< double >(val5); result = (bool)(arg1)->SetValue(arg2,arg3,arg4,arg5);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBGridData_SetValues) { { OpenBabel::OBGridData *arg1 = (OpenBabel::OBGridData *) 0 ; std::vector< double > *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; std::vector< double > temp2 ; std::vector< double > *v2 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBGridData_SetValues(self,v);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGridData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGridData_SetValues" "', argument " "1"" of type '" "OpenBabel::OBGridData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGridData * >(argp1); { if (SWIG_ConvertPtr(ST(1),(void **) &v2, 
      SWIGTYPE_p_std__vectorT_double_t,1) != -1) { arg2 = v2; }  else if (SvROK(ST(1))) { AV *av = (AV *)SvRV(ST(1));
        if (SvTYPE(av) != SVt_PVAV) SWIG_croak("Type error in argument 2 of OBGridData_SetValues. "
        "Expected an array of ""double"); SV **tv; I32 len = av_len(av) + 1; for (int i=0; i<len; i++) {
          tv = av_fetch(av, i, 0); if (SvNIOK(*tv)) { temp2.push_back((double)SwigSvToNumber(*tv)); }  else {
            SWIG_croak("Type error in argument 2 of " "OBGridData_SetValues. " "Expected an array of ""double"); }  } 
        arg2 = &temp2; }  else { SWIG_croak("Type error in argument 2 of OBGridData_SetValues. "
        "Expected an array of ""double"); }  }  (arg1)->SetValues((std::vector< double > const &)*arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBGridData_SetUnit) { { OpenBabel::OBGridData *arg1 = (OpenBabel::OBGridData *) 0 ; OpenBabel::OBGridData::Unit arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBGridData_SetUnit(self,u);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGridData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGridData_SetUnit" "', argument " "1"" of type '" "OpenBabel::OBGridData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGridData * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBGridData_SetUnit" "', argument " "2"" of type '" "OpenBabel::OBGridData::Unit""'"); }
      arg2 = static_cast< OpenBabel::OBGridData::Unit >(val2); (arg1)->SetUnit(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBGridData_SetUnrestricted) { { OpenBabel::OBGridData *arg1 = (OpenBabel::OBGridData *) 0 ; bool arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBGridData_SetUnrestricted(self,u);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGridData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGridData_SetUnrestricted" "', argument " "1"" of type '" "OpenBabel::OBGridData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGridData * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBGridData_SetUnrestricted" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); (arg1)->SetUnrestricted(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBGridData_SetNumSymmetries) { { OpenBabel::OBGridData *arg1 = (OpenBabel::OBGridData *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBGridData_SetNumSymmetries(self,s);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBGridData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBGridData_SetNumSymmetries" "', argument " "1"" of type '" "OpenBabel::OBGridData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBGridData * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBGridData_SetNumSymmetries" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (arg1)->SetNumSymmetries(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_new_Dummy) { { int argvi = 0; std::binary_function< char const *,char const *,bool > *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_Dummy();"); } 
    result = (std::binary_function< char const *,char const *,bool > *)new std::binary_function< char const *,char const *,bool >();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__binary_functionT_char_const_p_char_const_p_bool_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_Dummy) { {
    std::binary_function< char const *,char const *,bool > *arg1 = (std::binary_function< char const *,char const *,bool > *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: delete_Dummy(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__binary_functionT_char_const_p_char_const_p_bool_t, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Dummy" "', argument " "1"" of type '" "std::binary_function< char const *,char const *,bool > *""'");  }
     arg1 = reinterpret_cast< std::binary_function< char const *,char const *,bool > * >(argp1); delete arg1;
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_CharPtrLess___call__) { { OpenBabel::CharPtrLess *arg1 = (OpenBabel::CharPtrLess *) 0 ; char *arg2 = (char *) 0 ;
    char *arg3 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int res3 ;
    char *buf3 = 0 ; int alloc3 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: CharPtrLess___call__(self,p1,p2);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__CharPtrLess, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CharPtrLess___call__" "', argument " "1"" of type '" "OpenBabel::CharPtrLess const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::CharPtrLess * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CharPtrLess___call__" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CharPtrLess___call__" "', argument " "3"" of type '" "char const *""'"); }
     arg3 = reinterpret_cast< char * >(buf3);
    result = (bool)((OpenBabel::CharPtrLess const *)arg1)->operator ()((char const *)arg2,(char const *)arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; XSRETURN(argvi); fail:
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; SWIG_croak_null(); }  }
XS(_wrap_new_CharPtrLess) { { int argvi = 0; OpenBabel::CharPtrLess *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_CharPtrLess();"); }  result = (OpenBabel::CharPtrLess *)new OpenBabel::CharPtrLess();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__CharPtrLess, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_CharPtrLess) { { OpenBabel::CharPtrLess *arg1 = (OpenBabel::CharPtrLess *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_CharPtrLess(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__CharPtrLess, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CharPtrLess" "', argument " "1"" of type '" "OpenBabel::CharPtrLess *""'");  }
     arg1 = reinterpret_cast< OpenBabel::CharPtrLess * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_delete_OBPlugin) { { OpenBabel::OBPlugin *arg1 = (OpenBabel::OBPlugin *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBPlugin(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBPlugin, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBPlugin" "', argument " "1"" of type '" "OpenBabel::OBPlugin *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBPlugin * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBPlugin_Description) { { OpenBabel::OBPlugin *arg1 = (OpenBabel::OBPlugin *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBPlugin_Description(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBPlugin, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBPlugin_Description" "', argument " "1"" of type '" "OpenBabel::OBPlugin *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBPlugin * >(argp1); result = (char *)(arg1)->Description();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBPlugin_TypeID) { { OpenBabel::OBPlugin *arg1 = (OpenBabel::OBPlugin *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBPlugin_TypeID(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBPlugin, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBPlugin_TypeID" "', argument " "1"" of type '" "OpenBabel::OBPlugin *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBPlugin * >(argp1); result = (char *)(arg1)->TypeID();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBPlugin_Display__SWIG_0) { { OpenBabel::OBPlugin *arg1 = (OpenBabel::OBPlugin *) 0 ; std::string *arg2 = 0 ;
    char *arg3 = (char *) 0 ; char *arg4 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; int res4 ; char *buf4 = 0 ; int alloc4 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 4) || (items > 4)) { SWIG_croak("Usage: OBPlugin_Display(self,txt,param,ID);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBPlugin, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBPlugin_Display" "', argument " "1"" of type '" "OpenBabel::OBPlugin *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBPlugin * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__string,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBPlugin_Display" "', argument " "2"" of type '" "std::string &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBPlugin_Display" "', argument " "2"" of type '" "std::string &""'"); }
     arg2 = reinterpret_cast< std::string * >(argp2); res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBPlugin_Display" "', argument " "3"" of type '" "char const *""'"); }
     arg3 = reinterpret_cast< char * >(buf3); res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4); if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBPlugin_Display" "', argument " "4"" of type '" "char const *""'"); }
     arg4 = reinterpret_cast< char * >(buf4); result = (bool)(arg1)->Display(*arg2,(char const *)arg3,(char const *)arg4);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (alloc3 == SWIG_NEWOBJ) delete[] buf3; if (alloc4 == SWIG_NEWOBJ) delete[] buf4; XSRETURN(argvi); fail:
    if (alloc3 == SWIG_NEWOBJ) delete[] buf3; if (alloc4 == SWIG_NEWOBJ) delete[] buf4; SWIG_croak_null(); }  }
XS(_wrap_OBPlugin_Display__SWIG_1) { { OpenBabel::OBPlugin *arg1 = (OpenBabel::OBPlugin *) 0 ; std::string *arg2 = 0 ;
    char *arg3 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int res3 ; char *buf3 = 0 ;
    int alloc3 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBPlugin_Display(self,txt,param);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBPlugin, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBPlugin_Display" "', argument " "1"" of type '" "OpenBabel::OBPlugin *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBPlugin * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__string,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBPlugin_Display" "', argument " "2"" of type '" "std::string &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBPlugin_Display" "', argument " "2"" of type '" "std::string &""'"); }
     arg2 = reinterpret_cast< std::string * >(argp2); res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBPlugin_Display" "', argument " "3"" of type '" "char const *""'"); }
     arg3 = reinterpret_cast< char * >(buf3); result = (bool)(arg1)->Display(*arg2,(char const *)arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (alloc3 == SWIG_NEWOBJ) delete[] buf3; XSRETURN(argvi); fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
    SWIG_croak_null(); }  }
XS(_wrap_OBPlugin_Display) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBPlugin, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_std__string, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { int res = SWIG_AsCharPtrAndSize(ST(2), 0, NULL, 0);
        _v = SWIG_CheckState(res);}  if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1:
    if (items == 4) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBPlugin, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_std__string, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { int res = SWIG_AsCharPtrAndSize(ST(2), 0, NULL, 0);
        _v = SWIG_CheckState(res);}  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(3), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBPlugin_Display__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBPlugin_Display__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBPlugin_Display'"); XSRETURN(0); }
XS(_wrap_OBPlugin_MakeInstance) { { OpenBabel::OBPlugin *arg1 = (OpenBabel::OBPlugin *) 0 ;
    std::vector< std::string > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< std::string > temp2 ;
    std::vector< std::string > *v2 ; int argvi = 0; OpenBabel::OBPlugin *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBPlugin_MakeInstance(self,std::vector< std::string > const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBPlugin, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBPlugin_MakeInstance" "', argument " "1"" of type '" "OpenBabel::OBPlugin *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBPlugin * >(argp1); { if (SWIG_ConvertPtr(ST(1),(void **) &v2, 
      SWIGTYPE_p_std__vectorT_std__string_t,1) != -1) { arg2 = v2; }  else if (SvROK(ST(1))) { AV *av = (AV *)SvRV(ST(1));
        if (SvTYPE(av) != SVt_PVAV) SWIG_croak("Type error in argument 2 of OBPlugin_MakeInstance. "
        "Expected an array of ""std::string"); SV **tv; I32 len = av_len(av) + 1; for (int i=0; i<len; i++) {
          tv = av_fetch(av, i, 0); if (SvPOK(*tv)) { temp2.push_back((std::string)SwigSvToString(*tv)); }  else {
            SWIG_croak("Type error in argument 2 of " "OBPlugin_MakeInstance. " "Expected an array of ""std::string"); }  } 
        arg2 = &temp2; }  else { SWIG_croak("Type error in argument 2 of OBPlugin_MakeInstance. "
        "Expected an array of ""std::string"); }  } 
    result = (OpenBabel::OBPlugin *)(arg1)->MakeInstance((std::vector< std::string > const &)*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBPlugin, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBPlugin_Init) { { OpenBabel::OBPlugin *arg1 = (OpenBabel::OBPlugin *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBPlugin_Init(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBPlugin, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBPlugin_Init" "', argument " "1"" of type '" "OpenBabel::OBPlugin *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBPlugin * >(argp1); (arg1)->Init(); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBPlugin_GetPlugin) { { char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; int res1 ; char *buf1 = 0 ;
    int alloc1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0; OpenBabel::OBPlugin *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBPlugin_GetPlugin(Type,ID);"); } 
    res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBPlugin_GetPlugin" "', argument " "1"" of type '" "char const *""'"); }
     arg1 = reinterpret_cast< char * >(buf1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBPlugin_GetPlugin" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2);
    result = (OpenBabel::OBPlugin *)OpenBabel::OBPlugin::GetPlugin((char const *)arg1,(char const *)arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBPlugin, 0 | SWIG_SHADOW); argvi++ ;
    if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail:
    if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; SWIG_croak_null(); }  }
XS(_wrap_OBPlugin_GetID) { { OpenBabel::OBPlugin *arg1 = (OpenBabel::OBPlugin *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBPlugin_GetID(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBPlugin, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBPlugin_GetID" "', argument " "1"" of type '" "OpenBabel::OBPlugin const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBPlugin * >(argp1); result = (char *)((OpenBabel::OBPlugin const *)arg1)->GetID();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBPlugin_ListAsVector) { { char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; std::vector< std::string > *arg3 = 0 ;
    int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; void *argp3 = 0 ; int res3 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBPlugin_ListAsVector(PluginID,param,vlist);"); } 
    res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBPlugin_ListAsVector" "', argument " "1"" of type '" "char const *""'"); }
     arg1 = reinterpret_cast< char * >(buf1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBPlugin_ListAsVector" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_std__vectorT_std__string_t,  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBPlugin_ListAsVector" "', argument " "3"" of type '" "std::vector< std::string > &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBPlugin_ListAsVector" "', argument " "3"" of type '" "std::vector< std::string > &""'"); }
     arg3 = reinterpret_cast< std::vector< std::string > * >(argp3);
    result = (bool)OpenBabel::OBPlugin::ListAsVector((char const *)arg1,(char const *)arg2,*arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail:
    if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; SWIG_croak_null(); }  }
XS(_wrap_OBPlugin_List__SWIG_0) { { char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ;
    std::ostream *arg3 = (std::ostream *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int res2 ; char *buf2 = 0 ;
    int alloc2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBPlugin_List(PluginID,param,os);"); }  res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBPlugin_List" "', argument " "1"" of type '" "char const *""'"); }
     arg1 = reinterpret_cast< char * >(buf1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBPlugin_List" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_std__ostream, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBPlugin_List" "', argument " "3"" of type '" "std::ostream *""'");  }
     arg3 = reinterpret_cast< std::ostream * >(argp3); OpenBabel::OBPlugin::List((char const *)arg1,(char const *)arg2,arg3);
    ST(argvi) = sv_newmortal(); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    XSRETURN(argvi); fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap_OBPlugin_List__SWIG_1) { { char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; int res1 ; char *buf1 = 0 ;
    int alloc1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBPlugin_List(PluginID,param);"); }  res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBPlugin_List" "', argument " "1"" of type '" "char const *""'"); }
     arg1 = reinterpret_cast< char * >(buf1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBPlugin_List" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); OpenBabel::OBPlugin::List((char const *)arg1,(char const *)arg2);
    ST(argvi) = sv_newmortal(); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    XSRETURN(argvi); fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap_OBPlugin_List__SWIG_2) { { char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBPlugin_List(PluginID);"); } 
    res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBPlugin_List" "', argument " "1"" of type '" "char const *""'"); }
     arg1 = reinterpret_cast< char * >(buf1); OpenBabel::OBPlugin::List((char const *)arg1); ST(argvi) = sv_newmortal();
    if (alloc1 == SWIG_NEWOBJ) delete[] buf1; XSRETURN(argvi); fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
    SWIG_croak_null(); }  }
XS(_wrap_OBPlugin_List) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; {
        int res = SWIG_AsCharPtrAndSize(ST(0), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { int res = SWIG_AsCharPtrAndSize(ST(0), 0, NULL, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 3) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { int res = SWIG_AsCharPtrAndSize(ST(0), 0, NULL, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_std__ostream, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBPlugin_List__SWIG_2); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBPlugin_List__SWIG_1); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBPlugin_List__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBPlugin_List'"); XSRETURN(0); }
XS(_wrap_OBPlugin_ListAsString__SWIG_0) { { char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; int res1 ; char *buf1 = 0 ;
    int alloc1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0; std::string result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBPlugin_ListAsString(PluginID,param);"); } 
    res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBPlugin_ListAsString" "', argument " "1"" of type '" "char const *""'"); }
     arg1 = reinterpret_cast< char * >(buf1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBPlugin_ListAsString" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); result = OpenBabel::OBPlugin::ListAsString((char const *)arg1,(char const *)arg2);
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ;
    if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail:
    if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; SWIG_croak_null(); }  }
XS(_wrap_OBPlugin_ListAsString__SWIG_1) { { char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ;
    int argvi = 0; std::string result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBPlugin_ListAsString(PluginID);"); }  res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBPlugin_ListAsString" "', argument " "1"" of type '" "char const *""'"); }
     arg1 = reinterpret_cast< char * >(buf1); result = OpenBabel::OBPlugin::ListAsString((char const *)arg1);
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ;
    if (alloc1 == SWIG_NEWOBJ) delete[] buf1; XSRETURN(argvi); fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
    SWIG_croak_null(); }  }
XS(_wrap_OBPlugin_ListAsString) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; {
        int res = SWIG_AsCharPtrAndSize(ST(0), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { int res = SWIG_AsCharPtrAndSize(ST(0), 0, NULL, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBPlugin_ListAsString__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBPlugin_ListAsString__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBPlugin_ListAsString'"); XSRETURN(0); }
XS(_wrap_OBPlugin_FirstLine) { { char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int argvi = 0;
    std::string result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBPlugin_FirstLine(txt);"); } 
    res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBPlugin_FirstLine" "', argument " "1"" of type '" "char const *""'"); }
     arg1 = reinterpret_cast< char * >(buf1); result = OpenBabel::OBPlugin::FirstLine((char const *)arg1);
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ;
    if (alloc1 == SWIG_NEWOBJ) delete[] buf1; XSRETURN(argvi); fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
    SWIG_croak_null(); }  }
XS(_wrap_OBPlugin_Begin) { { char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int argvi = 0;
    OpenBabel::OBPlugin::PluginIterator result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBPlugin_Begin(PluginID);"); }  res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBPlugin_Begin" "', argument " "1"" of type '" "char const *""'"); }
     arg1 = reinterpret_cast< char * >(buf1); result = OpenBabel::OBPlugin::Begin((char const *)arg1);
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBPlugin::PluginIterator(static_cast< const OpenBabel::OBPlugin::PluginIterator& >(result))), SWIGTYPE_p_OpenBabel__OBPlugin__PluginMapType__const_iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    if (alloc1 == SWIG_NEWOBJ) delete[] buf1; XSRETURN(argvi); fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
    SWIG_croak_null(); }  }
XS(_wrap_OBPlugin_End) { { char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int argvi = 0;
    OpenBabel::OBPlugin::PluginIterator result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBPlugin_End(PluginID);"); }  res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBPlugin_End" "', argument " "1"" of type '" "char const *""'"); }
     arg1 = reinterpret_cast< char * >(buf1); result = OpenBabel::OBPlugin::End((char const *)arg1);
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBPlugin::PluginIterator(static_cast< const OpenBabel::OBPlugin::PluginIterator& >(result))), SWIGTYPE_p_OpenBabel__OBPlugin__PluginMapType__const_iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    if (alloc1 == SWIG_NEWOBJ) delete[] buf1; XSRETURN(argvi); fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
    SWIG_croak_null(); }  }
XS(_wrap_OBPlugin_GetMap) { { OpenBabel::OBPlugin *arg1 = (OpenBabel::OBPlugin *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBPlugin::PluginMapType *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBPlugin_GetMap(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBPlugin, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBPlugin_GetMap" "', argument " "1"" of type '" "OpenBabel::OBPlugin const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBPlugin * >(argp1);
    result = (OpenBabel::OBPlugin::PluginMapType *) &((OpenBabel::OBPlugin const *)arg1)->GetMap();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__mapT_char_const_p_OpenBabel__OBPlugin_p_OpenBabel__CharPtrLess_t, 0 | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_stringbuf) { { int argvi = 0; std::stringbuf *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_stringbuf();"); }  result = (std::stringbuf *)new std::stringbuf();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__stringbuf, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_stringbuf) { { std::stringbuf *arg1 = (std::stringbuf *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_stringbuf(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__stringbuf, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_stringbuf" "', argument " "1"" of type '" "std::stringbuf *""'");  }
     arg1 = reinterpret_cast< std::stringbuf * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_new_OBError__SWIG_0) { { std::string *arg1 = 0 ; std::string *arg2 = 0 ; std::string *arg3 = 0 ;
    std::string *arg4 = 0 ; std::string *arg5 = 0 ; OpenBabel::obMessageLevel arg6 ; int res1 = SWIG_OLDOBJ ;
    int res2 = SWIG_OLDOBJ ; int res3 = SWIG_OLDOBJ ; int res4 = SWIG_OLDOBJ ; int res5 = SWIG_OLDOBJ ; int val6 ;
    int ecode6 = 0 ; int argvi = 0; OpenBabel::OBError *result = 0 ; dXSARGS; if ((items < 6) || (items > 6)) {
      SWIG_croak("Usage: new_OBError(method,errorMsg,explanation,possibleCause,suggestedRemedy,OpenBabel::obMessageLevel const);"); }
     { std::string *ptr = (std::string *)0; res1 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(0), &ptr);
      if (!SWIG_IsOK(res1)) {
        SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBError" "', argument " "1"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBError" "', argument " "1"" of type '" "std::string const &""'"); }
       arg1 = ptr; }  { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr);
      if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_OBError" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBError" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  { std::string *ptr = (std::string *)0; res3 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), &ptr);
      if (!SWIG_IsOK(res3)) {
        SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_OBError" "', argument " "3"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBError" "', argument " "3"" of type '" "std::string const &""'"); }
       arg3 = ptr; }  { std::string *ptr = (std::string *)0; res4 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(3), &ptr);
      if (!SWIG_IsOK(res4)) {
        SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_OBError" "', argument " "4"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBError" "', argument " "4"" of type '" "std::string const &""'"); }
       arg4 = ptr; }  { std::string *ptr = (std::string *)0; res5 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(4), &ptr);
      if (!SWIG_IsOK(res5)) {
        SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_OBError" "', argument " "5"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBError" "', argument " "5"" of type '" "std::string const &""'"); }
       arg5 = ptr; }  ecode6 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(5), &val6); if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_OBError" "', argument " "6"" of type '" "OpenBabel::obMessageLevel""'"); }
      arg6 = static_cast< OpenBabel::obMessageLevel >(val6);
    result = (OpenBabel::OBError *)new OpenBabel::OBError((std::string const &)*arg1,(std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5,arg6);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBError, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    if (SWIG_IsNewObj(res1)) delete arg1; if (SWIG_IsNewObj(res2)) delete arg2; if (SWIG_IsNewObj(res3)) delete arg3;
    if (SWIG_IsNewObj(res4)) delete arg4; if (SWIG_IsNewObj(res5)) delete arg5; XSRETURN(argvi); fail:
    if (SWIG_IsNewObj(res1)) delete arg1; if (SWIG_IsNewObj(res2)) delete arg2; if (SWIG_IsNewObj(res3)) delete arg3;
    if (SWIG_IsNewObj(res4)) delete arg4; if (SWIG_IsNewObj(res5)) delete arg5; SWIG_croak_null(); }  }
XS(_wrap_new_OBError__SWIG_1) { { std::string *arg1 = 0 ; std::string *arg2 = 0 ; std::string *arg3 = 0 ;
    std::string *arg4 = 0 ; std::string *arg5 = 0 ; int res1 = SWIG_OLDOBJ ; int res2 = SWIG_OLDOBJ ; int res3 = SWIG_OLDOBJ ;
    int res4 = SWIG_OLDOBJ ; int res5 = SWIG_OLDOBJ ; int argvi = 0; OpenBabel::OBError *result = 0 ; dXSARGS;
    if ((items < 5) || (items > 5)) {
      SWIG_croak("Usage: new_OBError(method,errorMsg,explanation,possibleCause,suggestedRemedy);"); }  {
      std::string *ptr = (std::string *)0; res1 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(0), &ptr);
      if (!SWIG_IsOK(res1)) {
        SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBError" "', argument " "1"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBError" "', argument " "1"" of type '" "std::string const &""'"); }
       arg1 = ptr; }  { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr);
      if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_OBError" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBError" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  { std::string *ptr = (std::string *)0; res3 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), &ptr);
      if (!SWIG_IsOK(res3)) {
        SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_OBError" "', argument " "3"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBError" "', argument " "3"" of type '" "std::string const &""'"); }
       arg3 = ptr; }  { std::string *ptr = (std::string *)0; res4 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(3), &ptr);
      if (!SWIG_IsOK(res4)) {
        SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_OBError" "', argument " "4"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBError" "', argument " "4"" of type '" "std::string const &""'"); }
       arg4 = ptr; }  { std::string *ptr = (std::string *)0; res5 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(4), &ptr);
      if (!SWIG_IsOK(res5)) {
        SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_OBError" "', argument " "5"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBError" "', argument " "5"" of type '" "std::string const &""'"); }
       arg5 = ptr; } 
    result = (OpenBabel::OBError *)new OpenBabel::OBError((std::string const &)*arg1,(std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBError, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    if (SWIG_IsNewObj(res1)) delete arg1; if (SWIG_IsNewObj(res2)) delete arg2; if (SWIG_IsNewObj(res3)) delete arg3;
    if (SWIG_IsNewObj(res4)) delete arg4; if (SWIG_IsNewObj(res5)) delete arg5; XSRETURN(argvi); fail:
    if (SWIG_IsNewObj(res1)) delete arg1; if (SWIG_IsNewObj(res2)) delete arg2; if (SWIG_IsNewObj(res3)) delete arg3;
    if (SWIG_IsNewObj(res4)) delete arg4; if (SWIG_IsNewObj(res5)) delete arg5; SWIG_croak_null(); }  }
XS(_wrap_new_OBError__SWIG_2) { { std::string *arg1 = 0 ; std::string *arg2 = 0 ; std::string *arg3 = 0 ;
    std::string *arg4 = 0 ; int res1 = SWIG_OLDOBJ ; int res2 = SWIG_OLDOBJ ; int res3 = SWIG_OLDOBJ ; int res4 = SWIG_OLDOBJ ;
    int argvi = 0; OpenBabel::OBError *result = 0 ; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: new_OBError(method,errorMsg,explanation,possibleCause);"); }  { std::string *ptr = (std::string *)0;
      res1 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(0), &ptr); if (!SWIG_IsOK(res1)) {
        SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBError" "', argument " "1"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBError" "', argument " "1"" of type '" "std::string const &""'"); }
       arg1 = ptr; }  { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr);
      if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_OBError" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBError" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  { std::string *ptr = (std::string *)0; res3 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), &ptr);
      if (!SWIG_IsOK(res3)) {
        SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_OBError" "', argument " "3"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBError" "', argument " "3"" of type '" "std::string const &""'"); }
       arg3 = ptr; }  { std::string *ptr = (std::string *)0; res4 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(3), &ptr);
      if (!SWIG_IsOK(res4)) {
        SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_OBError" "', argument " "4"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBError" "', argument " "4"" of type '" "std::string const &""'"); }
       arg4 = ptr; } 
    result = (OpenBabel::OBError *)new OpenBabel::OBError((std::string const &)*arg1,(std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBError, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    if (SWIG_IsNewObj(res1)) delete arg1; if (SWIG_IsNewObj(res2)) delete arg2; if (SWIG_IsNewObj(res3)) delete arg3;
    if (SWIG_IsNewObj(res4)) delete arg4; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res1)) delete arg1;
    if (SWIG_IsNewObj(res2)) delete arg2; if (SWIG_IsNewObj(res3)) delete arg3; if (SWIG_IsNewObj(res4)) delete arg4;
    SWIG_croak_null(); }  }
XS(_wrap_new_OBError__SWIG_3) { { std::string *arg1 = 0 ; std::string *arg2 = 0 ; std::string *arg3 = 0 ;
    int res1 = SWIG_OLDOBJ ; int res2 = SWIG_OLDOBJ ; int res3 = SWIG_OLDOBJ ; int argvi = 0; OpenBabel::OBError *result = 0 ;
    dXSARGS; if ((items < 3) || (items > 3)) { SWIG_croak("Usage: new_OBError(method,errorMsg,explanation);"); }  {
      std::string *ptr = (std::string *)0; res1 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(0), &ptr);
      if (!SWIG_IsOK(res1)) {
        SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBError" "', argument " "1"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBError" "', argument " "1"" of type '" "std::string const &""'"); }
       arg1 = ptr; }  { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr);
      if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_OBError" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBError" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  { std::string *ptr = (std::string *)0; res3 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), &ptr);
      if (!SWIG_IsOK(res3)) {
        SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_OBError" "', argument " "3"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBError" "', argument " "3"" of type '" "std::string const &""'"); }
       arg3 = ptr; } 
    result = (OpenBabel::OBError *)new OpenBabel::OBError((std::string const &)*arg1,(std::string const &)*arg2,(std::string const &)*arg3);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBError, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    if (SWIG_IsNewObj(res1)) delete arg1; if (SWIG_IsNewObj(res2)) delete arg2; if (SWIG_IsNewObj(res3)) delete arg3;
    XSRETURN(argvi); fail: if (SWIG_IsNewObj(res1)) delete arg1; if (SWIG_IsNewObj(res2)) delete arg2;
    if (SWIG_IsNewObj(res3)) delete arg3; SWIG_croak_null(); }  }
XS(_wrap_new_OBError__SWIG_4) { { std::string *arg1 = 0 ; std::string *arg2 = 0 ; int res1 = SWIG_OLDOBJ ;
    int res2 = SWIG_OLDOBJ ; int argvi = 0; OpenBabel::OBError *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: new_OBError(method,errorMsg);"); }  { std::string *ptr = (std::string *)0;
      res1 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(0), &ptr); if (!SWIG_IsOK(res1)) {
        SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBError" "', argument " "1"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBError" "', argument " "1"" of type '" "std::string const &""'"); }
       arg1 = ptr; }  { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr);
      if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_OBError" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBError" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; } 
    result = (OpenBabel::OBError *)new OpenBabel::OBError((std::string const &)*arg1,(std::string const &)*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBError, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    if (SWIG_IsNewObj(res1)) delete arg1; if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail:
    if (SWIG_IsNewObj(res1)) delete arg1; if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap_new_OBError__SWIG_5) { { std::string *arg1 = 0 ; int res1 = SWIG_OLDOBJ ; int argvi = 0;
    OpenBabel::OBError *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: new_OBError(method);"); }  {
      std::string *ptr = (std::string *)0; res1 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(0), &ptr);
      if (!SWIG_IsOK(res1)) {
        SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBError" "', argument " "1"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBError" "', argument " "1"" of type '" "std::string const &""'"); }
       arg1 = ptr; }  result = (OpenBabel::OBError *)new OpenBabel::OBError((std::string const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBError, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    if (SWIG_IsNewObj(res1)) delete arg1; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res1)) delete arg1; SWIG_croak_null(); }  }
XS(_wrap_new_OBError__SWIG_6) { { int argvi = 0; OpenBabel::OBError *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_OBError();"); }  result = (OpenBabel::OBError *)new OpenBabel::OBError();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBError, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBError) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(0), (std::string**)(0));
        _v = SWIG_CheckState(res);}  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(0), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(0), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4: if (items == 4) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(0), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_5; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_5; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_5; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(3), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_5; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 5; if (_rank == _rankm) goto dispatch; }  }  check_5: if (items == 5) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(0), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_6; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_6; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_6; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(3), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_6; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(4), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_6; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 6; if (_rank == _rankm) goto dispatch; }  }  check_6: if (items == 6) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(0), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_7; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_7; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_7; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(3), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_7; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(4), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_7; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(5), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_7;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 7;
        if (_rank == _rankm) goto dispatch; }  }  check_7: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBError__SWIG_6); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBError__SWIG_5); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBError__SWIG_4); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBError__SWIG_3); return; case 5:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBError__SWIG_2); return; case 6:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBError__SWIG_1); return; case 7:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBError__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'new_OBError'"); XSRETURN(0); }
XS(_wrap_OBError_message) { { OpenBabel::OBError *arg1 = (OpenBabel::OBError *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; std::string result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBError_message(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBError, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBError_message" "', argument " "1"" of type '" "OpenBabel::OBError const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBError * >(argp1); result = ((OpenBabel::OBError const *)arg1)->message();
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBError_GetMethod) { { OpenBabel::OBError *arg1 = (OpenBabel::OBError *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; std::string result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBError_GetMethod(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBError, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBError_GetMethod" "', argument " "1"" of type '" "OpenBabel::OBError const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBError * >(argp1); result = ((OpenBabel::OBError const *)arg1)->GetMethod();
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBError_GetError) { { OpenBabel::OBError *arg1 = (OpenBabel::OBError *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; std::string result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBError_GetError(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBError, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBError_GetError" "', argument " "1"" of type '" "OpenBabel::OBError const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBError * >(argp1); result = ((OpenBabel::OBError const *)arg1)->GetError();
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBError_GetExplanation) { { OpenBabel::OBError *arg1 = (OpenBabel::OBError *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; std::string result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBError_GetExplanation(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBError, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBError_GetExplanation" "', argument " "1"" of type '" "OpenBabel::OBError const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBError * >(argp1); result = ((OpenBabel::OBError const *)arg1)->GetExplanation();
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBError_GetPossibleCause) { { OpenBabel::OBError *arg1 = (OpenBabel::OBError *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; std::string result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBError_GetPossibleCause(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBError, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBError_GetPossibleCause" "', argument " "1"" of type '" "OpenBabel::OBError const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBError * >(argp1); result = ((OpenBabel::OBError const *)arg1)->GetPossibleCause();
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBError_GetSuggestedRemedy) { { OpenBabel::OBError *arg1 = (OpenBabel::OBError *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; std::string result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBError_GetSuggestedRemedy(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBError, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBError_GetSuggestedRemedy" "', argument " "1"" of type '" "OpenBabel::OBError const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBError * >(argp1); result = ((OpenBabel::OBError const *)arg1)->GetSuggestedRemedy();
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBError_GetLevel) { { OpenBabel::OBError *arg1 = (OpenBabel::OBError *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::obMessageLevel result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBError_GetLevel(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBError, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBError_GetLevel" "', argument " "1"" of type '" "OpenBabel::OBError const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBError * >(argp1);
    result = (OpenBabel::obMessageLevel)((OpenBabel::OBError const *)arg1)->GetLevel();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBError___eq__) { { OpenBabel::OBError *arg1 = (OpenBabel::OBError *) 0 ; OpenBabel::OBError *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBError___eq__(self,OpenBabel::OBError const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBError, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBError___eq__" "', argument " "1"" of type '" "OpenBabel::OBError const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBError * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBError,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBError___eq__" "', argument " "2"" of type '" "OpenBabel::OBError const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBError___eq__" "', argument " "2"" of type '" "OpenBabel::OBError const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBError * >(argp2);
    result = (bool)((OpenBabel::OBError const *)arg1)->operator ==((OpenBabel::OBError const &)*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_delete_OBError) { { OpenBabel::OBError *arg1 = (OpenBabel::OBError *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBError(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBError, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBError" "', argument " "1"" of type '" "OpenBabel::OBError *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBError * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_new_OBMessageHandler) { { int argvi = 0; OpenBabel::OBMessageHandler *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_OBMessageHandler();"); } 
    result = (OpenBabel::OBMessageHandler *)new OpenBabel::OBMessageHandler();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMessageHandler, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBMessageHandler) { { OpenBabel::OBMessageHandler *arg1 = (OpenBabel::OBMessageHandler *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: delete_OBMessageHandler(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMessageHandler, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBMessageHandler" "', argument " "1"" of type '" "OpenBabel::OBMessageHandler *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMessageHandler * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBMessageHandler_ThrowError__SWIG_0) { { OpenBabel::OBMessageHandler *arg1 = (OpenBabel::OBMessageHandler *) 0 ;
    OpenBabel::OBError arg2 ; OpenBabel::errorQualifier arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ;
    int val3 ; int ecode3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBMessageHandler_ThrowError(self,err,qqualifier);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMessageHandler, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMessageHandler_ThrowError" "', argument " "1"" of type '" "OpenBabel::OBMessageHandler *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMessageHandler * >(argp1); {
      res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBError,  0 ); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMessageHandler_ThrowError" "', argument " "2"" of type '" "OpenBabel::OBError""'");  }
         if (!argp2) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMessageHandler_ThrowError" "', argument " "2"" of type '" "OpenBabel::OBError""'"); }
       else { arg2 = *(reinterpret_cast< OpenBabel::OBError * >(argp2)); }  } 
    ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBMessageHandler_ThrowError" "', argument " "3"" of type '" "OpenBabel::errorQualifier""'"); }
      arg3 = static_cast< OpenBabel::errorQualifier >(val3); (arg1)->ThrowError(arg2,arg3); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMessageHandler_ThrowError__SWIG_1) { { OpenBabel::OBMessageHandler *arg1 = (OpenBabel::OBMessageHandler *) 0 ;
    OpenBabel::OBError arg2 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBMessageHandler_ThrowError(self,err);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMessageHandler, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMessageHandler_ThrowError" "', argument " "1"" of type '" "OpenBabel::OBMessageHandler *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMessageHandler * >(argp1); {
      res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBError,  0 ); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMessageHandler_ThrowError" "', argument " "2"" of type '" "OpenBabel::OBError""'");  }
         if (!argp2) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMessageHandler_ThrowError" "', argument " "2"" of type '" "OpenBabel::OBError""'"); }
       else { arg2 = *(reinterpret_cast< OpenBabel::OBError * >(argp2)); }  }  (arg1)->ThrowError(arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMessageHandler_ThrowError__SWIG_2) { { OpenBabel::OBMessageHandler *arg1 = (OpenBabel::OBMessageHandler *) 0 ;
    std::string *arg2 = 0 ; std::string *arg3 = 0 ; OpenBabel::obMessageLevel arg4 ; OpenBabel::errorQualifier arg5 ;
    void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int res3 = SWIG_OLDOBJ ; int val4 ; int ecode4 = 0 ; int val5 ;
    int ecode5 = 0 ; int argvi = 0; dXSARGS; if ((items < 5) || (items > 5)) {
      SWIG_croak("Usage: OBMessageHandler_ThrowError(self,method,errorMsg,level,qualifier);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMessageHandler, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMessageHandler_ThrowError" "', argument " "1"" of type '" "OpenBabel::OBMessageHandler *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMessageHandler * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMessageHandler_ThrowError" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMessageHandler_ThrowError" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  { std::string *ptr = (std::string *)0; res3 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), &ptr);
      if (!SWIG_IsOK(res3)) {
        SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBMessageHandler_ThrowError" "', argument " "3"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMessageHandler_ThrowError" "', argument " "3"" of type '" "std::string const &""'"); }
       arg3 = ptr; }  ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4); if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBMessageHandler_ThrowError" "', argument " "4"" of type '" "OpenBabel::obMessageLevel""'"); }
      arg4 = static_cast< OpenBabel::obMessageLevel >(val4); ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "OBMessageHandler_ThrowError" "', argument " "5"" of type '" "OpenBabel::errorQualifier""'"); }
      arg5 = static_cast< OpenBabel::errorQualifier >(val5);
    (arg1)->ThrowError((std::string const &)*arg2,(std::string const &)*arg3,arg4,arg5); ST(argvi) = sv_newmortal();
    if (SWIG_IsNewObj(res2)) delete arg2; if (SWIG_IsNewObj(res3)) delete arg3; XSRETURN(argvi); fail:
    if (SWIG_IsNewObj(res2)) delete arg2; if (SWIG_IsNewObj(res3)) delete arg3; SWIG_croak_null(); }  }
XS(_wrap_OBMessageHandler_ThrowError__SWIG_3) { { OpenBabel::OBMessageHandler *arg1 = (OpenBabel::OBMessageHandler *) 0 ;
    std::string *arg2 = 0 ; std::string *arg3 = 0 ; OpenBabel::obMessageLevel arg4 ; void *argp1 = 0 ; int res1 = 0 ;
    int res2 = SWIG_OLDOBJ ; int res3 = SWIG_OLDOBJ ; int val4 ; int ecode4 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 4) || (items > 4)) { SWIG_croak("Usage: OBMessageHandler_ThrowError(self,method,errorMsg,level);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMessageHandler, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMessageHandler_ThrowError" "', argument " "1"" of type '" "OpenBabel::OBMessageHandler *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMessageHandler * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMessageHandler_ThrowError" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMessageHandler_ThrowError" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  { std::string *ptr = (std::string *)0; res3 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), &ptr);
      if (!SWIG_IsOK(res3)) {
        SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBMessageHandler_ThrowError" "', argument " "3"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMessageHandler_ThrowError" "', argument " "3"" of type '" "std::string const &""'"); }
       arg3 = ptr; }  ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4); if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBMessageHandler_ThrowError" "', argument " "4"" of type '" "OpenBabel::obMessageLevel""'"); }
      arg4 = static_cast< OpenBabel::obMessageLevel >(val4);
    (arg1)->ThrowError((std::string const &)*arg2,(std::string const &)*arg3,arg4); ST(argvi) = sv_newmortal();
    if (SWIG_IsNewObj(res2)) delete arg2; if (SWIG_IsNewObj(res3)) delete arg3; XSRETURN(argvi); fail:
    if (SWIG_IsNewObj(res2)) delete arg2; if (SWIG_IsNewObj(res3)) delete arg3; SWIG_croak_null(); }  }
XS(_wrap_OBMessageHandler_ThrowError__SWIG_4) { { OpenBabel::OBMessageHandler *arg1 = (OpenBabel::OBMessageHandler *) 0 ;
    std::string *arg2 = 0 ; std::string *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ;
    int res3 = SWIG_OLDOBJ ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBMessageHandler_ThrowError(self,method,errorMsg);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMessageHandler, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMessageHandler_ThrowError" "', argument " "1"" of type '" "OpenBabel::OBMessageHandler *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMessageHandler * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMessageHandler_ThrowError" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMessageHandler_ThrowError" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  { std::string *ptr = (std::string *)0; res3 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), &ptr);
      if (!SWIG_IsOK(res3)) {
        SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBMessageHandler_ThrowError" "', argument " "3"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMessageHandler_ThrowError" "', argument " "3"" of type '" "std::string const &""'"); }
       arg3 = ptr; }  (arg1)->ThrowError((std::string const &)*arg2,(std::string const &)*arg3); ST(argvi) = sv_newmortal();
    if (SWIG_IsNewObj(res2)) delete arg2; if (SWIG_IsNewObj(res3)) delete arg3; XSRETURN(argvi); fail:
    if (SWIG_IsNewObj(res2)) delete arg2; if (SWIG_IsNewObj(res3)) delete arg3; SWIG_croak_null(); }  }
XS(_wrap_OBMessageHandler_ThrowError) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMessageHandler, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBError, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMessageHandler, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBError, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 3) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMessageHandler, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 4) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMessageHandler, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_4;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 4;
        if (_rank == _rankm) goto dispatch; }  }  check_4: if (items == 5) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMessageHandler, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_5; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_5; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_5; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_5;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_5; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 5; if (_rank == _rankm) goto dispatch; }  }  check_5:
    dispatch: switch(_index) { case 1: ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMessageHandler_ThrowError__SWIG_1); return;
      case 2: ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMessageHandler_ThrowError__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMessageHandler_ThrowError__SWIG_4); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMessageHandler_ThrowError__SWIG_3); return; case 5:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMessageHandler_ThrowError__SWIG_2); return; }  } 
  croak("No matching function for overloaded 'OBMessageHandler_ThrowError'"); XSRETURN(0); }
XS(_wrap_OBMessageHandler_GetMessagesOfLevel) { { OpenBabel::OBMessageHandler *arg1 = (OpenBabel::OBMessageHandler *) 0 ;
    OpenBabel::obMessageLevel arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0;
    std::vector< std::string > result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMessageHandler_GetMessagesOfLevel(self,OpenBabel::obMessageLevel const);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMessageHandler, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMessageHandler_GetMessagesOfLevel" "', argument " "1"" of type '" "OpenBabel::OBMessageHandler *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMessageHandler * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMessageHandler_GetMessagesOfLevel" "', argument " "2"" of type '" "OpenBabel::obMessageLevel""'"); }
      arg2 = static_cast< OpenBabel::obMessageLevel >(val2); result = (arg1)->GetMessagesOfLevel(arg2); {
      size_t len = (&result)->size(); SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) { svs[i] = sv_newmortal();
        SwigSvFromString(svs[i], result[i]); }  AV *myav = av_make(len, svs); delete[] svs; ST(argvi) = newRV_noinc((SV*) myav);
      sv_2mortal(ST(argvi)); argvi++; }  XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMessageHandler_StartLogging) { { OpenBabel::OBMessageHandler *arg1 = (OpenBabel::OBMessageHandler *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMessageHandler_StartLogging(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMessageHandler, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMessageHandler_StartLogging" "', argument " "1"" of type '" "OpenBabel::OBMessageHandler *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMessageHandler * >(argp1); (arg1)->StartLogging(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMessageHandler_StopLogging) { { OpenBabel::OBMessageHandler *arg1 = (OpenBabel::OBMessageHandler *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMessageHandler_StopLogging(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMessageHandler, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMessageHandler_StopLogging" "', argument " "1"" of type '" "OpenBabel::OBMessageHandler *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMessageHandler * >(argp1); (arg1)->StopLogging(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMessageHandler_SetMaxLogEntries) { { OpenBabel::OBMessageHandler *arg1 = (OpenBabel::OBMessageHandler *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBMessageHandler_SetMaxLogEntries(self,max);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMessageHandler, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMessageHandler_SetMaxLogEntries" "', argument " "1"" of type '" "OpenBabel::OBMessageHandler *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMessageHandler * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMessageHandler_SetMaxLogEntries" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); (arg1)->SetMaxLogEntries(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBMessageHandler_GetMaxLogEntries) { { OpenBabel::OBMessageHandler *arg1 = (OpenBabel::OBMessageHandler *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMessageHandler_GetMaxLogEntries(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMessageHandler, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMessageHandler_GetMaxLogEntries" "', argument " "1"" of type '" "OpenBabel::OBMessageHandler *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMessageHandler * >(argp1); result = (unsigned int)(arg1)->GetMaxLogEntries();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMessageHandler_ClearLog) { { OpenBabel::OBMessageHandler *arg1 = (OpenBabel::OBMessageHandler *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMessageHandler_ClearLog(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMessageHandler, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMessageHandler_ClearLog" "', argument " "1"" of type '" "OpenBabel::OBMessageHandler *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMessageHandler * >(argp1); (arg1)->ClearLog(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMessageHandler_SetOutputLevel) { { OpenBabel::OBMessageHandler *arg1 = (OpenBabel::OBMessageHandler *) 0 ;
    OpenBabel::obMessageLevel arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBMessageHandler_SetOutputLevel(self,level);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMessageHandler, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMessageHandler_SetOutputLevel" "', argument " "1"" of type '" "OpenBabel::OBMessageHandler *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMessageHandler * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMessageHandler_SetOutputLevel" "', argument " "2"" of type '" "OpenBabel::obMessageLevel""'"); }
      arg2 = static_cast< OpenBabel::obMessageLevel >(val2); (arg1)->SetOutputLevel(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMessageHandler_GetOutputLevel) { { OpenBabel::OBMessageHandler *arg1 = (OpenBabel::OBMessageHandler *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::obMessageLevel result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMessageHandler_GetOutputLevel(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMessageHandler, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMessageHandler_GetOutputLevel" "', argument " "1"" of type '" "OpenBabel::OBMessageHandler *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMessageHandler * >(argp1);
    result = (OpenBabel::obMessageLevel)(arg1)->GetOutputLevel();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMessageHandler_SetOutputStream) { { OpenBabel::OBMessageHandler *arg1 = (OpenBabel::OBMessageHandler *) 0 ;
    std::ostream *arg2 = (std::ostream *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBMessageHandler_SetOutputStream(self,os);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMessageHandler, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMessageHandler_SetOutputStream" "', argument " "1"" of type '" "OpenBabel::OBMessageHandler *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMessageHandler * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_std__ostream, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMessageHandler_SetOutputStream" "', argument " "2"" of type '" "std::ostream *""'");  }
     arg2 = reinterpret_cast< std::ostream * >(argp2); (arg1)->SetOutputStream(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMessageHandler_GetOutputStream) { { OpenBabel::OBMessageHandler *arg1 = (OpenBabel::OBMessageHandler *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; std::ostream *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMessageHandler_GetOutputStream(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMessageHandler, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMessageHandler_GetOutputStream" "', argument " "1"" of type '" "OpenBabel::OBMessageHandler *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMessageHandler * >(argp1); result = (std::ostream *)(arg1)->GetOutputStream();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__ostream, 0 | 0); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMessageHandler_StartErrorWrap) { { OpenBabel::OBMessageHandler *arg1 = (OpenBabel::OBMessageHandler *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMessageHandler_StartErrorWrap(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMessageHandler, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMessageHandler_StartErrorWrap" "', argument " "1"" of type '" "OpenBabel::OBMessageHandler *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMessageHandler * >(argp1); result = (bool)(arg1)->StartErrorWrap();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMessageHandler_StopErrorWrap) { { OpenBabel::OBMessageHandler *arg1 = (OpenBabel::OBMessageHandler *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMessageHandler_StopErrorWrap(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMessageHandler, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMessageHandler_StopErrorWrap" "', argument " "1"" of type '" "OpenBabel::OBMessageHandler *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMessageHandler * >(argp1); result = (bool)(arg1)->StopErrorWrap();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMessageHandler_GetErrorMessageCount) { { OpenBabel::OBMessageHandler *arg1 = (OpenBabel::OBMessageHandler *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMessageHandler_GetErrorMessageCount(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMessageHandler, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMessageHandler_GetErrorMessageCount" "', argument " "1"" of type '" "OpenBabel::OBMessageHandler *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMessageHandler * >(argp1); result = (unsigned int)(arg1)->GetErrorMessageCount();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMessageHandler_GetWarningMessageCount) { { OpenBabel::OBMessageHandler *arg1 = (OpenBabel::OBMessageHandler *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMessageHandler_GetWarningMessageCount(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMessageHandler, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMessageHandler_GetWarningMessageCount" "', argument " "1"" of type '" "OpenBabel::OBMessageHandler *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMessageHandler * >(argp1); result = (unsigned int)(arg1)->GetWarningMessageCount();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMessageHandler_GetInfoMessageCount) { { OpenBabel::OBMessageHandler *arg1 = (OpenBabel::OBMessageHandler *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMessageHandler_GetInfoMessageCount(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMessageHandler, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMessageHandler_GetInfoMessageCount" "', argument " "1"" of type '" "OpenBabel::OBMessageHandler *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMessageHandler * >(argp1); result = (unsigned int)(arg1)->GetInfoMessageCount();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMessageHandler_GetAuditMessageCount) { { OpenBabel::OBMessageHandler *arg1 = (OpenBabel::OBMessageHandler *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMessageHandler_GetAuditMessageCount(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMessageHandler, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMessageHandler_GetAuditMessageCount" "', argument " "1"" of type '" "OpenBabel::OBMessageHandler *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMessageHandler * >(argp1); result = (unsigned int)(arg1)->GetAuditMessageCount();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMessageHandler_GetDebugMessageCount) { { OpenBabel::OBMessageHandler *arg1 = (OpenBabel::OBMessageHandler *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMessageHandler_GetDebugMessageCount(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMessageHandler, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMessageHandler_GetDebugMessageCount" "', argument " "1"" of type '" "OpenBabel::OBMessageHandler *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMessageHandler * >(argp1); result = (unsigned int)(arg1)->GetDebugMessageCount();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMessageHandler_GetMessageSummary) { { OpenBabel::OBMessageHandler *arg1 = (OpenBabel::OBMessageHandler *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; std::string result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMessageHandler_GetMessageSummary(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMessageHandler, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMessageHandler_GetMessageSummary" "', argument " "1"" of type '" "OpenBabel::OBMessageHandler *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMessageHandler * >(argp1); result = (arg1)->GetMessageSummary();
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_delete_obLogBuf) { { OpenBabel::obLogBuf *arg1 = (OpenBabel::obLogBuf *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_obLogBuf(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__obLogBuf, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_obLogBuf" "', argument " "1"" of type '" "OpenBabel::obLogBuf *""'");  }
     arg1 = reinterpret_cast< OpenBabel::obLogBuf * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_new_obLogBuf) { { int argvi = 0; OpenBabel::obLogBuf *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_obLogBuf();"); }  result = (OpenBabel::obLogBuf *)new OpenBabel::obLogBuf();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__obLogBuf, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFormat_Default) { { int argvi = 0; OpenBabel::OBFormat **result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: OBFormat_Default();"); }  result = (OpenBabel::OBFormat **) &OpenBabel::OBFormat::Default();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_OpenBabel__OBFormat, 0 | 0); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBFormat_FindType) { { char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int argvi = 0;
    OpenBabel::OBFormat *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBFormat_FindType(ID);"); } 
    res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFormat_FindType" "', argument " "1"" of type '" "char const *""'"); }
     arg1 = reinterpret_cast< char * >(buf1); result = (OpenBabel::OBFormat *)OpenBabel::OBFormat::FindType((char const *)arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBFormat, 0 | SWIG_SHADOW); argvi++ ;
    if (alloc1 == SWIG_NEWOBJ) delete[] buf1; XSRETURN(argvi); fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
    SWIG_croak_null(); }  }
XS(_wrap_OBFormat_ReadMolecule) { { OpenBabel::OBFormat *arg1 = (OpenBabel::OBFormat *) 0 ;
    OpenBabel::OBBase *arg2 = (OpenBabel::OBBase *) 0 ; OpenBabel::OBConversion *arg3 = (OpenBabel::OBConversion *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBFormat_ReadMolecule(self,OpenBabel::OBBase *,OpenBabel::OBConversion *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFormat, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFormat_ReadMolecule" "', argument " "1"" of type '" "OpenBabel::OBFormat *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFormat * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFormat_ReadMolecule" "', argument " "2"" of type '" "OpenBabel::OBBase *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBase * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBFormat_ReadMolecule" "', argument " "3"" of type '" "OpenBabel::OBConversion *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBConversion * >(argp3); result = (bool)(arg1)->ReadMolecule(arg2,arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFormat_ReadChemObject) { { OpenBabel::OBFormat *arg1 = (OpenBabel::OBFormat *) 0 ;
    OpenBabel::OBConversion *arg2 = (OpenBabel::OBConversion *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBFormat_ReadChemObject(self,OpenBabel::OBConversion *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFormat, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFormat_ReadChemObject" "', argument " "1"" of type '" "OpenBabel::OBFormat *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFormat * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFormat_ReadChemObject" "', argument " "2"" of type '" "OpenBabel::OBConversion *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBConversion * >(argp2); result = (bool)(arg1)->ReadChemObject(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFormat_WriteMolecule) { { OpenBabel::OBFormat *arg1 = (OpenBabel::OBFormat *) 0 ;
    OpenBabel::OBBase *arg2 = (OpenBabel::OBBase *) 0 ; OpenBabel::OBConversion *arg3 = (OpenBabel::OBConversion *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBFormat_WriteMolecule(self,OpenBabel::OBBase *,OpenBabel::OBConversion *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFormat, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFormat_WriteMolecule" "', argument " "1"" of type '" "OpenBabel::OBFormat *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFormat * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFormat_WriteMolecule" "', argument " "2"" of type '" "OpenBabel::OBBase *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBase * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBFormat_WriteMolecule" "', argument " "3"" of type '" "OpenBabel::OBConversion *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBConversion * >(argp3); result = (bool)(arg1)->WriteMolecule(arg2,arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFormat_WriteChemObject) { { OpenBabel::OBFormat *arg1 = (OpenBabel::OBFormat *) 0 ;
    OpenBabel::OBConversion *arg2 = (OpenBabel::OBConversion *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBFormat_WriteChemObject(self,OpenBabel::OBConversion *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFormat, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFormat_WriteChemObject" "', argument " "1"" of type '" "OpenBabel::OBFormat *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFormat * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFormat_WriteChemObject" "', argument " "2"" of type '" "OpenBabel::OBConversion *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBConversion * >(argp2); result = (bool)(arg1)->WriteChemObject(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFormat_TargetClassDescription) { { OpenBabel::OBFormat *arg1 = (OpenBabel::OBFormat *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFormat_TargetClassDescription(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFormat, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFormat_TargetClassDescription" "', argument " "1"" of type '" "OpenBabel::OBFormat *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFormat * >(argp1); result = (char *)(arg1)->TargetClassDescription();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFormat_GetType) { { OpenBabel::OBFormat *arg1 = (OpenBabel::OBFormat *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; std::type_info *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFormat_GetType(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFormat, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFormat_GetType" "', argument " "1"" of type '" "OpenBabel::OBFormat *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFormat * >(argp1); result = (std::type_info *) &(arg1)->GetType();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__type_info, 0 | 0); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFormat_SpecificationURL) { { OpenBabel::OBFormat *arg1 = (OpenBabel::OBFormat *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFormat_SpecificationURL(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFormat, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFormat_SpecificationURL" "', argument " "1"" of type '" "OpenBabel::OBFormat *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFormat * >(argp1); result = (char *)(arg1)->SpecificationURL();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFormat_GetMIMEType) { { OpenBabel::OBFormat *arg1 = (OpenBabel::OBFormat *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFormat_GetMIMEType(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFormat, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFormat_GetMIMEType" "', argument " "1"" of type '" "OpenBabel::OBFormat *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFormat * >(argp1); result = (char *)(arg1)->GetMIMEType();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFormat_Flags) { { OpenBabel::OBFormat *arg1 = (OpenBabel::OBFormat *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBFormat_Flags(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFormat, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFormat_Flags" "', argument " "1"" of type '" "OpenBabel::OBFormat *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFormat * >(argp1); result = (unsigned int)(arg1)->Flags();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFormat_SkipObjects) { { OpenBabel::OBFormat *arg1 = (OpenBabel::OBFormat *) 0 ; int arg2 ;
    OpenBabel::OBConversion *arg3 = (OpenBabel::OBConversion *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
    void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBFormat_SkipObjects(self,int,OpenBabel::OBConversion *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFormat, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFormat_SkipObjects" "', argument " "1"" of type '" "OpenBabel::OBFormat *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFormat * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFormat_SkipObjects" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBFormat_SkipObjects" "', argument " "3"" of type '" "OpenBabel::OBConversion *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBConversion * >(argp3); result = (int)(arg1)->SkipObjects(arg2,arg3);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFormat_MakeNewInstance) { { OpenBabel::OBFormat *arg1 = (OpenBabel::OBFormat *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBFormat *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFormat_MakeNewInstance(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFormat, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFormat_MakeNewInstance" "', argument " "1"" of type '" "OpenBabel::OBFormat *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFormat * >(argp1); result = (OpenBabel::OBFormat *)(arg1)->MakeNewInstance();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBFormat, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFormat_RegisterFormat__SWIG_0) { { OpenBabel::OBFormat *arg1 = (OpenBabel::OBFormat *) 0 ; char *arg2 = (char *) 0 ;
    char *arg3 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int res3 ;
    char *buf3 = 0 ; int alloc3 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBFormat_RegisterFormat(self,ID,MIME);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFormat, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFormat_RegisterFormat" "', argument " "1"" of type '" "OpenBabel::OBFormat *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFormat * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFormat_RegisterFormat" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBFormat_RegisterFormat" "', argument " "3"" of type '" "char const *""'"); }
     arg3 = reinterpret_cast< char * >(buf3); result = (int)(arg1)->RegisterFormat((char const *)arg2,(char const *)arg3);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; XSRETURN(argvi); fail:
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; SWIG_croak_null(); }  }
XS(_wrap_OBFormat_RegisterFormat__SWIG_1) { { OpenBabel::OBFormat *arg1 = (OpenBabel::OBFormat *) 0 ; char *arg2 = (char *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0; int result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFormat_RegisterFormat(self,ID);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFormat, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFormat_RegisterFormat" "', argument " "1"" of type '" "OpenBabel::OBFormat *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFormat * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFormat_RegisterFormat" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); result = (int)(arg1)->RegisterFormat((char const *)arg2);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap_OBFormat_RegisterFormat) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBFormat, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBFormat, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { int res = SWIG_AsCharPtrAndSize(ST(2), 0, NULL, 0);
        _v = SWIG_CheckState(res);}  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    dispatch: switch(_index) { case 1: ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBFormat_RegisterFormat__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBFormat_RegisterFormat__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBFormat_RegisterFormat'"); XSRETURN(0); }
XS(_wrap_OBFormat_Display__SWIG_0) { { OpenBabel::OBFormat *arg1 = (OpenBabel::OBFormat *) 0 ; std::string *arg2 = 0 ;
    char *arg3 = (char *) 0 ; char *arg4 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; int res4 ; char *buf4 = 0 ; int alloc4 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 4) || (items > 4)) { SWIG_croak("Usage: OBFormat_Display(self,txt,param,ID);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFormat, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFormat_Display" "', argument " "1"" of type '" "OpenBabel::OBFormat *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFormat * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__string,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFormat_Display" "', argument " "2"" of type '" "std::string &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBFormat_Display" "', argument " "2"" of type '" "std::string &""'"); }
     arg2 = reinterpret_cast< std::string * >(argp2); res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBFormat_Display" "', argument " "3"" of type '" "char const *""'"); }
     arg3 = reinterpret_cast< char * >(buf3); res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4); if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBFormat_Display" "', argument " "4"" of type '" "char const *""'"); }
     arg4 = reinterpret_cast< char * >(buf4); result = (bool)(arg1)->Display(*arg2,(char const *)arg3,(char const *)arg4);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (alloc3 == SWIG_NEWOBJ) delete[] buf3; if (alloc4 == SWIG_NEWOBJ) delete[] buf4; XSRETURN(argvi); fail:
    if (alloc3 == SWIG_NEWOBJ) delete[] buf3; if (alloc4 == SWIG_NEWOBJ) delete[] buf4; SWIG_croak_null(); }  }
XS(_wrap_OBFormat_Display__SWIG_1) { { OpenBabel::OBFormat *arg1 = (OpenBabel::OBFormat *) 0 ; std::string *arg2 = 0 ;
    char *arg3 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int res3 ; char *buf3 = 0 ;
    int alloc3 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBFormat_Display(self,txt,param);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFormat, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFormat_Display" "', argument " "1"" of type '" "OpenBabel::OBFormat *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFormat * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__string,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFormat_Display" "', argument " "2"" of type '" "std::string &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBFormat_Display" "', argument " "2"" of type '" "std::string &""'"); }
     arg2 = reinterpret_cast< std::string * >(argp2); res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBFormat_Display" "', argument " "3"" of type '" "char const *""'"); }
     arg3 = reinterpret_cast< char * >(buf3); result = (bool)(arg1)->Display(*arg2,(char const *)arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (alloc3 == SWIG_NEWOBJ) delete[] buf3; XSRETURN(argvi); fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
    SWIG_croak_null(); }  }
XS(_wrap_OBFormat_Display) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBFormat, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_std__string, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { int res = SWIG_AsCharPtrAndSize(ST(2), 0, NULL, 0);
        _v = SWIG_CheckState(res);}  if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1:
    if (items == 4) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBFormat, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_std__string, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { int res = SWIG_AsCharPtrAndSize(ST(2), 0, NULL, 0);
        _v = SWIG_CheckState(res);}  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(3), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBFormat_Display__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBFormat_Display__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBFormat_Display'"); XSRETURN(0); }
XS(_wrap_OBFormat_FormatFromMIME) { { char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int argvi = 0;
    OpenBabel::OBFormat *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFormat_FormatFromMIME(MIME);"); }  res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFormat_FormatFromMIME" "', argument " "1"" of type '" "char const *""'"); }
     arg1 = reinterpret_cast< char * >(buf1);
    result = (OpenBabel::OBFormat *)OpenBabel::OBFormat::FormatFromMIME((char const *)arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBFormat, 0 | SWIG_SHADOW); argvi++ ;
    if (alloc1 == SWIG_NEWOBJ) delete[] buf1; XSRETURN(argvi); fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
    SWIG_croak_null(); }  }
XS(_wrap_delete_OBFormat) { { OpenBabel::OBFormat *arg1 = (OpenBabel::OBFormat *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBFormat(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFormat, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBFormat" "', argument " "1"" of type '" "OpenBabel::OBFormat *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFormat * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_new_OBConversion__SWIG_0) { { std::istream *arg1 = (std::istream *) 0 ; std::ostream *arg2 = (std::ostream *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; OpenBabel::OBConversion *result = 0 ;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: new_OBConversion(is,os);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__istream, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBConversion" "', argument " "1"" of type '" "std::istream *""'");  }
     arg1 = reinterpret_cast< std::istream * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_std__ostream, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_OBConversion" "', argument " "2"" of type '" "std::ostream *""'");  }
     arg2 = reinterpret_cast< std::ostream * >(argp2);
    result = (OpenBabel::OBConversion *)new OpenBabel::OBConversion(arg1,arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBConversion, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBConversion__SWIG_1) { { std::istream *arg1 = (std::istream *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    OpenBabel::OBConversion *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new_OBConversion(is);"); }  res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_std__istream, 0 |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBConversion" "', argument " "1"" of type '" "std::istream *""'");  }
     arg1 = reinterpret_cast< std::istream * >(argp1); result = (OpenBabel::OBConversion *)new OpenBabel::OBConversion(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBConversion, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBConversion__SWIG_2) { { int argvi = 0; OpenBabel::OBConversion *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_OBConversion();"); } 
    result = (OpenBabel::OBConversion *)new OpenBabel::OBConversion();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBConversion, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBConversion__SWIG_3) { { OpenBabel::OBConversion *arg1 = 0 ; void *argp1 ; int res1 = 0 ; int argvi = 0;
    OpenBabel::OBConversion *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: new_OBConversion(o);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBConversion,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBConversion" "', argument " "1"" of type '" "OpenBabel::OBConversion const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBConversion" "', argument " "1"" of type '" "OpenBabel::OBConversion const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1);
    result = (OpenBabel::OBConversion *)new OpenBabel::OBConversion((OpenBabel::OBConversion const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBConversion, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBConversion) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0; int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_std__istream, 0);
        _v = SWIG_CheckState(res);}  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBConversion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_std__istream, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_4;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_std__ostream, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_4;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 4;
        if (_rank == _rankm) goto dispatch; }  }  check_4: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBConversion__SWIG_2); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBConversion__SWIG_1); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBConversion__SWIG_3); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBConversion__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'new_OBConversion'"); XSRETURN(0); }
XS(_wrap_delete_OBConversion) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBConversion(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBConversion" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBConversion_RegisterFormat__SWIG_0) { { char *arg1 = (char *) 0 ;
    OpenBabel::OBFormat *arg2 = (OpenBabel::OBFormat *) 0 ; char *arg3 = (char *) 0 ; int res1 ; char *buf1 = 0 ;
    int alloc1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; int argvi = 0; int result;
    dXSARGS; if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBConversion_RegisterFormat(ID,pFormat,MIME);"); } 
    res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_RegisterFormat" "', argument " "1"" of type '" "char const *""'"); }
     arg1 = reinterpret_cast< char * >(buf1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBFormat, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConversion_RegisterFormat" "', argument " "2"" of type '" "OpenBabel::OBFormat *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBFormat * >(argp2); res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBConversion_RegisterFormat" "', argument " "3"" of type '" "char const *""'"); }
     arg3 = reinterpret_cast< char * >(buf3);
    result = (int)OpenBabel::OBConversion::RegisterFormat((char const *)arg1,arg2,(char const *)arg3);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
    if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; XSRETURN(argvi); fail:
    if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; SWIG_croak_null(); }  }
XS(_wrap_OBConversion_RegisterFormat__SWIG_1) { { char *arg1 = (char *) 0 ;
    OpenBabel::OBFormat *arg2 = (OpenBabel::OBFormat *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBConversion_RegisterFormat(ID,pFormat);"); } 
    res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_RegisterFormat" "', argument " "1"" of type '" "char const *""'"); }
     arg1 = reinterpret_cast< char * >(buf1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBFormat, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConversion_RegisterFormat" "', argument " "2"" of type '" "OpenBabel::OBFormat *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBFormat * >(argp2);
    result = (int)OpenBabel::OBConversion::RegisterFormat((char const *)arg1,arg2);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
    if (alloc1 == SWIG_NEWOBJ) delete[] buf1; XSRETURN(argvi); fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_RegisterFormat) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; {
        int res = SWIG_AsCharPtrAndSize(ST(0), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBFormat, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; {
        int res = SWIG_AsCharPtrAndSize(ST(0), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBFormat, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(2), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBConversion_RegisterFormat__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBConversion_RegisterFormat__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBConversion_RegisterFormat'"); XSRETURN(0); }
XS(_wrap_OBConversion_FindFormat__SWIG_0) { { char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ;
    int argvi = 0; OpenBabel::OBFormat *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBConversion_FindFormat(ID);"); }  res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_FindFormat" "', argument " "1"" of type '" "char const *""'"); }
     arg1 = reinterpret_cast< char * >(buf1);
    result = (OpenBabel::OBFormat *)OpenBabel::OBConversion::FindFormat((char const *)arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBFormat, 0 | SWIG_SHADOW); argvi++ ;
    if (alloc1 == SWIG_NEWOBJ) delete[] buf1; XSRETURN(argvi); fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_FindFormat__SWIG_1) { { std::string arg1 ; int argvi = 0; OpenBabel::OBFormat *result = 0 ; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBConversion_FindFormat(ID);"); }  {
      std::string *ptr = (std::string *)0; int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(0), &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "OBConversion_FindFormat" "', argument " "1"" of type '" "std::string const""'");  }
       arg1 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; } 
    result = (OpenBabel::OBFormat *)OpenBabel::OBConversion::FindFormat(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBFormat, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBConversion_FindFormat) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(0), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; {
        int res = SWIG_AsCharPtrAndSize(ST(0), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBConversion_FindFormat__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBConversion_FindFormat__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBConversion_FindFormat'"); XSRETURN(0); }
XS(_wrap_OBConversion_FormatFromExt__SWIG_0) { { char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ;
    int argvi = 0; OpenBabel::OBFormat *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBConversion_FormatFromExt(filename);"); }  res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_FormatFromExt" "', argument " "1"" of type '" "char const *""'"); }
     arg1 = reinterpret_cast< char * >(buf1);
    result = (OpenBabel::OBFormat *)OpenBabel::OBConversion::FormatFromExt((char const *)arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBFormat, 0 | SWIG_SHADOW); argvi++ ;
    if (alloc1 == SWIG_NEWOBJ) delete[] buf1; XSRETURN(argvi); fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_FormatFromExt__SWIG_1) { { std::string arg1 ; int argvi = 0; OpenBabel::OBFormat *result = 0 ; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBConversion_FormatFromExt(filename);"); }  {
      std::string *ptr = (std::string *)0; int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(0), &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "OBConversion_FormatFromExt" "', argument " "1"" of type '" "std::string const""'");  }
       arg1 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; } 
    result = (OpenBabel::OBFormat *)OpenBabel::OBConversion::FormatFromExt(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBFormat, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBConversion_FormatFromExt) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(0), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; {
        int res = SWIG_AsCharPtrAndSize(ST(0), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBConversion_FormatFromExt__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBConversion_FormatFromExt__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBConversion_FormatFromExt'"); XSRETURN(0); }
XS(_wrap_OBConversion_FormatFromMIME) { { char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int argvi = 0;
    OpenBabel::OBFormat *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBConversion_FormatFromMIME(MIME);"); }  res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_FormatFromMIME" "', argument " "1"" of type '" "char const *""'"); }
     arg1 = reinterpret_cast< char * >(buf1);
    result = (OpenBabel::OBFormat *)OpenBabel::OBConversion::FormatFromMIME((char const *)arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBFormat, 0 | SWIG_SHADOW); argvi++ ;
    if (alloc1 == SWIG_NEWOBJ) delete[] buf1; XSRETURN(argvi); fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_GetNextFormat) { { OpenBabel::Formatpos *arg1 = 0 ; char **arg2 = 0 ; OpenBabel::OBFormat **arg3 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; void *argp3 = 0 ; int res3 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBConversion_GetNextFormat(itr,str,pFormat);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBPlugin__PluginMapType__const_iterator,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_GetNextFormat" "', argument " "1"" of type '" "OpenBabel::Formatpos &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBConversion_GetNextFormat" "', argument " "1"" of type '" "OpenBabel::Formatpos &""'"); }
     arg1 = reinterpret_cast< OpenBabel::Formatpos * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConversion_GetNextFormat" "', argument " "2"" of type '" "char const *&""'"); }
     arg2 = &buf2; res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_p_OpenBabel__OBFormat,  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBConversion_GetNextFormat" "', argument " "3"" of type '" "OpenBabel::OBFormat *&""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBConversion_GetNextFormat" "', argument " "3"" of type '" "OpenBabel::OBFormat *&""'"); }
     arg3 = reinterpret_cast< OpenBabel::OBFormat ** >(argp3);
    result = (bool)OpenBabel::OBConversion::GetNextFormat(*arg1,(char const *&)*arg2,*arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_Description) { { int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: OBConversion_Description();"); }  result = (char *)OpenBabel::OBConversion::Description();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBConversion_GetInStream) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::istream *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBConversion_GetInStream(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_GetInStream" "', argument " "1"" of type '" "OpenBabel::OBConversion const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1);
    result = (std::istream *)((OpenBabel::OBConversion const *)arg1)->GetInStream();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__istream, 0 | 0); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_GetOutStream) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::ostream *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBConversion_GetOutStream(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_GetOutStream" "', argument " "1"" of type '" "OpenBabel::OBConversion const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1);
    result = (std::ostream *)((OpenBabel::OBConversion const *)arg1)->GetOutStream();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__ostream, 0 | 0); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_SetInStream) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ;
    std::istream *arg2 = (std::istream *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBConversion_SetInStream(self,pIn);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_SetInStream" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_std__istream, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConversion_SetInStream" "', argument " "2"" of type '" "std::istream *""'");  }
     arg2 = reinterpret_cast< std::istream * >(argp2); (arg1)->SetInStream(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBConversion_SetOutStream) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ;
    std::ostream *arg2 = (std::ostream *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBConversion_SetOutStream(self,pOut);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_SetOutStream" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_std__ostream, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConversion_SetOutStream" "', argument " "2"" of type '" "std::ostream *""'");  }
     arg2 = reinterpret_cast< std::ostream * >(argp2); (arg1)->SetOutStream(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBConversion_SetInAndOutFormats__SWIG_0) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ;
    char *arg2 = (char *) 0 ; char *arg3 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ;
    int alloc2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBConversion_SetInAndOutFormats(self,inID,outID);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_SetInAndOutFormats" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConversion_SetInAndOutFormats" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBConversion_SetInAndOutFormats" "', argument " "3"" of type '" "char const *""'"); }
     arg3 = reinterpret_cast< char * >(buf3); result = (bool)(arg1)->SetInAndOutFormats((char const *)arg2,(char const *)arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; XSRETURN(argvi); fail:
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; SWIG_croak_null(); }  }
XS(_wrap_OBConversion_SetInAndOutFormats__SWIG_1) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ;
    OpenBabel::OBFormat *arg2 = (OpenBabel::OBFormat *) 0 ; OpenBabel::OBFormat *arg3 = (OpenBabel::OBFormat *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBConversion_SetInAndOutFormats(self,pIn,pOut);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_SetInAndOutFormats" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBFormat, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConversion_SetInAndOutFormats" "', argument " "2"" of type '" "OpenBabel::OBFormat *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBFormat * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBFormat, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBConversion_SetInAndOutFormats" "', argument " "3"" of type '" "OpenBabel::OBFormat *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBFormat * >(argp3); result = (bool)(arg1)->SetInAndOutFormats(arg2,arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_SetInAndOutFormats) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBConversion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBFormat, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_OpenBabel__OBFormat, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBConversion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { int res = SWIG_AsCharPtrAndSize(ST(2), 0, NULL, 0);
        _v = SWIG_CheckState(res);}  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    dispatch: switch(_index) { case 1: ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBConversion_SetInAndOutFormats__SWIG_1); return;
      case 2: ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBConversion_SetInAndOutFormats__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBConversion_SetInAndOutFormats'"); XSRETURN(0); }
XS(_wrap_OBConversion_SetInFormat__SWIG_0) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBConversion_SetInFormat(self,inID);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_SetInFormat" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConversion_SetInFormat" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); result = (bool)(arg1)->SetInFormat((char const *)arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_SetInFormat__SWIG_1) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ;
    OpenBabel::OBFormat *arg2 = (OpenBabel::OBFormat *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBConversion_SetInFormat(self,pIn);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_SetInFormat" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBFormat, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConversion_SetInFormat" "', argument " "2"" of type '" "OpenBabel::OBFormat *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBFormat * >(argp2); result = (bool)(arg1)->SetInFormat(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_SetInFormat) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBConversion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBFormat, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBConversion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBConversion_SetInFormat__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBConversion_SetInFormat__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBConversion_SetInFormat'"); XSRETURN(0); }
XS(_wrap_OBConversion_SetOutFormat__SWIG_0) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBConversion_SetOutFormat(self,outID);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_SetOutFormat" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConversion_SetOutFormat" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); result = (bool)(arg1)->SetOutFormat((char const *)arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_SetOutFormat__SWIG_1) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ;
    OpenBabel::OBFormat *arg2 = (OpenBabel::OBFormat *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBConversion_SetOutFormat(self,pOut);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_SetOutFormat" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBFormat, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConversion_SetOutFormat" "', argument " "2"" of type '" "OpenBabel::OBFormat *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBFormat * >(argp2); result = (bool)(arg1)->SetOutFormat(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_SetOutFormat) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBConversion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBFormat, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBConversion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBConversion_SetOutFormat__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBConversion_SetOutFormat__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBConversion_SetOutFormat'"); XSRETURN(0); }
XS(_wrap_OBConversion_GetInFormat) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBFormat *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBConversion_GetInFormat(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_GetInFormat" "', argument " "1"" of type '" "OpenBabel::OBConversion const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1);
    result = (OpenBabel::OBFormat *)((OpenBabel::OBConversion const *)arg1)->GetInFormat();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBFormat, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBConversion_GetOutFormat) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBFormat *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBConversion_GetOutFormat(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_GetOutFormat" "', argument " "1"" of type '" "OpenBabel::OBConversion const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1);
    result = (OpenBabel::OBFormat *)((OpenBabel::OBConversion const *)arg1)->GetOutFormat();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBFormat, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBConversion_GetInFilename) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::string result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBConversion_GetInFilename(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_GetInFilename" "', argument " "1"" of type '" "OpenBabel::OBConversion const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1);
    result = ((OpenBabel::OBConversion const *)arg1)->GetInFilename();
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBConversion_GetInPos) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::streampos result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBConversion_GetInPos(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_GetInPos" "', argument " "1"" of type '" "OpenBabel::OBConversion const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1); result = ((OpenBabel::OBConversion const *)arg1)->GetInPos();
    ST(argvi) = SWIG_NewPointerObj((new std::streampos(static_cast< const std::streampos& >(result))), SWIGTYPE_p_std__streampos, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBConversion_GetInLen) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; size_t result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBConversion_GetInLen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_GetInLen" "', argument " "1"" of type '" "OpenBabel::OBConversion const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1); result = ((OpenBabel::OBConversion const *)arg1)->GetInLen();
    ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1(static_cast< size_t >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_GetTitle) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBConversion_GetTitle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_GetTitle" "', argument " "1"" of type '" "OpenBabel::OBConversion const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1);
    result = (char *)((OpenBabel::OBConversion const *)arg1)->GetTitle();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBConversion_GetAuxConv) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBConversion *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBConversion_GetAuxConv(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_GetAuxConv" "', argument " "1"" of type '" "OpenBabel::OBConversion const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1);
    result = (OpenBabel::OBConversion *)((OpenBabel::OBConversion const *)arg1)->GetAuxConv();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBConversion, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBConversion_SetAuxConv) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ;
    OpenBabel::OBConversion *arg2 = (OpenBabel::OBConversion *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBConversion_SetAuxConv(self,pConv);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_SetAuxConv" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConversion_SetAuxConv" "', argument " "2"" of type '" "OpenBabel::OBConversion *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBConversion * >(argp2); (arg1)->SetAuxConv(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBConversion_IsOption__SWIG_0) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ;
    char *arg2 = (char *) 0 ; OpenBabel::OBConversion::Option_type arg3 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ;
    char *buf2 = 0 ; int alloc2 = 0 ; int val3 ; int ecode3 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBConversion_IsOption(self,opt,opttyp);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_IsOption" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConversion_IsOption" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBConversion_IsOption" "', argument " "3"" of type '" "OpenBabel::OBConversion::Option_type""'"); }
      arg3 = static_cast< OpenBabel::OBConversion::Option_type >(val3);
    result = (char *)(arg1)->IsOption((char const *)arg2,arg3); ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_IsOption__SWIG_1) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    char *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBConversion_IsOption(self,opt);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_IsOption" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConversion_IsOption" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); result = (char *)(arg1)->IsOption((char const *)arg2);
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi);
    fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; SWIG_croak_null(); }  }
XS(_wrap_OBConversion_IsOption) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBConversion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBConversion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    dispatch: switch(_index) { case 1: ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBConversion_IsOption__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBConversion_IsOption__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBConversion_IsOption'"); XSRETURN(0); }
XS(_wrap_OBConversion_GetOptions) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ;
    OpenBabel::OBConversion::Option_type arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0;
    std::map< std::string,std::string > *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBConversion_GetOptions(self,opttyp);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_GetOptions" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBConversion_GetOptions" "', argument " "2"" of type '" "OpenBabel::OBConversion::Option_type""'"); }
      arg2 = static_cast< OpenBabel::OBConversion::Option_type >(val2);
    result = (std::map< std::string,std::string > *)(arg1)->GetOptions(arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBConversion_AddOption__SWIG_0) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ;
    char *arg2 = (char *) 0 ; OpenBabel::OBConversion::Option_type arg3 ; char *arg4 = (char *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int val3 ; int ecode3 = 0 ; int res4 ; char *buf4 = 0 ;
    int alloc4 = 0 ; int argvi = 0; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: OBConversion_AddOption(self,opt,opttyp,txt);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_AddOption" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConversion_AddOption" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBConversion_AddOption" "', argument " "3"" of type '" "OpenBabel::OBConversion::Option_type""'"); }
      arg3 = static_cast< OpenBabel::OBConversion::Option_type >(val3);
    res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4); if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBConversion_AddOption" "', argument " "4"" of type '" "char const *""'"); }
     arg4 = reinterpret_cast< char * >(buf4); (arg1)->AddOption((char const *)arg2,arg3,(char const *)arg4);
    ST(argvi) = sv_newmortal(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
    XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_AddOption__SWIG_1) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ;
    char *arg2 = (char *) 0 ; OpenBabel::OBConversion::Option_type arg3 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ;
    char *buf2 = 0 ; int alloc2 = 0 ; int val3 ; int ecode3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBConversion_AddOption(self,opt,opttyp);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_AddOption" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConversion_AddOption" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBConversion_AddOption" "', argument " "3"" of type '" "OpenBabel::OBConversion::Option_type""'"); }
      arg3 = static_cast< OpenBabel::OBConversion::Option_type >(val3); (arg1)->AddOption((char const *)arg2,arg3);
    ST(argvi) = sv_newmortal(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail:
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; SWIG_croak_null(); }  }
XS(_wrap_OBConversion_AddOption__SWIG_2) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBConversion_AddOption(self,opt);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_AddOption" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConversion_AddOption" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); (arg1)->AddOption((char const *)arg2); ST(argvi) = sv_newmortal();
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_AddOption) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBConversion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBConversion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    if (items == 4) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBConversion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(3), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBConversion_AddOption__SWIG_2); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBConversion_AddOption__SWIG_1); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBConversion_AddOption__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBConversion_AddOption'"); XSRETURN(0); }
XS(_wrap_OBConversion_RemoveOption) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ;
    char *arg2 = (char *) 0 ; OpenBabel::OBConversion::Option_type arg3 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ;
    char *buf2 = 0 ; int alloc2 = 0 ; int val3 ; int ecode3 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBConversion_RemoveOption(self,opt,optype);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_RemoveOption" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConversion_RemoveOption" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBConversion_RemoveOption" "', argument " "3"" of type '" "OpenBabel::OBConversion::Option_type""'"); }
      arg3 = static_cast< OpenBabel::OBConversion::Option_type >(val3);
    result = (bool)(arg1)->RemoveOption((char const *)arg2,arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_SetOptions) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ; char *arg2 = (char *) 0 ;
    OpenBabel::OBConversion::Option_type arg3 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ;
    int val3 ; int ecode3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBConversion_SetOptions(self,options,opttyp);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_SetOptions" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConversion_SetOptions" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBConversion_SetOptions" "', argument " "3"" of type '" "OpenBabel::OBConversion::Option_type""'"); }
      arg3 = static_cast< OpenBabel::OBConversion::Option_type >(val3); (arg1)->SetOptions((char const *)arg2,arg3);
    ST(argvi) = sv_newmortal(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail:
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; SWIG_croak_null(); }  }
XS(_wrap_OBConversion_RegisterOptionParam__SWIG_0) { { std::string arg1 ;
    OpenBabel::OBFormat *arg2 = (OpenBabel::OBFormat *) 0 ; int arg3 ; OpenBabel::OBConversion::Option_type arg4 ;
    void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 4) || (items > 4)) { SWIG_croak("Usage: OBConversion_RegisterOptionParam(name,pFormat,numberParams,typ);"); } 
    { std::string *ptr = (std::string *)0; int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(0), &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "OBConversion_RegisterOptionParam" "', argument " "1"" of type '" "std::string""'");  }
       arg1 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; } 
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBFormat, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConversion_RegisterOptionParam" "', argument " "2"" of type '" "OpenBabel::OBFormat *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBFormat * >(argp2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBConversion_RegisterOptionParam" "', argument " "3"" of type '" "int""'"); }
      arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4); if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBConversion_RegisterOptionParam" "', argument " "4"" of type '" "OpenBabel::OBConversion::Option_type""'"); }
      arg4 = static_cast< OpenBabel::OBConversion::Option_type >(val4);
    OpenBabel::OBConversion::RegisterOptionParam(arg1,arg2,arg3,arg4); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_RegisterOptionParam__SWIG_1) { { std::string arg1 ;
    OpenBabel::OBFormat *arg2 = (OpenBabel::OBFormat *) 0 ; int arg3 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ;
    int ecode3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBConversion_RegisterOptionParam(name,pFormat,numberParams);"); }  {
      std::string *ptr = (std::string *)0; int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(0), &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "OBConversion_RegisterOptionParam" "', argument " "1"" of type '" "std::string""'");  }
       arg1 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; } 
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBFormat, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConversion_RegisterOptionParam" "', argument " "2"" of type '" "OpenBabel::OBFormat *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBFormat * >(argp2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBConversion_RegisterOptionParam" "', argument " "3"" of type '" "int""'"); }
      arg3 = static_cast< int >(val3); OpenBabel::OBConversion::RegisterOptionParam(arg1,arg2,arg3); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBConversion_RegisterOptionParam__SWIG_2) { { std::string arg1 ;
    OpenBabel::OBFormat *arg2 = (OpenBabel::OBFormat *) 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBConversion_RegisterOptionParam(name,pFormat);"); }  {
      std::string *ptr = (std::string *)0; int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(0), &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "OBConversion_RegisterOptionParam" "', argument " "1"" of type '" "std::string""'");  }
       arg1 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; } 
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBFormat, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConversion_RegisterOptionParam" "', argument " "2"" of type '" "OpenBabel::OBFormat *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBFormat * >(argp2); OpenBabel::OBConversion::RegisterOptionParam(arg1,arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBConversion_RegisterOptionParam) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(0), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBFormat, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(0), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBFormat, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 4) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(0), (std::string**)(0));
        _v = SWIG_CheckState(res);}  if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        void *vptr = 0; int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBFormat, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3:
    dispatch: switch(_index) { case 1: ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBConversion_RegisterOptionParam__SWIG_2); return;
      case 2: ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBConversion_RegisterOptionParam__SWIG_1); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBConversion_RegisterOptionParam__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBConversion_RegisterOptionParam'"); XSRETURN(0); }
XS(_wrap_OBConversion_GetOptionParams) { { std::string arg1 ; OpenBabel::OBConversion::Option_type arg2 ; int val2 ;
    int ecode2 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBConversion_GetOptionParams(name,typ);"); }  { std::string *ptr = (std::string *)0;
      int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(0), &ptr); if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "OBConversion_GetOptionParams" "', argument " "1"" of type '" "std::string""'");  }
       arg1 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; }  ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBConversion_GetOptionParams" "', argument " "2"" of type '" "OpenBabel::OBConversion::Option_type""'"); }
      arg2 = static_cast< OpenBabel::OBConversion::Option_type >(val2);
    result = (int)OpenBabel::OBConversion::GetOptionParams(arg1,arg2);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_CopyOptions__SWIG_0) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ;
    OpenBabel::OBConversion *arg2 = (OpenBabel::OBConversion *) 0 ; OpenBabel::OBConversion::Option_type arg3 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBConversion_CopyOptions(self,pSourceConv,typ);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_CopyOptions" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConversion_CopyOptions" "', argument " "2"" of type '" "OpenBabel::OBConversion *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBConversion * >(argp2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBConversion_CopyOptions" "', argument " "3"" of type '" "OpenBabel::OBConversion::Option_type""'"); }
      arg3 = static_cast< OpenBabel::OBConversion::Option_type >(val3); (arg1)->CopyOptions(arg2,arg3);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBConversion_CopyOptions__SWIG_1) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ;
    OpenBabel::OBConversion *arg2 = (OpenBabel::OBConversion *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBConversion_CopyOptions(self,pSourceConv);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_CopyOptions" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConversion_CopyOptions" "', argument " "2"" of type '" "OpenBabel::OBConversion *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBConversion * >(argp2); (arg1)->CopyOptions(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBConversion_CopyOptions) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBConversion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBConversion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBConversion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBConversion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBConversion_CopyOptions__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBConversion_CopyOptions__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBConversion_CopyOptions'"); XSRETURN(0); }
XS(_wrap_OBConversion_GetSupportedInputFormat) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; std::vector< std::string > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBConversion_GetSupportedInputFormat(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_GetSupportedInputFormat" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1); result = (arg1)->GetSupportedInputFormat(); {
      size_t len = (&result)->size(); SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) { svs[i] = sv_newmortal();
        SwigSvFromString(svs[i], result[i]); }  AV *myav = av_make(len, svs); delete[] svs; ST(argvi) = newRV_noinc((SV*) myav);
      sv_2mortal(ST(argvi)); argvi++; }  XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBConversion_GetSupportedOutputFormat) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; std::vector< std::string > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBConversion_GetSupportedOutputFormat(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_GetSupportedOutputFormat" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1); result = (arg1)->GetSupportedOutputFormat(); {
      size_t len = (&result)->size(); SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) { svs[i] = sv_newmortal();
        SwigSvFromString(svs[i], result[i]); }  AV *myav = av_make(len, svs); delete[] svs; ST(argvi) = newRV_noinc((SV*) myav);
      sv_2mortal(ST(argvi)); argvi++; }  XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBConversion_Convert__SWIG_0) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ;
    std::istream *arg2 = (std::istream *) 0 ; std::ostream *arg3 = (std::ostream *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; int result; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBConversion_Convert(self,is,os);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_Convert" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_std__istream, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConversion_Convert" "', argument " "2"" of type '" "std::istream *""'");  }
     arg2 = reinterpret_cast< std::istream * >(argp2); res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_std__ostream, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBConversion_Convert" "', argument " "3"" of type '" "std::ostream *""'");  }
     arg3 = reinterpret_cast< std::ostream * >(argp3); result = (int)(arg1)->Convert(arg2,arg3);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_Convert__SWIG_1) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBConversion_Convert(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_Convert" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1); result = (int)(arg1)->Convert();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_Convert) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBConversion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBConversion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_std__istream, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_std__ostream, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBConversion_Convert__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBConversion_Convert__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBConversion_Convert'"); XSRETURN(0); }
XS(_wrap_OBConversion_FullConvert) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ;
    std::vector< std::string > *arg2 = 0 ; std::string *arg3 = 0 ; std::vector< std::string > *arg4 = 0 ; void *argp1 = 0 ;
    int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ;
    int argvi = 0; int result; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: OBConversion_FullConvert(self,FileList,OutputFileName,OutputFileList);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_FullConvert" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_std__string_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConversion_FullConvert" "', argument " "2"" of type '" "std::vector< std::string > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBConversion_FullConvert" "', argument " "2"" of type '" "std::vector< std::string > &""'"); }
     arg2 = reinterpret_cast< std::vector< std::string > * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_std__string,  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBConversion_FullConvert" "', argument " "3"" of type '" "std::string &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBConversion_FullConvert" "', argument " "3"" of type '" "std::string &""'"); }
     arg3 = reinterpret_cast< std::string * >(argp3);
    res4 = SWIG_ConvertPtr(ST(3), &argp4, SWIGTYPE_p_std__vectorT_std__string_t,  0 ); if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBConversion_FullConvert" "', argument " "4"" of type '" "std::vector< std::string > &""'");  }
     if (!argp4) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBConversion_FullConvert" "', argument " "4"" of type '" "std::vector< std::string > &""'"); }
     arg4 = reinterpret_cast< std::vector< std::string > * >(argp4); result = (int)(arg1)->FullConvert(*arg2,*arg3,*arg4);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_AddChemObject) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ;
    OpenBabel::OBBase *arg2 = (OpenBabel::OBBase *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; int result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBConversion_AddChemObject(self,pOb);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_AddChemObject" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConversion_AddChemObject" "', argument " "2"" of type '" "OpenBabel::OBBase *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBase * >(argp2); result = (int)(arg1)->AddChemObject(arg2);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_GetChemObject) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBBase *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBConversion_GetChemObject(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_GetChemObject" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1); result = (OpenBabel::OBBase *)(arg1)->GetChemObject();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBase, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBConversion_IsLast) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBConversion_IsLast(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_IsLast" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1); result = (bool)(arg1)->IsLast();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_IsFirstInput) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBConversion_IsFirstInput(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_IsFirstInput" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1); result = (bool)(arg1)->IsFirstInput();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_SetFirstInput__SWIG_0) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ; bool arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBConversion_SetFirstInput(self,b);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_SetFirstInput" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBConversion_SetFirstInput" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); (arg1)->SetFirstInput(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_SetFirstInput__SWIG_1) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBConversion_SetFirstInput(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_SetFirstInput" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1); (arg1)->SetFirstInput(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBConversion_SetFirstInput) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBConversion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBConversion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBConversion_SetFirstInput__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBConversion_SetFirstInput__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBConversion_SetFirstInput'"); XSRETURN(0); }
XS(_wrap_OBConversion_GetOutputIndex) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBConversion_GetOutputIndex(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_GetOutputIndex" "', argument " "1"" of type '" "OpenBabel::OBConversion const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1);
    result = (int)((OpenBabel::OBConversion const *)arg1)->GetOutputIndex();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_SetOutputIndex) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBConversion_SetOutputIndex(self,indx);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_SetOutputIndex" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBConversion_SetOutputIndex" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (arg1)->SetOutputIndex(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_SetMoreFilesToCome) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBConversion_SetMoreFilesToCome(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_SetMoreFilesToCome" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1); (arg1)->SetMoreFilesToCome(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBConversion_SetOneObjectOnly__SWIG_0) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ; bool arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBConversion_SetOneObjectOnly(self,b);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_SetOneObjectOnly" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBConversion_SetOneObjectOnly" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); (arg1)->SetOneObjectOnly(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_SetOneObjectOnly__SWIG_1) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBConversion_SetOneObjectOnly(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_SetOneObjectOnly" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1); (arg1)->SetOneObjectOnly(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBConversion_SetOneObjectOnly) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBConversion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBConversion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBConversion_SetOneObjectOnly__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBConversion_SetOneObjectOnly__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBConversion_SetOneObjectOnly'"); XSRETURN(0); }
XS(_wrap_OBConversion_SetLast) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ; bool arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBConversion_SetLast(self,b);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_SetLast" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBConversion_SetLast" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); (arg1)->SetLast(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_IsLastFile) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBConversion_IsLastFile(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_IsLastFile" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1); result = (bool)(arg1)->IsLastFile();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_GetCount) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBConversion_GetCount(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_GetCount" "', argument " "1"" of type '" "OpenBabel::OBConversion const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1);
    result = (int)((OpenBabel::OBConversion const *)arg1)->GetCount();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_GetDefaultFormat) { { int argvi = 0; OpenBabel::OBFormat *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: OBConversion_GetDefaultFormat();"); } 
    result = (OpenBabel::OBFormat *)OpenBabel::OBConversion::GetDefaultFormat();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBFormat, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBConversion_Write__SWIG_0) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ;
    OpenBabel::OBBase *arg2 = (OpenBabel::OBBase *) 0 ; std::ostream *arg3 = (std::ostream *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBConversion_Write(self,pOb,pout);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_Write" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConversion_Write" "', argument " "2"" of type '" "OpenBabel::OBBase *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBase * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_std__ostream, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBConversion_Write" "', argument " "3"" of type '" "std::ostream *""'");  }
     arg3 = reinterpret_cast< std::ostream * >(argp3); result = (bool)(arg1)->Write(arg2,arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_Write__SWIG_1) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ;
    OpenBabel::OBBase *arg2 = (OpenBabel::OBBase *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBConversion_Write(self,pOb);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_Write" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConversion_Write" "', argument " "2"" of type '" "OpenBabel::OBBase *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBase * >(argp2); result = (bool)(arg1)->Write(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_Write) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBConversion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBConversion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_std__ostream, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBConversion_Write__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBConversion_Write__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBConversion_Write'"); XSRETURN(0); }
XS(_wrap_OBConversion_WriteString__SWIG_0) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ;
    OpenBabel::OBBase *arg2 = (OpenBabel::OBBase *) 0 ; bool arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; bool val3 ; int ecode3 = 0 ; int argvi = 0; std::string result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBConversion_WriteString(self,pOb,trimWhitespace);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_WriteString" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConversion_WriteString" "', argument " "2"" of type '" "OpenBabel::OBBase *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBase * >(argp2); ecode3 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBConversion_WriteString" "', argument " "3"" of type '" "bool""'"); }
      arg3 = static_cast< bool >(val3); result = (arg1)->WriteString(arg2,arg3);
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBConversion_WriteString__SWIG_1) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ;
    OpenBabel::OBBase *arg2 = (OpenBabel::OBBase *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; std::string result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBConversion_WriteString(self,pOb);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_WriteString" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConversion_WriteString" "', argument " "2"" of type '" "OpenBabel::OBBase *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBase * >(argp2); result = (arg1)->WriteString(arg2);
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBConversion_WriteString) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBConversion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBConversion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBConversion_WriteString__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBConversion_WriteString__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBConversion_WriteString'"); XSRETURN(0); }
XS(_wrap_OBConversion_WriteFile) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ;
    OpenBabel::OBBase *arg2 = (OpenBabel::OBBase *) 0 ; std::string arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBConversion_WriteFile(self,pOb,filePath);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_WriteFile" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConversion_WriteFile" "', argument " "2"" of type '" "OpenBabel::OBBase *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBase * >(argp2); { std::string *ptr = (std::string *)0;
      int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), &ptr); if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "OBConversion_WriteFile" "', argument " "3"" of type '" "std::string""'");  }
       arg3 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; }  result = (bool)(arg1)->WriteFile(arg2,arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_CloseOutFile) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBConversion_CloseOutFile(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_CloseOutFile" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1); (arg1)->CloseOutFile(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBConversion_Read__SWIG_0) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ;
    OpenBabel::OBBase *arg2 = (OpenBabel::OBBase *) 0 ; std::istream *arg3 = (std::istream *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBConversion_Read(self,pOb,pin);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_Read" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConversion_Read" "', argument " "2"" of type '" "OpenBabel::OBBase *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBase * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_std__istream, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBConversion_Read" "', argument " "3"" of type '" "std::istream *""'");  }
     arg3 = reinterpret_cast< std::istream * >(argp3); result = (bool)(arg1)->Read(arg2,arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_Read__SWIG_1) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ;
    OpenBabel::OBBase *arg2 = (OpenBabel::OBBase *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBConversion_Read(self,pOb);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_Read" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConversion_Read" "', argument " "2"" of type '" "OpenBabel::OBBase *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBase * >(argp2); result = (bool)(arg1)->Read(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_Read) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBConversion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBConversion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_std__istream, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBConversion_Read__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBConversion_Read__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBConversion_Read'"); XSRETURN(0); }
XS(_wrap_OBConversion_ReadString) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ;
    OpenBabel::OBBase *arg2 = (OpenBabel::OBBase *) 0 ; std::string arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBConversion_ReadString(self,pOb,input);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_ReadString" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConversion_ReadString" "', argument " "2"" of type '" "OpenBabel::OBBase *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBase * >(argp2); { std::string *ptr = (std::string *)0;
      int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), &ptr); if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "OBConversion_ReadString" "', argument " "3"" of type '" "std::string""'");  }
       arg3 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; }  result = (bool)(arg1)->ReadString(arg2,arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_ReadFile) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ;
    OpenBabel::OBBase *arg2 = (OpenBabel::OBBase *) 0 ; std::string arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBConversion_ReadFile(self,pOb,filePath);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_ReadFile" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBConversion_ReadFile" "', argument " "2"" of type '" "OpenBabel::OBBase *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBase * >(argp2); { std::string *ptr = (std::string *)0;
      int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), &ptr); if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "OBConversion_ReadFile" "', argument " "3"" of type '" "std::string""'");  }
       arg3 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; }  result = (bool)(arg1)->ReadFile(arg2,arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_OpenInAndOutFiles) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ; std::string arg2 ;
    std::string arg3 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBConversion_OpenInAndOutFiles(self,infilepath,outfilepath);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_OpenInAndOutFiles" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1); { std::string *ptr = (std::string *)0;
      int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "OBConversion_OpenInAndOutFiles" "', argument " "2"" of type '" "std::string""'");  }
       arg2 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; }  { std::string *ptr = (std::string *)0;
      int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), &ptr); if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "OBConversion_OpenInAndOutFiles" "', argument " "3"" of type '" "std::string""'");  }
       arg3 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; }  result = (bool)(arg1)->OpenInAndOutFiles(arg2,arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_ReportNumberConverted__SWIG_0) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ;
    int arg2 ; OpenBabel::OBFormat *arg3 = (OpenBabel::OBFormat *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ;
    int ecode2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBConversion_ReportNumberConverted(self,count,pFormat);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_ReportNumberConverted" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBConversion_ReportNumberConverted" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBFormat, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBConversion_ReportNumberConverted" "', argument " "3"" of type '" "OpenBabel::OBFormat *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBFormat * >(argp3); (arg1)->ReportNumberConverted(arg2,arg3);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBConversion_ReportNumberConverted__SWIG_1) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ;
    int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBConversion_ReportNumberConverted(self,count);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_ReportNumberConverted" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBConversion_ReportNumberConverted" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (arg1)->ReportNumberConverted(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBConversion_ReportNumberConverted) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBConversion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBConversion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_OpenBabel__OBFormat, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBConversion_ReportNumberConverted__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBConversion_ReportNumberConverted__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBConversion_ReportNumberConverted'"); XSRETURN(0); }
XS(_wrap_OBConversion_NumInputObjects) { { OpenBabel::OBConversion *arg1 = (OpenBabel::OBConversion *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBConversion_NumInputObjects(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBConversion_NumInputObjects" "', argument " "1"" of type '" "OpenBabel::OBConversion *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBConversion * >(argp1); result = (int)(arg1)->NumInputObjects();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_new_OBResidue__SWIG_0) { { int argvi = 0; OpenBabel::OBResidue *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_OBResidue();"); }  result = (OpenBabel::OBResidue *)new OpenBabel::OBResidue();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBResidue, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBResidue__SWIG_1) { { OpenBabel::OBResidue *arg1 = 0 ; void *argp1 ; int res1 = 0 ; int argvi = 0;
    OpenBabel::OBResidue *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new_OBResidue(OpenBabel::OBResidue const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBResidue,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBResidue" "', argument " "1"" of type '" "OpenBabel::OBResidue const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBResidue" "', argument " "1"" of type '" "OpenBabel::OBResidue const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBResidue * >(argp1);
    result = (OpenBabel::OBResidue *)new OpenBabel::OBResidue((OpenBabel::OBResidue const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBResidue, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBResidue) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidue, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBResidue__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBResidue__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'new_OBResidue'"); XSRETURN(0); }
XS(_wrap_delete_OBResidue) { { OpenBabel::OBResidue *arg1 = (OpenBabel::OBResidue *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBResidue(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidue, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBResidue" "', argument " "1"" of type '" "OpenBabel::OBResidue *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidue * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBResidue_AddAtom) { { OpenBabel::OBResidue *arg1 = (OpenBabel::OBResidue *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBResidue_AddAtom(self,atom);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidue_AddAtom" "', argument " "1"" of type '" "OpenBabel::OBResidue *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidue * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidue_AddAtom" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); (arg1)->AddAtom(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidue_InsertAtom) { { OpenBabel::OBResidue *arg1 = (OpenBabel::OBResidue *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBResidue_InsertAtom(self,atom);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidue_InsertAtom" "', argument " "1"" of type '" "OpenBabel::OBResidue *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidue * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidue_InsertAtom" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); (arg1)->InsertAtom(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidue_RemoveAtom) { { OpenBabel::OBResidue *arg1 = (OpenBabel::OBResidue *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBResidue_RemoveAtom(self,atom);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidue_RemoveAtom" "', argument " "1"" of type '" "OpenBabel::OBResidue *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidue * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidue_RemoveAtom" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); (arg1)->RemoveAtom(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidue_SetName) { { OpenBabel::OBResidue *arg1 = (OpenBabel::OBResidue *) 0 ; std::string *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBResidue_SetName(self,resname);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidue_SetName" "', argument " "1"" of type '" "OpenBabel::OBResidue *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidue * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidue_SetName" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBResidue_SetName" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  (arg1)->SetName((std::string const &)*arg2); ST(argvi) = sv_newmortal();
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap_OBResidue_SetNum__SWIG_0) { { OpenBabel::OBResidue *arg1 = (OpenBabel::OBResidue *) 0 ; unsigned int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBResidue_SetNum(self,resnum);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidue_SetNum" "', argument " "1"" of type '" "OpenBabel::OBResidue *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidue * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBResidue_SetNum" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); (arg1)->SetNum(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBResidue_SetNum__SWIG_1) { { OpenBabel::OBResidue *arg1 = (OpenBabel::OBResidue *) 0 ; std::string arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBResidue_SetNum(self,resnum);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidue_SetNum" "', argument " "1"" of type '" "OpenBabel::OBResidue *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidue * >(argp1); { std::string *ptr = (std::string *)0;
      int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "OBResidue_SetNum" "', argument " "2"" of type '" "std::string const""'");  }
       arg2 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; }  (arg1)->SetNum(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidue_SetNum) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidue, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidue, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBResidue_SetNum__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBResidue_SetNum__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBResidue_SetNum'"); XSRETURN(0); }
XS(_wrap_OBResidue_SetChain) { { OpenBabel::OBResidue *arg1 = (OpenBabel::OBResidue *) 0 ; char arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; char val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBResidue_SetChain(self,chain);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidue_SetChain" "', argument " "1"" of type '" "OpenBabel::OBResidue *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidue * >(argp1); ecode2 = SWIG_AsVal_char SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBResidue_SetChain" "', argument " "2"" of type '" "char""'"); }
      arg2 = static_cast< char >(val2); (arg1)->SetChain(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBResidue_SetChainNum) { { OpenBabel::OBResidue *arg1 = (OpenBabel::OBResidue *) 0 ; unsigned int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBResidue_SetChainNum(self,chainnum);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidue_SetChainNum" "', argument " "1"" of type '" "OpenBabel::OBResidue *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidue * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBResidue_SetChainNum" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); (arg1)->SetChainNum(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBResidue_SetIdx) { { OpenBabel::OBResidue *arg1 = (OpenBabel::OBResidue *) 0 ; unsigned int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBResidue_SetIdx(self,idx);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidue_SetIdx" "', argument " "1"" of type '" "OpenBabel::OBResidue *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidue * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBResidue_SetIdx" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); (arg1)->SetIdx(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBResidue_SetAtomID) { { OpenBabel::OBResidue *arg1 = (OpenBabel::OBResidue *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; std::string *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
    void *argp2 = 0 ; int res2 = 0 ; int res3 = SWIG_OLDOBJ ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBResidue_SetAtomID(self,atom,id);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidue_SetAtomID" "', argument " "1"" of type '" "OpenBabel::OBResidue *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidue * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidue_SetAtomID" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); { std::string *ptr = (std::string *)0;
      res3 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), &ptr); if (!SWIG_IsOK(res3)) {
        SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBResidue_SetAtomID" "', argument " "3"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBResidue_SetAtomID" "', argument " "3"" of type '" "std::string const &""'"); }
       arg3 = ptr; }  (arg1)->SetAtomID(arg2,(std::string const &)*arg3); ST(argvi) = sv_newmortal();
    if (SWIG_IsNewObj(res3)) delete arg3; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res3)) delete arg3; SWIG_croak_null(); }  }
XS(_wrap_OBResidue_SetHetAtom) { { OpenBabel::OBResidue *arg1 = (OpenBabel::OBResidue *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; bool arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; bool val3 ; int ecode3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBResidue_SetHetAtom(self,atom,hetatm);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidue_SetHetAtom" "', argument " "1"" of type '" "OpenBabel::OBResidue *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidue * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidue_SetHetAtom" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); ecode3 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBResidue_SetHetAtom" "', argument " "3"" of type '" "bool""'"); }
      arg3 = static_cast< bool >(val3); (arg1)->SetHetAtom(arg2,arg3); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBResidue_SetSerialNum) { { OpenBabel::OBResidue *arg1 = (OpenBabel::OBResidue *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; unsigned int arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; unsigned int val3 ; int ecode3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBResidue_SetSerialNum(self,atom,sernum);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidue_SetSerialNum" "', argument " "1"" of type '" "OpenBabel::OBResidue *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidue * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidue_SetSerialNum" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2);
    ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBResidue_SetSerialNum" "', argument " "3"" of type '" "unsigned int""'"); }
      arg3 = static_cast< unsigned int >(val3); (arg1)->SetSerialNum(arg2,arg3); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidue_GetName) { { OpenBabel::OBResidue *arg1 = (OpenBabel::OBResidue *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; std::string result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBResidue_GetName(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidue_GetName" "', argument " "1"" of type '" "OpenBabel::OBResidue const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidue * >(argp1); result = ((OpenBabel::OBResidue const *)arg1)->GetName();
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidue_GetNum) { { OpenBabel::OBResidue *arg1 = (OpenBabel::OBResidue *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBResidue_GetNum(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidue_GetNum" "', argument " "1"" of type '" "OpenBabel::OBResidue *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidue * >(argp1); result = (unsigned int)(arg1)->GetNum();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidue_GetNumString) { { OpenBabel::OBResidue *arg1 = (OpenBabel::OBResidue *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; std::string result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBResidue_GetNumString(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidue_GetNumString" "', argument " "1"" of type '" "OpenBabel::OBResidue *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidue * >(argp1); result = (arg1)->GetNumString();
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidue_GetNumAtoms) { { OpenBabel::OBResidue *arg1 = (OpenBabel::OBResidue *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBResidue_GetNumAtoms(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidue_GetNumAtoms" "', argument " "1"" of type '" "OpenBabel::OBResidue const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidue * >(argp1);
    result = (unsigned int)((OpenBabel::OBResidue const *)arg1)->GetNumAtoms();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidue_GetChain) { { OpenBabel::OBResidue *arg1 = (OpenBabel::OBResidue *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; char result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBResidue_GetChain(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidue_GetChain" "', argument " "1"" of type '" "OpenBabel::OBResidue const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidue * >(argp1); result = (char)((OpenBabel::OBResidue const *)arg1)->GetChain();
    ST(argvi) = SWIG_From_char  SWIG_PERL_CALL_ARGS_1(static_cast< char >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBResidue_GetChainNum) { { OpenBabel::OBResidue *arg1 = (OpenBabel::OBResidue *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBResidue_GetChainNum(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidue_GetChainNum" "', argument " "1"" of type '" "OpenBabel::OBResidue const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidue * >(argp1);
    result = (unsigned int)((OpenBabel::OBResidue const *)arg1)->GetChainNum();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidue_GetIdx) { { OpenBabel::OBResidue *arg1 = (OpenBabel::OBResidue *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBResidue_GetIdx(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidue_GetIdx" "', argument " "1"" of type '" "OpenBabel::OBResidue const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidue * >(argp1);
    result = (unsigned int)((OpenBabel::OBResidue const *)arg1)->GetIdx();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidue_GetResKey) { { OpenBabel::OBResidue *arg1 = (OpenBabel::OBResidue *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBResidue_GetResKey(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidue_GetResKey" "', argument " "1"" of type '" "OpenBabel::OBResidue const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidue * >(argp1);
    result = (unsigned int)((OpenBabel::OBResidue const *)arg1)->GetResKey();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidue_GetAtoms) { { OpenBabel::OBResidue *arg1 = (OpenBabel::OBResidue *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBAtom * > > result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBResidue_GetAtoms(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidue_GetAtoms" "', argument " "1"" of type '" "OpenBabel::OBResidue const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidue * >(argp1); result = ((OpenBabel::OBResidue const *)arg1)->GetAtoms();
    ST(argvi) = SWIG_NewPointerObj((new std::vector< OpenBabel::OBAtom * >(static_cast< const std::vector< OpenBabel::OBAtom * >& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBAtom_p_t, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidue_GetBonds__SWIG_0) { { OpenBabel::OBResidue *arg1 = (OpenBabel::OBResidue *) 0 ; bool arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBBond * > > result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBResidue_GetBonds(self,exterior);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidue_GetBonds" "', argument " "1"" of type '" "OpenBabel::OBResidue const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidue * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBResidue_GetBonds" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = ((OpenBabel::OBResidue const *)arg1)->GetBonds(arg2);
    ST(argvi) = SWIG_NewPointerObj((new std::vector< OpenBabel::OBBond * >(static_cast< const std::vector< OpenBabel::OBBond * >& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidue_GetBonds__SWIG_1) { { OpenBabel::OBResidue *arg1 = (OpenBabel::OBResidue *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBBond * > > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBResidue_GetBonds(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidue_GetBonds" "', argument " "1"" of type '" "OpenBabel::OBResidue const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidue * >(argp1); result = ((OpenBabel::OBResidue const *)arg1)->GetBonds();
    ST(argvi) = SWIG_NewPointerObj((new std::vector< OpenBabel::OBBond * >(static_cast< const std::vector< OpenBabel::OBBond * >& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidue_GetBonds) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidue, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidue, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBResidue_GetBonds__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBResidue_GetBonds__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBResidue_GetBonds'"); XSRETURN(0); }
XS(_wrap_OBResidue_GetAtomID) { { OpenBabel::OBResidue *arg1 = (OpenBabel::OBResidue *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; std::string result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBResidue_GetAtomID(self,atom);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidue_GetAtomID" "', argument " "1"" of type '" "OpenBabel::OBResidue const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidue * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidue_GetAtomID" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = ((OpenBabel::OBResidue const *)arg1)->GetAtomID(arg2);
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidue_GetSerialNum) { { OpenBabel::OBResidue *arg1 = (OpenBabel::OBResidue *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBResidue_GetSerialNum(self,atom);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidue_GetSerialNum" "', argument " "1"" of type '" "OpenBabel::OBResidue const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidue * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidue_GetSerialNum" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2);
    result = (unsigned int)((OpenBabel::OBResidue const *)arg1)->GetSerialNum(arg2);
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidue_GetAminoAcidProperty) { { OpenBabel::OBResidue *arg1 = (OpenBabel::OBResidue *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBResidue_GetAminoAcidProperty(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidue_GetAminoAcidProperty" "', argument " "1"" of type '" "OpenBabel::OBResidue const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidue * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBResidue_GetAminoAcidProperty" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (bool)((OpenBabel::OBResidue const *)arg1)->GetAminoAcidProperty(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBResidue_GetAtomProperty) { { OpenBabel::OBResidue *arg1 = (OpenBabel::OBResidue *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int val3 ; int ecode3 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBResidue_GetAtomProperty(self,a,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidue_GetAtomProperty" "', argument " "1"" of type '" "OpenBabel::OBResidue const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidue * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidue_GetAtomProperty" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBResidue_GetAtomProperty" "', argument " "3"" of type '" "int""'"); }
      arg3 = static_cast< int >(val3); result = (bool)((OpenBabel::OBResidue const *)arg1)->GetAtomProperty(arg2,arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBResidue_GetResidueProperty) { { OpenBabel::OBResidue *arg1 = (OpenBabel::OBResidue *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBResidue_GetResidueProperty(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidue_GetResidueProperty" "', argument " "1"" of type '" "OpenBabel::OBResidue const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidue * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBResidue_GetResidueProperty" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (bool)((OpenBabel::OBResidue const *)arg1)->GetResidueProperty(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBResidue_IsHetAtom) { { OpenBabel::OBResidue *arg1 = (OpenBabel::OBResidue *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBResidue_IsHetAtom(self,atom);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidue_IsHetAtom" "', argument " "1"" of type '" "OpenBabel::OBResidue const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidue * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidue_IsHetAtom" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2);
    result = (bool)((OpenBabel::OBResidue const *)arg1)->IsHetAtom(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBResidue_IsResidueType) { { OpenBabel::OBResidue *arg1 = (OpenBabel::OBResidue *) 0 ; int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBResidue_IsResidueType(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidue_IsResidueType" "', argument " "1"" of type '" "OpenBabel::OBResidue const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidue * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBResidue_IsResidueType" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (bool)((OpenBabel::OBResidue const *)arg1)->IsResidueType(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBResidue_BeginAtoms) { { OpenBabel::OBResidue *arg1 = (OpenBabel::OBResidue *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBAtom * >::iterator > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBResidue_BeginAtoms(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidue_BeginAtoms" "', argument " "1"" of type '" "OpenBabel::OBResidue *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidue * >(argp1); result = (arg1)->BeginAtoms();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBAtomIterator(static_cast< const OpenBabel::OBAtomIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBAtom_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidue_EndAtoms) { { OpenBabel::OBResidue *arg1 = (OpenBabel::OBResidue *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBAtom * >::iterator > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBResidue_EndAtoms(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidue_EndAtoms" "', argument " "1"" of type '" "OpenBabel::OBResidue *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidue * >(argp1); result = (arg1)->EndAtoms();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBAtomIterator(static_cast< const OpenBabel::OBAtomIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBAtom_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidue_BeginAtom) { { OpenBabel::OBResidue *arg1 = (OpenBabel::OBResidue *) 0 ;
    std::vector< OpenBabel::OBAtom * >::iterator *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBResidue_BeginAtom(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidue_BeginAtom" "', argument " "1"" of type '" "OpenBabel::OBResidue *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidue * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBAtom_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidue_BeginAtom" "', argument " "2"" of type '" "std::vector< OpenBabel::OBAtom * >::iterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBResidue_BeginAtom" "', argument " "2"" of type '" "std::vector< OpenBabel::OBAtom * >::iterator &""'"); }
     arg2 = reinterpret_cast< std::vector< OpenBabel::OBAtom * >::iterator * >(argp2);
    result = (OpenBabel::OBAtom *)(arg1)->BeginAtom(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidue_NextAtom) { { OpenBabel::OBResidue *arg1 = (OpenBabel::OBResidue *) 0 ;
    std::vector< OpenBabel::OBAtom * >::iterator *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBResidue_NextAtom(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidue_NextAtom" "', argument " "1"" of type '" "OpenBabel::OBResidue *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidue * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBAtom_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidue_NextAtom" "', argument " "2"" of type '" "std::vector< OpenBabel::OBAtom * >::iterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBResidue_NextAtom" "', argument " "2"" of type '" "std::vector< OpenBabel::OBAtom * >::iterator &""'"); }
     arg2 = reinterpret_cast< std::vector< OpenBabel::OBAtom * >::iterator * >(argp2);
    result = (OpenBabel::OBAtom *)(arg1)->NextAtom(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBInternalCoord__a_set) { { OpenBabel::OBInternalCoord *arg1 = (OpenBabel::OBInternalCoord *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBInternalCoord__a_set(self,_a);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBInternalCoord, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBInternalCoord__a_set" "', argument " "1"" of type '" "OpenBabel::OBInternalCoord *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBInternalCoord * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBInternalCoord__a_set" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); if (arg1) (arg1)->_a = arg2; ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBInternalCoord__a_get) { { OpenBabel::OBInternalCoord *arg1 = (OpenBabel::OBInternalCoord *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBInternalCoord__a_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBInternalCoord, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBInternalCoord__a_get" "', argument " "1"" of type '" "OpenBabel::OBInternalCoord *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBInternalCoord * >(argp1); result = (OpenBabel::OBAtom *) ((arg1)->_a);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBInternalCoord__b_set) { { OpenBabel::OBInternalCoord *arg1 = (OpenBabel::OBInternalCoord *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBInternalCoord__b_set(self,_b);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBInternalCoord, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBInternalCoord__b_set" "', argument " "1"" of type '" "OpenBabel::OBInternalCoord *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBInternalCoord * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBInternalCoord__b_set" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); if (arg1) (arg1)->_b = arg2; ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBInternalCoord__b_get) { { OpenBabel::OBInternalCoord *arg1 = (OpenBabel::OBInternalCoord *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBInternalCoord__b_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBInternalCoord, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBInternalCoord__b_get" "', argument " "1"" of type '" "OpenBabel::OBInternalCoord *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBInternalCoord * >(argp1); result = (OpenBabel::OBAtom *) ((arg1)->_b);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBInternalCoord__c_set) { { OpenBabel::OBInternalCoord *arg1 = (OpenBabel::OBInternalCoord *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBInternalCoord__c_set(self,_c);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBInternalCoord, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBInternalCoord__c_set" "', argument " "1"" of type '" "OpenBabel::OBInternalCoord *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBInternalCoord * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBInternalCoord__c_set" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); if (arg1) (arg1)->_c = arg2; ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBInternalCoord__c_get) { { OpenBabel::OBInternalCoord *arg1 = (OpenBabel::OBInternalCoord *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBInternalCoord__c_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBInternalCoord, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBInternalCoord__c_get" "', argument " "1"" of type '" "OpenBabel::OBInternalCoord *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBInternalCoord * >(argp1); result = (OpenBabel::OBAtom *) ((arg1)->_c);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBInternalCoord__dst_set) { { OpenBabel::OBInternalCoord *arg1 = (OpenBabel::OBInternalCoord *) 0 ; double arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBInternalCoord__dst_set(self,_dst);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBInternalCoord, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBInternalCoord__dst_set" "', argument " "1"" of type '" "OpenBabel::OBInternalCoord *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBInternalCoord * >(argp1);
    ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBInternalCoord__dst_set" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); if (arg1) (arg1)->_dst = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBInternalCoord__dst_get) { { OpenBabel::OBInternalCoord *arg1 = (OpenBabel::OBInternalCoord *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBInternalCoord__dst_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBInternalCoord, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBInternalCoord__dst_get" "', argument " "1"" of type '" "OpenBabel::OBInternalCoord *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBInternalCoord * >(argp1); result = (double) ((arg1)->_dst);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBInternalCoord__ang_set) { { OpenBabel::OBInternalCoord *arg1 = (OpenBabel::OBInternalCoord *) 0 ; double arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBInternalCoord__ang_set(self,_ang);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBInternalCoord, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBInternalCoord__ang_set" "', argument " "1"" of type '" "OpenBabel::OBInternalCoord *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBInternalCoord * >(argp1);
    ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBInternalCoord__ang_set" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); if (arg1) (arg1)->_ang = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBInternalCoord__ang_get) { { OpenBabel::OBInternalCoord *arg1 = (OpenBabel::OBInternalCoord *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBInternalCoord__ang_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBInternalCoord, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBInternalCoord__ang_get" "', argument " "1"" of type '" "OpenBabel::OBInternalCoord *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBInternalCoord * >(argp1); result = (double) ((arg1)->_ang);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBInternalCoord__tor_set) { { OpenBabel::OBInternalCoord *arg1 = (OpenBabel::OBInternalCoord *) 0 ; double arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBInternalCoord__tor_set(self,_tor);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBInternalCoord, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBInternalCoord__tor_set" "', argument " "1"" of type '" "OpenBabel::OBInternalCoord *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBInternalCoord * >(argp1);
    ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBInternalCoord__tor_set" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); if (arg1) (arg1)->_tor = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBInternalCoord__tor_get) { { OpenBabel::OBInternalCoord *arg1 = (OpenBabel::OBInternalCoord *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBInternalCoord__tor_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBInternalCoord, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBInternalCoord__tor_get" "', argument " "1"" of type '" "OpenBabel::OBInternalCoord *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBInternalCoord * >(argp1); result = (double) ((arg1)->_tor);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_new_OBInternalCoord__SWIG_0) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; OpenBabel::OBAtom *arg3 = (OpenBabel::OBAtom *) 0 ; double arg4 ;
    double arg5 ; double arg6 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ;
    int res3 = 0 ; double val4 ; int ecode4 = 0 ; double val5 ; int ecode5 = 0 ; double val6 ; int ecode6 = 0 ; int argvi = 0;
    OpenBabel::OBInternalCoord *result = 0 ; dXSARGS; if ((items < 6) || (items > 6)) {
      SWIG_croak("Usage: new_OBInternalCoord(a,b,c,dst,ang,tor);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBInternalCoord" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_OBInternalCoord" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_OBInternalCoord" "', argument " "3"" of type '" "OpenBabel::OBAtom *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBAtom * >(argp3); ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_OBInternalCoord" "', argument " "4"" of type '" "double""'"); }
      arg4 = static_cast< double >(val4); ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_OBInternalCoord" "', argument " "5"" of type '" "double""'"); }
      arg5 = static_cast< double >(val5); ecode6 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(5), &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_OBInternalCoord" "', argument " "6"" of type '" "double""'"); }
      arg6 = static_cast< double >(val6);
    result = (OpenBabel::OBInternalCoord *)new OpenBabel::OBInternalCoord(arg1,arg2,arg3,arg4,arg5,arg6);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBInternalCoord, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBInternalCoord__SWIG_1) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; OpenBabel::OBAtom *arg3 = (OpenBabel::OBAtom *) 0 ; double arg4 ;
    double arg5 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ;
    double val4 ; int ecode4 = 0 ; double val5 ; int ecode5 = 0 ; int argvi = 0; OpenBabel::OBInternalCoord *result = 0 ;
    dXSARGS; if ((items < 5) || (items > 5)) { SWIG_croak("Usage: new_OBInternalCoord(a,b,c,dst,ang);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBInternalCoord" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_OBInternalCoord" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_OBInternalCoord" "', argument " "3"" of type '" "OpenBabel::OBAtom *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBAtom * >(argp3); ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_OBInternalCoord" "', argument " "4"" of type '" "double""'"); }
      arg4 = static_cast< double >(val4); ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_OBInternalCoord" "', argument " "5"" of type '" "double""'"); }
      arg5 = static_cast< double >(val5);
    result = (OpenBabel::OBInternalCoord *)new OpenBabel::OBInternalCoord(arg1,arg2,arg3,arg4,arg5);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBInternalCoord, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBInternalCoord__SWIG_2) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; OpenBabel::OBAtom *arg3 = (OpenBabel::OBAtom *) 0 ; double arg4 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; double val4 ;
    int ecode4 = 0 ; int argvi = 0; OpenBabel::OBInternalCoord *result = 0 ; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: new_OBInternalCoord(a,b,c,dst);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBInternalCoord" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_OBInternalCoord" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_OBInternalCoord" "', argument " "3"" of type '" "OpenBabel::OBAtom *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBAtom * >(argp3); ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_OBInternalCoord" "', argument " "4"" of type '" "double""'"); }
      arg4 = static_cast< double >(val4);
    result = (OpenBabel::OBInternalCoord *)new OpenBabel::OBInternalCoord(arg1,arg2,arg3,arg4);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBInternalCoord, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBInternalCoord__SWIG_3) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; OpenBabel::OBAtom *arg3 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0;
    OpenBabel::OBInternalCoord *result = 0 ; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: new_OBInternalCoord(a,b,c);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBInternalCoord" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_OBInternalCoord" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_OBInternalCoord" "', argument " "3"" of type '" "OpenBabel::OBAtom *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBAtom * >(argp3);
    result = (OpenBabel::OBInternalCoord *)new OpenBabel::OBInternalCoord(arg1,arg2,arg3);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBInternalCoord, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBInternalCoord__SWIG_4) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; OpenBabel::OBInternalCoord *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: new_OBInternalCoord(a,b);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBInternalCoord" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_OBInternalCoord" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2);
    result = (OpenBabel::OBInternalCoord *)new OpenBabel::OBInternalCoord(arg1,arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBInternalCoord, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBInternalCoord__SWIG_5) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBInternalCoord *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new_OBInternalCoord(a);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBInternalCoord" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    result = (OpenBabel::OBInternalCoord *)new OpenBabel::OBInternalCoord(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBInternalCoord, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBInternalCoord__SWIG_6) { { int argvi = 0; OpenBabel::OBInternalCoord *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_OBInternalCoord();"); } 
    result = (OpenBabel::OBInternalCoord *)new OpenBabel::OBInternalCoord();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBInternalCoord, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBInternalCoord) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4: if (items == 4) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_5; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_5; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_5; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_5;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 5;
        if (_rank == _rankm) goto dispatch; }  }  check_5: if (items == 5) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_6; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_6; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_6; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_6;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_6;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 6;
        if (_rank == _rankm) goto dispatch; }  }  check_6: if (items == 6) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_7; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_7; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_7; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_7;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_7;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(5), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_7;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 7;
        if (_rank == _rankm) goto dispatch; }  }  check_7: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBInternalCoord__SWIG_6); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBInternalCoord__SWIG_5); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBInternalCoord__SWIG_4); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBInternalCoord__SWIG_3); return; case 5:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBInternalCoord__SWIG_2); return; case 6:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBInternalCoord__SWIG_1); return; case 7:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBInternalCoord__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'new_OBInternalCoord'"); XSRETURN(0); }
XS(_wrap_delete_OBInternalCoord) { { OpenBabel::OBInternalCoord *arg1 = (OpenBabel::OBInternalCoord *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: delete_OBInternalCoord(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBInternalCoord, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBInternalCoord" "', argument " "1"" of type '" "OpenBabel::OBInternalCoord *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBInternalCoord * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_Visit_set) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ;
    bool val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBAtom_Visit_set(self,Visit);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_Visit_set" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBAtom_Visit_set" "', argument " "2"" of type '" "bool""'"); }  
    arg2 = static_cast< bool >(val2); if (arg1) (arg1)->Visit = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_Visit_get) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_Visit_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_Visit_get" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool) ((arg1)->Visit);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_new_OBAtom) { { int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_OBAtom();"); }  result = (OpenBabel::OBAtom *)new OpenBabel::OBAtom();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBAtom) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBAtom(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBAtom" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom___eq__) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBAtom___eq__(self,other);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom___eq__" "', argument " "1"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBAtom___eq__" "', argument " "2"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2);
    result = (bool)((OpenBabel::OBAtom const *)arg1)->operator ==((OpenBabel::OBAtom const *)arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_Duplicate) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBAtom_Duplicate(self,OpenBabel::OBAtom *);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_Duplicate" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBAtom_Duplicate" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); (arg1)->Duplicate(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_SetIdx) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ;
    int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBAtom_SetIdx(self,idx);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_SetIdx" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBAtom_SetIdx" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); (arg1)->SetIdx(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_SetId) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; unsigned long arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; unsigned long val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBAtom_SetId(self,id);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_SetId" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBAtom_SetId" "', argument " "2"" of type '" "unsigned long""'"); }
      arg2 = static_cast< unsigned long >(val2); (arg1)->SetId(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_SetHyb) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ;
    int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBAtom_SetHyb(self,hyb);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_SetHyb" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBAtom_SetHyb" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); (arg1)->SetHyb(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_SetAtomicNum) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBAtom_SetAtomicNum(self,atomicnum);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_SetAtomicNum" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBAtom_SetAtomicNum" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (arg1)->SetAtomicNum(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_SetIsotope) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; unsigned int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBAtom_SetIsotope(self,iso);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_SetIsotope" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBAtom_SetIsotope" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); (arg1)->SetIsotope(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_SetImplicitValence) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBAtom_SetImplicitValence(self,val);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_SetImplicitValence" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBAtom_SetImplicitValence" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (arg1)->SetImplicitValence(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_IncrementImplicitValence) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBAtom_IncrementImplicitValence(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_IncrementImplicitValence" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); (arg1)->IncrementImplicitValence(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_DecrementImplicitValence) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBAtom_DecrementImplicitValence(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_DecrementImplicitValence" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); (arg1)->DecrementImplicitValence(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_SetFormalCharge) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBAtom_SetFormalCharge(self,fcharge);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_SetFormalCharge" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBAtom_SetFormalCharge" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (arg1)->SetFormalCharge(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_SetSpinMultiplicity) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; short arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; short val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBAtom_SetSpinMultiplicity(self,spin);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_SetSpinMultiplicity" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); ecode2 = SWIG_AsVal_short SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBAtom_SetSpinMultiplicity" "', argument " "2"" of type '" "short""'"); }
      arg2 = static_cast< short >(val2); (arg1)->SetSpinMultiplicity(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_SetType__SWIG_0) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; char *arg2 = (char *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBAtom_SetType(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_SetType" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBAtom_SetType" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); (arg1)->SetType((char const *)arg2); ST(argvi) = sv_newmortal();
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_SetType__SWIG_1) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; std::string *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBAtom_SetType(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_SetType" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBAtom_SetType" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBAtom_SetType" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  (arg1)->SetType((std::string const &)*arg2); ST(argvi) = sv_newmortal();
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap_OBAtom_SetType) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBAtom_SetType__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBAtom_SetType__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBAtom_SetType'"); XSRETURN(0); }
XS(_wrap_OBAtom_SetPartialCharge) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; double arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; double val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBAtom_SetPartialCharge(self,pcharge);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_SetPartialCharge" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBAtom_SetPartialCharge" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); (arg1)->SetPartialCharge(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_SetVector__SWIG_0) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; OpenBabel::vector3 *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBAtom_SetVector(self,v);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_SetVector" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBAtom_SetVector" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBAtom_SetVector" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2); (arg1)->SetVector((OpenBabel::vector3 const &)*arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_SetVector__SWIG_1) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; double arg2 ; double arg3 ;
    double arg4 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 0 ; double val4 ;
    int ecode4 = 0 ; int argvi = 0; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: OBAtom_SetVector(self,x,y,z);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_SetVector" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBAtom_SetVector" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBAtom_SetVector" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBAtom_SetVector" "', argument " "4"" of type '" "double""'"); }
      arg4 = static_cast< double >(val4); (arg1)->SetVector(arg2,arg3,arg4); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_SetCoordPtr) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; double **arg2 = (double **) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBAtom_SetCoordPtr(self,c);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_SetCoordPtr" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBAtom_SetCoordPtr" "', argument " "2"" of type '" "double **""'");  }
     arg2 = reinterpret_cast< double ** >(argp2); (arg1)->SetCoordPtr(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_SetVector__SWIG_2) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_SetVector(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_SetVector" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); (arg1)->SetVector(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_SetVector) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 4) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBAtom_SetVector__SWIG_2); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBAtom_SetVector__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBAtom_SetVector__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBAtom_SetVector'"); XSRETURN(0); }
XS(_wrap_OBAtom_SetResidue) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ;
    OpenBabel::OBResidue *arg2 = (OpenBabel::OBResidue *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBAtom_SetResidue(self,res);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_SetResidue" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBAtom_SetResidue" "', argument " "2"" of type '" "OpenBabel::OBResidue *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBResidue * >(argp2); (arg1)->SetResidue(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_SetParent) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ;
    OpenBabel::OBMol *arg2 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBAtom_SetParent(self,ptr);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_SetParent" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBAtom_SetParent" "', argument " "2"" of type '" "OpenBabel::OBMol *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); (arg1)->SetParent(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_SetAromatic) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_SetAromatic(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_SetAromatic" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); (arg1)->SetAromatic(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_UnsetAromatic) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_UnsetAromatic(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_UnsetAromatic" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); (arg1)->UnsetAromatic(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_SetClockwiseStereo) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_SetClockwiseStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_SetClockwiseStereo" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); (arg1)->SetClockwiseStereo(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_SetAntiClockwiseStereo) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_SetAntiClockwiseStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_SetAntiClockwiseStereo" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); (arg1)->SetAntiClockwiseStereo(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_SetPositiveStereo) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_SetPositiveStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_SetPositiveStereo" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); (arg1)->SetPositiveStereo(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_SetNegativeStereo) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_SetNegativeStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_SetNegativeStereo" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); (arg1)->SetNegativeStereo(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_UnsetStereo) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_UnsetStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_UnsetStereo" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); (arg1)->UnsetStereo(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_SetInRing) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_SetInRing(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_SetInRing" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); (arg1)->SetInRing(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_SetChiral) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_SetChiral(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_SetChiral" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); (arg1)->SetChiral(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_ClearCoordPtr) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_ClearCoordPtr(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_ClearCoordPtr" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); (arg1)->ClearCoordPtr(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_GetFormalCharge) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_GetFormalCharge(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_GetFormalCharge" "', argument " "1"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (int)((OpenBabel::OBAtom const *)arg1)->GetFormalCharge();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_GetAtomicNum) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBAtom_GetAtomicNum(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_GetAtomicNum" "', argument " "1"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    result = (unsigned int)((OpenBabel::OBAtom const *)arg1)->GetAtomicNum();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_GetIsotope) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; unsigned short result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBAtom_GetIsotope(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_GetIsotope" "', argument " "1"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    result = (unsigned short)((OpenBabel::OBAtom const *)arg1)->GetIsotope();
    ST(argvi) = SWIG_From_unsigned_SS_short  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned short >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_GetSpinMultiplicity) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBAtom_GetSpinMultiplicity(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_GetSpinMultiplicity" "', argument " "1"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    result = (int)((OpenBabel::OBAtom const *)arg1)->GetSpinMultiplicity();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_GetAtomicMass) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_GetAtomicMass(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_GetAtomicMass" "', argument " "1"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (double)((OpenBabel::OBAtom const *)arg1)->GetAtomicMass();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_GetExactMass) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_GetExactMass(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_GetExactMass" "', argument " "1"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (double)((OpenBabel::OBAtom const *)arg1)->GetExactMass();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_GetIdx) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_GetIdx(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_GetIdx" "', argument " "1"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (unsigned int)((OpenBabel::OBAtom const *)arg1)->GetIdx();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_GetIndex) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_GetIndex(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_GetIndex" "', argument " "1"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    result = (unsigned int)((OpenBabel::OBAtom const *)arg1)->GetIndex();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_GetId) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    unsigned long result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_GetId(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_GetId" "', argument " "1"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (unsigned long)((OpenBabel::OBAtom const *)arg1)->GetId();
    ST(argvi) = SWIG_From_unsigned_SS_long  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned long >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_GetCoordinateIdx) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBAtom_GetCoordinateIdx(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_GetCoordinateIdx" "', argument " "1"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    result = (unsigned int)((OpenBabel::OBAtom const *)arg1)->GetCoordinateIdx();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_GetCIdx) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_GetCIdx(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_GetCIdx" "', argument " "1"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (unsigned int)((OpenBabel::OBAtom const *)arg1)->GetCIdx();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_GetValence) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBAtom_GetValence(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_GetValence" "', argument " "1"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    result = (unsigned int)((OpenBabel::OBAtom const *)arg1)->GetValence();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_GetHyb) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_GetHyb(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_GetHyb" "', argument " "1"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (unsigned int)((OpenBabel::OBAtom const *)arg1)->GetHyb();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_GetImplicitValence) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBAtom_GetImplicitValence(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_GetImplicitValence" "', argument " "1"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    result = (unsigned int)((OpenBabel::OBAtom const *)arg1)->GetImplicitValence();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_GetHvyValence) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBAtom_GetHvyValence(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_GetHvyValence" "', argument " "1"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    result = (unsigned int)((OpenBabel::OBAtom const *)arg1)->GetHvyValence();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_GetHeteroValence) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBAtom_GetHeteroValence(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_GetHeteroValence" "', argument " "1"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    result = (unsigned int)((OpenBabel::OBAtom const *)arg1)->GetHeteroValence();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_GetType) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_GetType(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_GetType" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (char *)(arg1)->GetType();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_GetX) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    double result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_GetX(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_GetX" "', argument " "1"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (double)((OpenBabel::OBAtom const *)arg1)->GetX();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_GetY) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    double result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_GetY(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_GetY" "', argument " "1"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (double)((OpenBabel::OBAtom const *)arg1)->GetY();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_GetZ) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    double result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_GetZ(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_GetZ" "', argument " "1"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (double)((OpenBabel::OBAtom const *)arg1)->GetZ();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_x) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    double result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_x(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_x" "', argument " "1"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (double)((OpenBabel::OBAtom const *)arg1)->x();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_y) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    double result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_y(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_y" "', argument " "1"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (double)((OpenBabel::OBAtom const *)arg1)->y();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_z) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    double result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_z(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_z" "', argument " "1"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (double)((OpenBabel::OBAtom const *)arg1)->z();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_GetCoordinate) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBAtom_GetCoordinate(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_GetCoordinate" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (double *)(arg1)->GetCoordinate();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_GetVector__SWIG_0) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::vector3 *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBAtom_GetVector(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_GetVector" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (OpenBabel::vector3 *) &(arg1)->GetVector();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__vector3, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_GetVector__SWIG_1) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::vector3 *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBAtom_GetVector(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_GetVector" "', argument " "1"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    result = (OpenBabel::vector3 *) &((OpenBabel::OBAtom const *)arg1)->GetVector();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__vector3, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_GetVector) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBAtom_GetVector__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBAtom_GetVector__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBAtom_GetVector'"); XSRETURN(0); }
XS(_wrap_OBAtom_GetPartialCharge) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBAtom_GetPartialCharge(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_GetPartialCharge" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (double)(arg1)->GetPartialCharge();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_GetResidue__SWIG_0) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBResidue *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBAtom_GetResidue(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_GetResidue" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (OpenBabel::OBResidue *)(arg1)->GetResidue();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBResidue, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_GetResidue__SWIG_1) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; bool arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::OBResidue *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBAtom_GetResidue(self,perception);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_GetResidue" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBAtom_GetResidue" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (OpenBabel::OBResidue *)(arg1)->GetResidue(arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBResidue, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_GetResidue) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBAtom_GetResidue__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBAtom_GetResidue__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBAtom_GetResidue'"); XSRETURN(0); }
XS(_wrap_OBAtom_GetParent) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBMol *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBAtom_GetParent(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_GetParent" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (OpenBabel::OBMol *)(arg1)->GetParent();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMol, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_GetNewBondVector) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; OpenBabel::vector3 *arg2 = 0 ;
    double arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; double val3 ; int ecode3 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBAtom_GetNewBondVector(self,v,length);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_GetNewBondVector" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBAtom_GetNewBondVector" "', argument " "2"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBAtom_GetNewBondVector" "', argument " "2"" of type '" "OpenBabel::vector3 &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBAtom_GetNewBondVector" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); result = (bool)(arg1)->GetNewBondVector(*arg2,arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_GetBond) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; OpenBabel::OBBond *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBAtom_GetBond(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_GetBond" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBAtom_GetBond" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (OpenBabel::OBBond *)(arg1)->GetBond(arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBond, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_GetNextAtom) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBAtom_GetNextAtom(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_GetNextAtom" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (OpenBabel::OBAtom *)(arg1)->GetNextAtom();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_BeginBonds) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBBond * >::iterator > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_BeginBonds(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_BeginBonds" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (arg1)->BeginBonds();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBBondIterator(static_cast< const OpenBabel::OBBondIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_EndBonds) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBBond * >::iterator > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_EndBonds(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_EndBonds" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (arg1)->EndBonds();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBBondIterator(static_cast< const OpenBabel::OBBondIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_BeginBond) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; OpenBabel::OBBondIterator *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; OpenBabel::OBBond *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBAtom_BeginBond(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_BeginBond" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBAtom_BeginBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBAtom_BeginBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBondIterator * >(argp2); result = (OpenBabel::OBBond *)(arg1)->BeginBond(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBond, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_NextBond) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; OpenBabel::OBBondIterator *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; OpenBabel::OBBond *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBAtom_NextBond(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_NextBond" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBAtom_NextBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBAtom_NextBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBondIterator * >(argp2); result = (OpenBabel::OBBond *)(arg1)->NextBond(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBond, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_BeginNbrAtom) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; OpenBabel::OBBondIterator *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBAtom_BeginNbrAtom(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_BeginNbrAtom" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBAtom_BeginNbrAtom" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBAtom_BeginNbrAtom" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBondIterator * >(argp2); result = (OpenBabel::OBAtom *)(arg1)->BeginNbrAtom(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_NextNbrAtom) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; OpenBabel::OBBondIterator *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBAtom_NextNbrAtom(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_NextNbrAtom" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBAtom_NextNbrAtom" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBAtom_NextNbrAtom" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBondIterator * >(argp2); result = (OpenBabel::OBAtom *)(arg1)->NextNbrAtom(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_GetDistance__SWIG_0) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBAtom_GetDistance(self,index);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_GetDistance" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBAtom_GetDistance" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (double)(arg1)->GetDistance(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_GetDistance__SWIG_1) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBAtom_GetDistance(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_GetDistance" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBAtom_GetDistance" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (double)(arg1)->GetDistance(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_GetDistance) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBAtom_GetDistance__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBAtom_GetDistance__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBAtom_GetDistance'"); XSRETURN(0); }
XS(_wrap_OBAtom_GetAngle__SWIG_0) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; int arg2 ; int arg3 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int argvi = 0; double result;
    dXSARGS; if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBAtom_GetAngle(self,b,c);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_GetAngle" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBAtom_GetAngle" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBAtom_GetAngle" "', argument " "3"" of type '" "int""'"); }  
    arg3 = static_cast< int >(val3); result = (double)(arg1)->GetAngle(arg2,arg3);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_GetAngle__SWIG_1) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; OpenBabel::OBAtom *arg3 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBAtom_GetAngle(self,b,c);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_GetAngle" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBAtom_GetAngle" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBAtom_GetAngle" "', argument " "3"" of type '" "OpenBabel::OBAtom *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBAtom * >(argp3); result = (double)(arg1)->GetAngle(arg2,arg3);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_GetAngle) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    dispatch: switch(_index) { case 1: ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBAtom_GetAngle__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBAtom_GetAngle__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBAtom_GetAngle'"); XSRETURN(0); }
XS(_wrap_OBAtom_NewResidue) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_NewResidue(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_NewResidue" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); (arg1)->NewResidue(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_AddResidue) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ;
    OpenBabel::OBResidue *arg2 = (OpenBabel::OBResidue *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBAtom_AddResidue(self,res);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_AddResidue" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBAtom_AddResidue" "', argument " "2"" of type '" "OpenBabel::OBResidue *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBResidue * >(argp2); (arg1)->AddResidue(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_DeleteResidue) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_DeleteResidue(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_DeleteResidue" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); (arg1)->DeleteResidue(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_AddBond) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ;
    OpenBabel::OBBond *arg2 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBAtom_AddBond(self,bond);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_AddBond" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBAtom_AddBond" "', argument " "2"" of type '" "OpenBabel::OBBond *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBond * >(argp2); (arg1)->AddBond(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_InsertBond) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; OpenBabel::OBBondIterator *arg2 = 0 ;
    OpenBabel::OBBond *arg3 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBAtom_InsertBond(self,i,bond);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_InsertBond" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBAtom_InsertBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBAtom_InsertBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBondIterator * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBAtom_InsertBond" "', argument " "3"" of type '" "OpenBabel::OBBond *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBBond * >(argp3); (arg1)->InsertBond(*arg2,arg3); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_DeleteBond) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ;
    OpenBabel::OBBond *arg2 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBAtom_DeleteBond(self,bond);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_DeleteBond" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBAtom_DeleteBond" "', argument " "2"" of type '" "OpenBabel::OBBond *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBond * >(argp2); result = (bool)(arg1)->DeleteBond(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_ClearBond) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_ClearBond(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_ClearBond" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); (arg1)->ClearBond(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_HtoMethyl) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_HtoMethyl(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_HtoMethyl" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)(arg1)->HtoMethyl();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_SetHybAndGeom) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBAtom_SetHybAndGeom(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_SetHybAndGeom" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBAtom_SetHybAndGeom" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (bool)(arg1)->SetHybAndGeom(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_ForceNoH) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_ForceNoH(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_ForceNoH" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); (arg1)->ForceNoH(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_HasNoHForced) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_HasNoHForced(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_HasNoHForced" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)(arg1)->HasNoHForced();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_ForceImplH) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_ForceImplH(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_ForceImplH" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); (arg1)->ForceImplH(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_HasImplHForced) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_HasImplHForced(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_HasImplHForced" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)(arg1)->HasImplHForced();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_CountFreeOxygens) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBAtom_CountFreeOxygens(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_CountFreeOxygens" "', argument " "1"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    result = (unsigned int)((OpenBabel::OBAtom const *)arg1)->CountFreeOxygens();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_ImplicitHydrogenCount) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBAtom_ImplicitHydrogenCount(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_ImplicitHydrogenCount" "', argument " "1"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    result = (unsigned int)((OpenBabel::OBAtom const *)arg1)->ImplicitHydrogenCount();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_ExplicitHydrogenCount__SWIG_0) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; bool arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; unsigned int result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBAtom_ExplicitHydrogenCount(self,ExcludeIsotopes);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_ExplicitHydrogenCount" "', argument " "1"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBAtom_ExplicitHydrogenCount" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (unsigned int)((OpenBabel::OBAtom const *)arg1)->ExplicitHydrogenCount(arg2);
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_ExplicitHydrogenCount__SWIG_1) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBAtom_ExplicitHydrogenCount(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_ExplicitHydrogenCount" "', argument " "1"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    result = (unsigned int)((OpenBabel::OBAtom const *)arg1)->ExplicitHydrogenCount();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_ExplicitHydrogenCount) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBAtom_ExplicitHydrogenCount__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBAtom_ExplicitHydrogenCount__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBAtom_ExplicitHydrogenCount'"); XSRETURN(0); }
XS(_wrap_OBAtom_MemberOfRingCount) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBAtom_MemberOfRingCount(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_MemberOfRingCount" "', argument " "1"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    result = (unsigned int)((OpenBabel::OBAtom const *)arg1)->MemberOfRingCount();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_MemberOfRingSize) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBAtom_MemberOfRingSize(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_MemberOfRingSize" "', argument " "1"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    result = (unsigned int)((OpenBabel::OBAtom const *)arg1)->MemberOfRingSize();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_CountRingBonds) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBAtom_CountRingBonds(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_CountRingBonds" "', argument " "1"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    result = (unsigned int)((OpenBabel::OBAtom const *)arg1)->CountRingBonds();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_SmallestBondAngle) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBAtom_SmallestBondAngle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_SmallestBondAngle" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (double)(arg1)->SmallestBondAngle();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_AverageBondAngle) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBAtom_AverageBondAngle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_AverageBondAngle" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (double)(arg1)->AverageBondAngle();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_BOSum) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_BOSum(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_BOSum" "', argument " "1"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (unsigned int)((OpenBabel::OBAtom const *)arg1)->BOSum();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_KBOSum) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_KBOSum(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_KBOSum" "', argument " "1"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (unsigned int)((OpenBabel::OBAtom const *)arg1)->KBOSum();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtom_HasResidue) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_HasResidue(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_HasResidue" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)(arg1)->HasResidue();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_IsHydrogen__SWIG_0) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_IsHydrogen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_IsHydrogen" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)(arg1)->IsHydrogen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_IsHydrogen__SWIG_1) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_IsHydrogen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_IsHydrogen" "', argument " "1"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)((OpenBabel::OBAtom const *)arg1)->IsHydrogen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_IsHydrogen) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBAtom_IsHydrogen__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBAtom_IsHydrogen__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBAtom_IsHydrogen'"); XSRETURN(0); }
XS(_wrap_OBAtom_IsCarbon) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_IsCarbon(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_IsCarbon" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)(arg1)->IsCarbon();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_IsNitrogen) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_IsNitrogen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_IsNitrogen" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)(arg1)->IsNitrogen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_IsOxygen) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_IsOxygen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_IsOxygen" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)(arg1)->IsOxygen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_IsSulfur) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_IsSulfur(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_IsSulfur" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)(arg1)->IsSulfur();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_IsPhosphorus) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_IsPhosphorus(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_IsPhosphorus" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)(arg1)->IsPhosphorus();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_IsAromatic) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_IsAromatic(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_IsAromatic" "', argument " "1"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)((OpenBabel::OBAtom const *)arg1)->IsAromatic();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_IsInRing) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_IsInRing(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_IsInRing" "', argument " "1"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)((OpenBabel::OBAtom const *)arg1)->IsInRing();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_IsInRingSize) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBAtom_IsInRingSize(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_IsInRingSize" "', argument " "1"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBAtom_IsInRingSize" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (bool)((OpenBabel::OBAtom const *)arg1)->IsInRingSize(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_IsHeteroatom) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_IsHeteroatom(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_IsHeteroatom" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)(arg1)->IsHeteroatom();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_IsNotCorH) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_IsNotCorH(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_IsNotCorH" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)(arg1)->IsNotCorH();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_IsConnected) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBAtom_IsConnected(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_IsConnected" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBAtom_IsConnected" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (bool)(arg1)->IsConnected(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_IsOneThree) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBAtom_IsOneThree(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_IsOneThree" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBAtom_IsOneThree" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (bool)(arg1)->IsOneThree(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_IsOneFour) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBAtom_IsOneFour(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_IsOneFour" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBAtom_IsOneFour" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (bool)(arg1)->IsOneFour(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_IsCarboxylOxygen) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_IsCarboxylOxygen(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_IsCarboxylOxygen" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)(arg1)->IsCarboxylOxygen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_IsPhosphateOxygen) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBAtom_IsPhosphateOxygen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_IsPhosphateOxygen" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)(arg1)->IsPhosphateOxygen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_IsSulfateOxygen) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_IsSulfateOxygen(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_IsSulfateOxygen" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)(arg1)->IsSulfateOxygen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_IsNitroOxygen) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_IsNitroOxygen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_IsNitroOxygen" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)(arg1)->IsNitroOxygen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_IsAmideNitrogen) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_IsAmideNitrogen(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_IsAmideNitrogen" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)(arg1)->IsAmideNitrogen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_IsPolarHydrogen) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_IsPolarHydrogen(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_IsPolarHydrogen" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)(arg1)->IsPolarHydrogen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_IsNonPolarHydrogen) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBAtom_IsNonPolarHydrogen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_IsNonPolarHydrogen" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)(arg1)->IsNonPolarHydrogen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_IsAromaticNOxide) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_IsAromaticNOxide(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_IsAromaticNOxide" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)(arg1)->IsAromaticNOxide();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_IsChiral) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_IsChiral(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_IsChiral" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)(arg1)->IsChiral();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_IsAxial) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_IsAxial(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_IsAxial" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)(arg1)->IsAxial();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_IsClockwise) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_IsClockwise(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_IsClockwise" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)(arg1)->IsClockwise();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_IsAntiClockwise) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_IsAntiClockwise(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_IsAntiClockwise" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)(arg1)->IsAntiClockwise();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_IsPositiveStereo) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_IsPositiveStereo(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_IsPositiveStereo" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)(arg1)->IsPositiveStereo();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_IsNegativeStereo) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_IsNegativeStereo(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_IsNegativeStereo" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)(arg1)->IsNegativeStereo();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_HasChiralitySpecified) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBAtom_HasChiralitySpecified(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_HasChiralitySpecified" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)(arg1)->HasChiralitySpecified();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_HasChiralVolume) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_HasChiralVolume(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_HasChiralVolume" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)(arg1)->HasChiralVolume();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_IsHbondAcceptor) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_IsHbondAcceptor(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_IsHbondAcceptor" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)(arg1)->IsHbondAcceptor();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_IsHbondDonor) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_IsHbondDonor(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_IsHbondDonor" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)(arg1)->IsHbondDonor();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_IsHbondDonorH) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_IsHbondDonorH(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_IsHbondDonorH" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)(arg1)->IsHbondDonorH();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_HasAlphaBetaUnsat__SWIG_0) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; bool arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBAtom_HasAlphaBetaUnsat(self,includePandS);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_HasAlphaBetaUnsat" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBAtom_HasAlphaBetaUnsat" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (bool)(arg1)->HasAlphaBetaUnsat(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_HasAlphaBetaUnsat__SWIG_1) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBAtom_HasAlphaBetaUnsat(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_HasAlphaBetaUnsat" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)(arg1)->HasAlphaBetaUnsat();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_HasAlphaBetaUnsat) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBAtom_HasAlphaBetaUnsat__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBAtom_HasAlphaBetaUnsat__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBAtom_HasAlphaBetaUnsat'"); XSRETURN(0); }
XS(_wrap_OBAtom_HasBondOfOrder) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; unsigned int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBAtom_HasBondOfOrder(self,bo);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_HasBondOfOrder" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBAtom_HasBondOfOrder" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (bool)(arg1)->HasBondOfOrder(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_CountBondsOfOrder) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; unsigned int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBAtom_CountBondsOfOrder(self,bo);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_CountBondsOfOrder" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBAtom_CountBondsOfOrder" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (int)(arg1)->CountBondsOfOrder(arg2);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_HasNonSingleBond) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_HasNonSingleBond(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_HasNonSingleBond" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)(arg1)->HasNonSingleBond();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_HasSingleBond) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_HasSingleBond(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_HasSingleBond" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)(arg1)->HasSingleBond();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_HasDoubleBond) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_HasDoubleBond(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_HasDoubleBond" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)(arg1)->HasDoubleBond();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_HasAromaticBond) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtom_HasAromaticBond(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_HasAromaticBond" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = (bool)(arg1)->HasAromaticBond();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtom_MatchesSMARTS) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; char *arg2 = (char *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBAtom_MatchesSMARTS(self,char const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtom_MatchesSMARTS" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBAtom_MatchesSMARTS" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); result = (bool)(arg1)->MatchesSMARTS((char const *)arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap_OBBond_Visit_set) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ;
    bool val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBBond_Visit_set(self,Visit);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_Visit_set" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBBond_Visit_set" "', argument " "2"" of type '" "bool""'"); }  
    arg2 = static_cast< bool >(val2); if (arg1) (arg1)->Visit = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBond_Visit_get) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_Visit_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_Visit_get" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); result = (bool) ((arg1)->Visit);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_new_OBBond) { { int argvi = 0; OpenBabel::OBBond *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_OBBond();"); }  result = (OpenBabel::OBBond *)new OpenBabel::OBBond();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBond, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBBond) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBBond(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBBond" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBond_SetIdx) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ;
    int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBBond_SetIdx(self,idx);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_SetIdx" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBBond_SetIdx" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); (arg1)->SetIdx(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBond_SetId) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; unsigned long arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; unsigned long val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBBond_SetId(self,id);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_SetId" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBBond_SetId" "', argument " "2"" of type '" "unsigned long""'"); }
      arg2 = static_cast< unsigned long >(val2); (arg1)->SetId(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBond_SetBO) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ;
    int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBBond_SetBO(self,order);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_SetBO" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBBond_SetBO" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); (arg1)->SetBO(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }
   }
XS(_wrap_OBBond_SetBondOrder) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBBond_SetBondOrder(self,order);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_SetBondOrder" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBBond_SetBondOrder" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (arg1)->SetBondOrder(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBond_SetBegin) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBBond_SetBegin(self,begin);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_SetBegin" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBBond_SetBegin" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); (arg1)->SetBegin(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBBond_SetEnd) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBBond_SetEnd(self,end);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_SetEnd" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBBond_SetEnd" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); (arg1)->SetEnd(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBBond_SetParent) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ;
    OpenBabel::OBMol *arg2 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBBond_SetParent(self,ptr);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_SetParent" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBBond_SetParent" "', argument " "2"" of type '" "OpenBabel::OBMol *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); (arg1)->SetParent(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBBond_SetLength__SWIG_0) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; double arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; double val3 ; int ecode3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBBond_SetLength(self,fixed,length);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_SetLength" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBBond_SetLength" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBBond_SetLength" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); (arg1)->SetLength(arg2,arg3); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBond_SetLength__SWIG_1) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; double arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; double val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBBond_SetLength(self,length);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_SetLength" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBBond_SetLength" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); (arg1)->SetLength(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBond_SetLength) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBBond, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBBond, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBBond_SetLength__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBBond_SetLength__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBBond_SetLength'"); XSRETURN(0); }
XS(_wrap_OBBond_Set) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; int arg2 ;
    OpenBabel::OBAtom *arg3 = (OpenBabel::OBAtom *) 0 ; OpenBabel::OBAtom *arg4 = (OpenBabel::OBAtom *) 0 ; int arg5 ;
    int arg6 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ;
    int res4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 6) || (items > 6)) { SWIG_croak("Usage: OBBond_Set(self,index,begin,end,order,flags);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_Set" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBBond_Set" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBBond_Set" "', argument " "3"" of type '" "OpenBabel::OBAtom *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBAtom * >(argp3);
    res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBBond_Set" "', argument " "4"" of type '" "OpenBabel::OBAtom *""'");  }
     arg4 = reinterpret_cast< OpenBabel::OBAtom * >(argp4); ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "OBBond_Set" "', argument " "5"" of type '" "int""'"); }  
    arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(5), &val6); if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "OBBond_Set" "', argument " "6"" of type '" "int""'"); }  
    arg6 = static_cast< int >(val6); (arg1)->Set(arg2,arg3,arg4,arg5,arg6); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBond_SetKSingle) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_SetKSingle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_SetKSingle" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); (arg1)->SetKSingle(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBBond_SetKDouble) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_SetKDouble(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_SetKDouble" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); (arg1)->SetKDouble(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBBond_SetKTriple) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_SetKTriple(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_SetKTriple" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); (arg1)->SetKTriple(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBBond_SetAromatic) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_SetAromatic(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_SetAromatic" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); (arg1)->SetAromatic(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBBond_SetWedge) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_SetWedge(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_SetWedge" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); (arg1)->SetWedge(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBBond_SetHash) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_SetHash(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_SetHash" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); (arg1)->SetHash(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBBond_SetWedgeOrHash) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_SetWedgeOrHash(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_SetWedgeOrHash" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); (arg1)->SetWedgeOrHash(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBond_SetUp) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_SetUp(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_SetUp" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); (arg1)->SetUp(); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBond_SetDown) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_SetDown(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_SetDown" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); (arg1)->SetDown(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBBond_SetInRing__SWIG_0) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; bool arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBBond_SetInRing(self,set);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_SetInRing" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBBond_SetInRing" "', argument " "2"" of type '" "bool""'"); }  
    arg2 = static_cast< bool >(val2); (arg1)->SetInRing(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBond_SetInRing__SWIG_1) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_SetInRing(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_SetInRing" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); (arg1)->SetInRing(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBBond_SetInRing) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBBond, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBBond, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBBond_SetInRing__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBBond_SetInRing__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBBond_SetInRing'"); XSRETURN(0); }
XS(_wrap_OBBond_SetClosure) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_SetClosure(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_SetClosure" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); (arg1)->SetClosure(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBBond_UnsetHash) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_UnsetHash(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_UnsetHash" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); (arg1)->UnsetHash(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBBond_UnsetWedge) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_UnsetWedge(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_UnsetWedge" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); (arg1)->UnsetWedge(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBBond_UnsetUp) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_UnsetUp(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_UnsetUp" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); (arg1)->UnsetUp(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBBond_UnsetDown) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_UnsetDown(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_UnsetDown" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); (arg1)->UnsetDown(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBBond_UnsetAromatic) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_UnsetAromatic(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_UnsetAromatic" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); (arg1)->UnsetAromatic(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBond_UnsetKekule) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_UnsetKekule(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_UnsetKekule" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); (arg1)->UnsetKekule(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBBond_GetIdx) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_GetIdx(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_GetIdx" "', argument " "1"" of type '" "OpenBabel::OBBond const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); result = (unsigned int)((OpenBabel::OBBond const *)arg1)->GetIdx();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBond_GetId) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    unsigned long result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_GetId(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_GetId" "', argument " "1"" of type '" "OpenBabel::OBBond const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); result = (unsigned long)((OpenBabel::OBBond const *)arg1)->GetId();
    ST(argvi) = SWIG_From_unsigned_SS_long  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned long >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBond_GetBO) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_GetBO(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_GetBO" "', argument " "1"" of type '" "OpenBabel::OBBond const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); result = (unsigned int)((OpenBabel::OBBond const *)arg1)->GetBO();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBond_GetBondOrder) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBBond_GetBondOrder(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_GetBondOrder" "', argument " "1"" of type '" "OpenBabel::OBBond const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1);
    result = (unsigned int)((OpenBabel::OBBond const *)arg1)->GetBondOrder();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBond_GetFlags) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_GetFlags(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_GetFlags" "', argument " "1"" of type '" "OpenBabel::OBBond const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1);
    result = (unsigned int)((OpenBabel::OBBond const *)arg1)->GetFlags();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBond_GetBeginAtomIdx) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBBond_GetBeginAtomIdx(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_GetBeginAtomIdx" "', argument " "1"" of type '" "OpenBabel::OBBond const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1);
    result = (unsigned int)((OpenBabel::OBBond const *)arg1)->GetBeginAtomIdx();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBond_GetEndAtomIdx) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBBond_GetEndAtomIdx(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_GetEndAtomIdx" "', argument " "1"" of type '" "OpenBabel::OBBond const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1);
    result = (unsigned int)((OpenBabel::OBBond const *)arg1)->GetEndAtomIdx();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBond_GetBeginAtom__SWIG_0) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBBond_GetBeginAtom(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_GetBeginAtom" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); result = (OpenBabel::OBAtom *)(arg1)->GetBeginAtom();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBond_GetBeginAtom__SWIG_1) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBBond_GetBeginAtom(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_GetBeginAtom" "', argument " "1"" of type '" "OpenBabel::OBBond const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1);
    result = (OpenBabel::OBAtom *)((OpenBabel::OBBond const *)arg1)->GetBeginAtom();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBond_GetBeginAtom) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBBond, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBBond, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBBond_GetBeginAtom__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBBond_GetBeginAtom__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBBond_GetBeginAtom'"); XSRETURN(0); }
XS(_wrap_OBBond_GetEndAtom__SWIG_0) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBBond_GetEndAtom(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_GetEndAtom" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); result = (OpenBabel::OBAtom *)(arg1)->GetEndAtom();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBond_GetEndAtom__SWIG_1) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBBond_GetEndAtom(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_GetEndAtom" "', argument " "1"" of type '" "OpenBabel::OBBond const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1);
    result = (OpenBabel::OBAtom *)((OpenBabel::OBBond const *)arg1)->GetEndAtom();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBond_GetEndAtom) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBBond, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBBond, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBBond_GetEndAtom__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBBond_GetEndAtom__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBBond_GetEndAtom'"); XSRETURN(0); }
XS(_wrap_OBBond_GetNbrAtom) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBBond_GetNbrAtom(self,ptr);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_GetNbrAtom" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBBond_GetNbrAtom" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (OpenBabel::OBAtom *)(arg1)->GetNbrAtom(arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBond_GetParent) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBMol *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBBond_GetParent(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_GetParent" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); result = (OpenBabel::OBMol *)(arg1)->GetParent();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMol, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBond_GetEquibLength) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_GetEquibLength(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_GetEquibLength" "', argument " "1"" of type '" "OpenBabel::OBBond const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1);
    result = (double)((OpenBabel::OBBond const *)arg1)->GetEquibLength();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBond_GetLength) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_GetLength(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_GetLength" "', argument " "1"" of type '" "OpenBabel::OBBond const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); result = (double)((OpenBabel::OBBond const *)arg1)->GetLength();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBond_GetNbrAtomIdx) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBBond_GetNbrAtomIdx(self,ptr);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_GetNbrAtomIdx" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBBond_GetNbrAtomIdx" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (unsigned int)(arg1)->GetNbrAtomIdx(arg2);
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBond_FindSmallestRing) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBRing *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBBond_FindSmallestRing(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_FindSmallestRing" "', argument " "1"" of type '" "OpenBabel::OBBond const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1);
    result = (OpenBabel::OBRing *)((OpenBabel::OBBond const *)arg1)->FindSmallestRing();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBRing, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBond_IsAromatic) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_IsAromatic(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_IsAromatic" "', argument " "1"" of type '" "OpenBabel::OBBond const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); result = (bool)((OpenBabel::OBBond const *)arg1)->IsAromatic();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBond_IsInRing) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_IsInRing(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_IsInRing" "', argument " "1"" of type '" "OpenBabel::OBBond const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); result = (bool)((OpenBabel::OBBond const *)arg1)->IsInRing();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBond_IsRotor) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_IsRotor(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_IsRotor" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); result = (bool)(arg1)->IsRotor();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBond_IsAmide) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_IsAmide(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_IsAmide" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); result = (bool)(arg1)->IsAmide();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBond_IsPrimaryAmide) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_IsPrimaryAmide(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_IsPrimaryAmide" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); result = (bool)(arg1)->IsPrimaryAmide();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBond_IsSecondaryAmide) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_IsSecondaryAmide(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_IsSecondaryAmide" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); result = (bool)(arg1)->IsSecondaryAmide();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBond_IsTertiaryAmide) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_IsTertiaryAmide(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_IsTertiaryAmide" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); result = (bool)(arg1)->IsTertiaryAmide();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBond_IsEster) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_IsEster(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_IsEster" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); result = (bool)(arg1)->IsEster();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBond_IsCarbonyl) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_IsCarbonyl(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_IsCarbonyl" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); result = (bool)(arg1)->IsCarbonyl();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBond_IsSingle) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_IsSingle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_IsSingle" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); result = (bool)(arg1)->IsSingle();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBond_IsDouble) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_IsDouble(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_IsDouble" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); result = (bool)(arg1)->IsDouble();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBond_IsTriple) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_IsTriple(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_IsTriple" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); result = (bool)(arg1)->IsTriple();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBond_IsKSingle) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_IsKSingle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_IsKSingle" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); result = (bool)(arg1)->IsKSingle();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBond_IsKDouble) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_IsKDouble(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_IsKDouble" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); result = (bool)(arg1)->IsKDouble();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBond_IsKTriple) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_IsKTriple(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_IsKTriple" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); result = (bool)(arg1)->IsKTriple();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBond_IsClosure) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_IsClosure(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_IsClosure" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); result = (bool)(arg1)->IsClosure();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBond_IsUp) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_IsUp(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_IsUp" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); result = (bool)(arg1)->IsUp();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBond_IsDown) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_IsDown(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_IsDown" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); result = (bool)(arg1)->IsDown();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBond_IsWedge) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_IsWedge(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_IsWedge" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); result = (bool)(arg1)->IsWedge();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBond_IsHash) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_IsHash(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_IsHash" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); result = (bool)(arg1)->IsHash();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBond_IsWedgeOrHash) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_IsWedgeOrHash(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_IsWedgeOrHash" "', argument " "1"" of type '" "OpenBabel::OBBond const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); result = (bool)((OpenBabel::OBBond const *)arg1)->IsWedgeOrHash();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBond_IsCisOrTrans) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBond_IsCisOrTrans(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_IsCisOrTrans" "', argument " "1"" of type '" "OpenBabel::OBBond const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); result = (bool)((OpenBabel::OBBond const *)arg1)->IsCisOrTrans();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBond_IsDoubleBondGeometry) { { OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBBond_IsDoubleBondGeometry(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_IsDoubleBondGeometry" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1); result = (bool)(arg1)->IsDoubleBondGeometry();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_new_OBMol__SWIG_0) { { int argvi = 0; OpenBabel::OBMol *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_OBMol();"); }  result = (OpenBabel::OBMol *)new OpenBabel::OBMol();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMol, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBMol__SWIG_1) { { OpenBabel::OBMol *arg1 = 0 ; void *argp1 ; int res1 = 0 ; int argvi = 0;
    OpenBabel::OBMol *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new_OBMol(OpenBabel::OBMol const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBMol" "', argument " "1"" of type '" "OpenBabel::OBMol const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBMol" "', argument " "1"" of type '" "OpenBabel::OBMol const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    result = (OpenBabel::OBMol *)new OpenBabel::OBMol((OpenBabel::OBMol const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMol, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBMol) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) { SWIG_TypeRank _ranki = 0;
      SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBMol__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBMol__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'new_OBMol'"); XSRETURN(0); }
XS(_wrap_delete_OBMol) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBMol(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBMol" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_add) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; OpenBabel::OBMol *arg2 = 0 ; void *argp1 = 0 ;
    int res1 = 0 ; void *argp2 ; int res2 = 0 ; int argvi = 0; OpenBabel::OBMol *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBMol_add(self,mol);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_add" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_add" "', argument " "2"" of type '" "OpenBabel::OBMol const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMol_add" "', argument " "2"" of type '" "OpenBabel::OBMol const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2);
    result = (OpenBabel::OBMol *) &(arg1)->operator +=((OpenBabel::OBMol const &)*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMol, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_ReserveAtoms) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ;
    int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_ReserveAtoms(self,natoms);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_ReserveAtoms" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_ReserveAtoms" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (arg1)->ReserveAtoms(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_CreateAtom) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_CreateAtom(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_CreateAtom" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (OpenBabel::OBAtom *)(arg1)->CreateAtom();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_CreateBond) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    OpenBabel::OBBond *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_CreateBond(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_CreateBond" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (OpenBabel::OBBond *)(arg1)->CreateBond();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBond, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_CreateResidue) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBResidue *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_CreateResidue(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_CreateResidue" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (OpenBabel::OBResidue *)(arg1)->CreateResidue();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBResidue, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_DestroyAtom) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_DestroyAtom(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_DestroyAtom" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_DestroyAtom" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); (arg1)->DestroyAtom(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_DestroyBond) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ;
    OpenBabel::OBBond *arg2 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_DestroyBond(self,OpenBabel::OBBond *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_DestroyBond" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_DestroyBond" "', argument " "2"" of type '" "OpenBabel::OBBond *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBond * >(argp2); (arg1)->DestroyBond(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_DestroyResidue) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ;
    OpenBabel::OBResidue *arg2 = (OpenBabel::OBResidue *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_DestroyResidue(self,OpenBabel::OBResidue *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_DestroyResidue" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_DestroyResidue" "', argument " "2"" of type '" "OpenBabel::OBResidue *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBResidue * >(argp2); (arg1)->DestroyResidue(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_AddAtom) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; OpenBabel::OBAtom *arg2 = 0 ; void *argp1 = 0 ;
    int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_AddAtom(self,OpenBabel::OBAtom &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_AddAtom" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBAtom,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_AddAtom" "', argument " "2"" of type '" "OpenBabel::OBAtom &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMol_AddAtom" "', argument " "2"" of type '" "OpenBabel::OBAtom &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (bool)(arg1)->AddAtom(*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_InsertAtom) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; OpenBabel::OBAtom *arg2 = 0 ; void *argp1 = 0 ;
    int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_InsertAtom(self,OpenBabel::OBAtom &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_InsertAtom" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBAtom,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_InsertAtom" "', argument " "2"" of type '" "OpenBabel::OBAtom &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMol_InsertAtom" "', argument " "2"" of type '" "OpenBabel::OBAtom &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (bool)(arg1)->InsertAtom(*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_AddBond__SWIG_0) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; int arg2 ; int arg3 ; int arg4 ;
    int arg5 ; int arg6 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ;
    int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 6) || (items > 6)) { SWIG_croak("Usage: OBMol_AddBond(self,beginIdx,endIdx,order,flags,insertpos);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_AddBond" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_AddBond" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBMol_AddBond" "', argument " "3"" of type '" "int""'"); }  
    arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4); if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBMol_AddBond" "', argument " "4"" of type '" "int""'"); }  
    arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5); if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "OBMol_AddBond" "', argument " "5"" of type '" "int""'"); }  
    arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(5), &val6); if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "OBMol_AddBond" "', argument " "6"" of type '" "int""'"); }  
    arg6 = static_cast< int >(val6); result = (bool)(arg1)->AddBond(arg2,arg3,arg4,arg5,arg6);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_AddBond__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; int arg2 ; int arg3 ; int arg4 ;
    int arg5 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ;
    int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 5) || (items > 5)) {
      SWIG_croak("Usage: OBMol_AddBond(self,beginIdx,endIdx,order,flags);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_AddBond" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_AddBond" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBMol_AddBond" "', argument " "3"" of type '" "int""'"); }  
    arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4); if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBMol_AddBond" "', argument " "4"" of type '" "int""'"); }  
    arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5); if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "OBMol_AddBond" "', argument " "5"" of type '" "int""'"); }  
    arg5 = static_cast< int >(val5); result = (bool)(arg1)->AddBond(arg2,arg3,arg4,arg5);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_AddBond__SWIG_2) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; int arg2 ; int arg3 ; int arg4 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: OBMol_AddBond(self,beginIdx,endIdx,order);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_AddBond" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_AddBond" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBMol_AddBond" "', argument " "3"" of type '" "int""'"); }  
    arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4); if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBMol_AddBond" "', argument " "4"" of type '" "int""'"); }  
    arg4 = static_cast< int >(val4); result = (bool)(arg1)->AddBond(arg2,arg3,arg4);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_AddBond__SWIG_3) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; OpenBabel::OBBond *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBMol_AddBond(self,OpenBabel::OBBond &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_AddBond" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBBond,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_AddBond" "', argument " "2"" of type '" "OpenBabel::OBBond &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMol_AddBond" "', argument " "2"" of type '" "OpenBabel::OBBond &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBond * >(argp2); result = (bool)(arg1)->AddBond(*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_AddBond) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBBond, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 4) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 5) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3:
    if (items == 6) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_4;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_4;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(5), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_4;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 4;
        if (_rank == _rankm) goto dispatch; }  }  check_4: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_AddBond__SWIG_3); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_AddBond__SWIG_2); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_AddBond__SWIG_1); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_AddBond__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBMol_AddBond'"); XSRETURN(0); }
XS(_wrap_OBMol_AddResidue) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; OpenBabel::OBResidue *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBMol_AddResidue(self,OpenBabel::OBResidue &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_AddResidue" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBResidue,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_AddResidue" "', argument " "2"" of type '" "OpenBabel::OBResidue &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMol_AddResidue" "', argument " "2"" of type '" "OpenBabel::OBResidue &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBResidue * >(argp2); result = (bool)(arg1)->AddResidue(*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_NewAtom__SWIG_0) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_NewAtom(self);"); }  res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_NewAtom" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (OpenBabel::OBAtom *)(arg1)->NewAtom();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_NewAtom__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; unsigned long arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; unsigned long val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBMol_NewAtom(self,id);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_NewAtom" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_NewAtom" "', argument " "2"" of type '" "unsigned long""'"); }
      arg2 = static_cast< unsigned long >(val2); result = (OpenBabel::OBAtom *)(arg1)->NewAtom(arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_NewAtom) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_NewAtom__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_NewAtom__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBMol_NewAtom'"); XSRETURN(0); }
XS(_wrap_OBMol_NewBond__SWIG_0) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBBond *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_NewBond(self);"); }  res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_NewBond" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (OpenBabel::OBBond *)(arg1)->NewBond();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBond, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_NewBond__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; unsigned long arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; unsigned long val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::OBBond *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBMol_NewBond(self,id);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_NewBond" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_NewBond" "', argument " "2"" of type '" "unsigned long""'"); }
      arg2 = static_cast< unsigned long >(val2); result = (OpenBabel::OBBond *)(arg1)->NewBond(arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBond, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_NewBond) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_NewBond__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_NewBond__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBMol_NewBond'"); XSRETURN(0); }
XS(_wrap_OBMol_NewResidue) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    OpenBabel::OBResidue *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_NewResidue(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_NewResidue" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (OpenBabel::OBResidue *)(arg1)->NewResidue();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBResidue, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_DeleteAtom__SWIG_0) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; bool arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; bool val3 ; int ecode3 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBMol_DeleteAtom(self,OpenBabel::OBAtom *,destroyAtom);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_DeleteAtom" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_DeleteAtom" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); ecode3 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBMol_DeleteAtom" "', argument " "3"" of type '" "bool""'"); }  
    arg3 = static_cast< bool >(val3); result = (bool)(arg1)->DeleteAtom(arg2,arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_DeleteAtom__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_DeleteAtom(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_DeleteAtom" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_DeleteAtom" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (bool)(arg1)->DeleteAtom(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_DeleteAtom) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_DeleteAtom__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_DeleteAtom__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBMol_DeleteAtom'"); XSRETURN(0); }
XS(_wrap_OBMol_DeleteBond__SWIG_0) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ;
    OpenBabel::OBBond *arg2 = (OpenBabel::OBBond *) 0 ; bool arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; bool val3 ; int ecode3 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBMol_DeleteBond(self,OpenBabel::OBBond *,destroyBond);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_DeleteBond" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_DeleteBond" "', argument " "2"" of type '" "OpenBabel::OBBond *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBond * >(argp2); ecode3 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBMol_DeleteBond" "', argument " "3"" of type '" "bool""'"); }  
    arg3 = static_cast< bool >(val3); result = (bool)(arg1)->DeleteBond(arg2,arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_DeleteBond__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ;
    OpenBabel::OBBond *arg2 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_DeleteBond(self,OpenBabel::OBBond *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_DeleteBond" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_DeleteBond" "', argument " "2"" of type '" "OpenBabel::OBBond *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBond * >(argp2); result = (bool)(arg1)->DeleteBond(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_DeleteBond) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBBond, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBBond, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_DeleteBond__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_DeleteBond__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBMol_DeleteBond'"); XSRETURN(0); }
XS(_wrap_OBMol_DeleteResidue__SWIG_0) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ;
    OpenBabel::OBResidue *arg2 = (OpenBabel::OBResidue *) 0 ; bool arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; bool val3 ; int ecode3 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBMol_DeleteResidue(self,OpenBabel::OBResidue *,destroyResidue);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_DeleteResidue" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_DeleteResidue" "', argument " "2"" of type '" "OpenBabel::OBResidue *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBResidue * >(argp2); ecode3 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBMol_DeleteResidue" "', argument " "3"" of type '" "bool""'"); }
      arg3 = static_cast< bool >(val3); result = (bool)(arg1)->DeleteResidue(arg2,arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_DeleteResidue__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ;
    OpenBabel::OBResidue *arg2 = (OpenBabel::OBResidue *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_DeleteResidue(self,OpenBabel::OBResidue *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_DeleteResidue" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_DeleteResidue" "', argument " "2"" of type '" "OpenBabel::OBResidue *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBResidue * >(argp2); result = (bool)(arg1)->DeleteResidue(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_DeleteResidue) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBResidue, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBResidue, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_DeleteResidue__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_DeleteResidue__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBMol_DeleteResidue'"); XSRETURN(0); }
XS(_wrap_OBMol_BeginModify) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_BeginModify(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_BeginModify" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->BeginModify(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_EndModify__SWIG_0) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; bool arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_EndModify(self,nukePerceivedData);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_EndModify" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_EndModify" "', argument " "2"" of type '" "bool""'"); }  
    arg2 = static_cast< bool >(val2); (arg1)->EndModify(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_EndModify__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_EndModify(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_EndModify" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->EndModify(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_EndModify) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_EndModify__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_EndModify__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBMol_EndModify'"); XSRETURN(0); }
XS(_wrap_OBMol_GetMod) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    int result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_GetMod(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetMod" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (int)(arg1)->GetMod();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_IncrementMod) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_IncrementMod(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_IncrementMod" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->IncrementMod(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_DecrementMod) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_DecrementMod(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_DecrementMod" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->DecrementMod(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetFlags) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    int result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_GetFlags(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetFlags" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (int)(arg1)->GetFlags();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetTitle__SWIG_0) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; bool arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_GetTitle(self,replaceNewlines);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetTitle" "', argument " "1"" of type '" "OpenBabel::OBMol const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_GetTitle" "', argument " "2"" of type '" "bool""'"); }  
    arg2 = static_cast< bool >(val2); result = (char *)((OpenBabel::OBMol const *)arg1)->GetTitle(arg2);
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetTitle__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_GetTitle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetTitle" "', argument " "1"" of type '" "OpenBabel::OBMol const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (char *)((OpenBabel::OBMol const *)arg1)->GetTitle();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetTitle) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_GetTitle__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_GetTitle__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBMol_GetTitle'"); XSRETURN(0); }
XS(_wrap_OBMol_NumAtoms) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_NumAtoms(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_NumAtoms" "', argument " "1"" of type '" "OpenBabel::OBMol const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (unsigned int)((OpenBabel::OBMol const *)arg1)->NumAtoms();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_NumBonds) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_NumBonds(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_NumBonds" "', argument " "1"" of type '" "OpenBabel::OBMol const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (unsigned int)((OpenBabel::OBMol const *)arg1)->NumBonds();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_NumHvyAtoms) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_NumHvyAtoms(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_NumHvyAtoms" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (unsigned int)(arg1)->NumHvyAtoms();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_NumResidues) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_NumResidues(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_NumResidues" "', argument " "1"" of type '" "OpenBabel::OBMol const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    result = (unsigned int)((OpenBabel::OBMol const *)arg1)->NumResidues();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_NumRotors) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_NumRotors(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_NumRotors" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (unsigned int)(arg1)->NumRotors();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetAtom) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ;
    int val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_GetAtom(self,idx);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetAtom" "', argument " "1"" of type '" "OpenBabel::OBMol const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_GetAtom" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); result = (OpenBabel::OBAtom *)((OpenBabel::OBMol const *)arg1)->GetAtom(arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetAtomById) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; unsigned long arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; unsigned long val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBMol_GetAtomById(self,id);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetAtomById" "', argument " "1"" of type '" "OpenBabel::OBMol const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_GetAtomById" "', argument " "2"" of type '" "unsigned long""'"); }
      arg2 = static_cast< unsigned long >(val2);
    result = (OpenBabel::OBAtom *)((OpenBabel::OBMol const *)arg1)->GetAtomById(arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetFirstAtom) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_GetFirstAtom(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetFirstAtom" "', argument " "1"" of type '" "OpenBabel::OBMol const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    result = (OpenBabel::OBAtom *)((OpenBabel::OBMol const *)arg1)->GetFirstAtom();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetBond__SWIG_0) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::OBBond *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBMol_GetBond(self,idx);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetBond" "', argument " "1"" of type '" "OpenBabel::OBMol const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_GetBond" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); result = (OpenBabel::OBBond *)((OpenBabel::OBMol const *)arg1)->GetBond(arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBond, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetBondById) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; unsigned long arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; unsigned long val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::OBBond *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBMol_GetBondById(self,id);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetBondById" "', argument " "1"" of type '" "OpenBabel::OBMol const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_GetBondById" "', argument " "2"" of type '" "unsigned long""'"); }
      arg2 = static_cast< unsigned long >(val2);
    result = (OpenBabel::OBBond *)((OpenBabel::OBMol const *)arg1)->GetBondById(arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBond, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetBond__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ;
    int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int argvi = 0; OpenBabel::OBBond *result = 0 ;
    dXSARGS; if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBMol_GetBond(self,a,b);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetBond" "', argument " "1"" of type '" "OpenBabel::OBMol const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_GetBond" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBMol_GetBond" "', argument " "3"" of type '" "int""'"); }  
    arg3 = static_cast< int >(val3); result = (OpenBabel::OBBond *)((OpenBabel::OBMol const *)arg1)->GetBond(arg2,arg3);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBond, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetBond__SWIG_2) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; OpenBabel::OBAtom *arg3 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0;
    OpenBabel::OBBond *result = 0 ; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBMol_GetBond(self,bgn,end);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetBond" "', argument " "1"" of type '" "OpenBabel::OBMol const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_GetBond" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBMol_GetBond" "', argument " "3"" of type '" "OpenBabel::OBAtom *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBAtom * >(argp3);
    result = (OpenBabel::OBBond *)((OpenBabel::OBMol const *)arg1)->GetBond(arg2,arg3);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBond, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetBond) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3:
    dispatch: switch(_index) { case 1: ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_GetBond__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_GetBond__SWIG_2); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_GetBond__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBMol_GetBond'"); XSRETURN(0); }
XS(_wrap_OBMol_GetResidue) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ;
    int val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::OBResidue *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_GetResidue(self,idx);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetResidue" "', argument " "1"" of type '" "OpenBabel::OBMol const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_GetResidue" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); result = (OpenBabel::OBResidue *)((OpenBabel::OBMol const *)arg1)->GetResidue(arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBResidue, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetInternalCoord) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBInternalCoord * > > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_GetInternalCoord(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetInternalCoord" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (arg1)->GetInternalCoord();
    ST(argvi) = SWIG_NewPointerObj((new std::vector< OpenBabel::OBInternalCoord * >(static_cast< const std::vector< OpenBabel::OBInternalCoord * >& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBInternalCoord_p_t, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetTorsion__SWIG_0) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; int arg2 ; int arg3 ; int arg4 ;
    int arg5 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ;
    int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 5) || (items > 5)) {
      SWIG_croak("Usage: OBMol_GetTorsion(self,int,int,int,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetTorsion" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_GetTorsion" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBMol_GetTorsion" "', argument " "3"" of type '" "int""'"); }  
    arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4); if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBMol_GetTorsion" "', argument " "4"" of type '" "int""'"); }  
    arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5); if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "OBMol_GetTorsion" "', argument " "5"" of type '" "int""'"); }  
    arg5 = static_cast< int >(val5); result = (double)(arg1)->GetTorsion(arg2,arg3,arg4,arg5);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetTorsion__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; OpenBabel::OBAtom *arg3 = (OpenBabel::OBAtom *) 0 ;
    OpenBabel::OBAtom *arg4 = (OpenBabel::OBAtom *) 0 ; OpenBabel::OBAtom *arg5 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ;
    void *argp5 = 0 ; int res5 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 5) || (items > 5)) {
      SWIG_croak("Usage: OBMol_GetTorsion(self,a,b,c,d);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetTorsion" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_GetTorsion" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBMol_GetTorsion" "', argument " "3"" of type '" "OpenBabel::OBAtom *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBAtom * >(argp3);
    res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBMol_GetTorsion" "', argument " "4"" of type '" "OpenBabel::OBAtom *""'");  }
     arg4 = reinterpret_cast< OpenBabel::OBAtom * >(argp4);
    res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res5)) {
      SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "OBMol_GetTorsion" "', argument " "5"" of type '" "OpenBabel::OBAtom *""'");  }
     arg5 = reinterpret_cast< OpenBabel::OBAtom * >(argp5); result = (double)(arg1)->GetTorsion(arg2,arg3,arg4,arg5);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetTorsion) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 5) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(3), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(4), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 5) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    dispatch: switch(_index) { case 1: ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_GetTorsion__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_GetTorsion__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBMol_GetTorsion'"); XSRETURN(0); }
XS(_wrap_OBMol_GetAngle) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; OpenBabel::OBAtom *arg3 = (OpenBabel::OBAtom *) 0 ;
    OpenBabel::OBAtom *arg4 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 4) || (items > 4)) { SWIG_croak("Usage: OBMol_GetAngle(self,a,b,c);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetAngle" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_GetAngle" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBMol_GetAngle" "', argument " "3"" of type '" "OpenBabel::OBAtom *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBAtom * >(argp3);
    res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBMol_GetAngle" "', argument " "4"" of type '" "OpenBabel::OBAtom *""'");  }
     arg4 = reinterpret_cast< OpenBabel::OBAtom * >(argp4); result = (double)(arg1)->GetAngle(arg2,arg3,arg4);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetFormula) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    std::string result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_GetFormula(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetFormula" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (arg1)->GetFormula();
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetSpacedFormula__SWIG_0) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; int arg2 ;
    char *arg3 = (char *) 0 ; bool arg4 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int res3 ;
    char *buf3 = 0 ; int alloc3 = 0 ; bool val4 ; int ecode4 = 0 ; int argvi = 0; std::string result; dXSARGS;
    if ((items < 4) || (items > 4)) { SWIG_croak("Usage: OBMol_GetSpacedFormula(self,ones,sp,implicitH);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetSpacedFormula" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_GetSpacedFormula" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBMol_GetSpacedFormula" "', argument " "3"" of type '" "char const *""'"); }
     arg3 = reinterpret_cast< char * >(buf3); ecode4 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBMol_GetSpacedFormula" "', argument " "4"" of type '" "bool""'"); }
      arg4 = static_cast< bool >(val4); result = (arg1)->GetSpacedFormula(arg2,(char const *)arg3,arg4);
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ;
    if (alloc3 == SWIG_NEWOBJ) delete[] buf3; XSRETURN(argvi); fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetSpacedFormula__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; int arg2 ;
    char *arg3 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int res3 ; char *buf3 = 0 ;
    int alloc3 = 0 ; int argvi = 0; std::string result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBMol_GetSpacedFormula(self,ones,sp);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetSpacedFormula" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_GetSpacedFormula" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBMol_GetSpacedFormula" "', argument " "3"" of type '" "char const *""'"); }
     arg3 = reinterpret_cast< char * >(buf3); result = (arg1)->GetSpacedFormula(arg2,(char const *)arg3);
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ;
    if (alloc3 == SWIG_NEWOBJ) delete[] buf3; XSRETURN(argvi); fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetSpacedFormula__SWIG_2) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; std::string result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_GetSpacedFormula(self,ones);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetSpacedFormula" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_GetSpacedFormula" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (arg1)->GetSpacedFormula(arg2);
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetSpacedFormula__SWIG_3) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; std::string result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_GetSpacedFormula(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetSpacedFormula" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (arg1)->GetSpacedFormula();
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetSpacedFormula) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 3) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { int res = SWIG_AsCharPtrAndSize(ST(2), 0, NULL, 0);
        _v = SWIG_CheckState(res);}  if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3:
    if (items == 4) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_4;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { int res = SWIG_AsCharPtrAndSize(ST(2), 0, NULL, 0);
        _v = SWIG_CheckState(res);}  if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_4;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 4;
        if (_rank == _rankm) goto dispatch; }  }  check_4: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_GetSpacedFormula__SWIG_3); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_GetSpacedFormula__SWIG_2); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_GetSpacedFormula__SWIG_1); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_GetSpacedFormula__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBMol_GetSpacedFormula'"); XSRETURN(0); }
XS(_wrap_OBMol_GetEnergy__SWIG_0) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_GetEnergy(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetEnergy" "', argument " "1"" of type '" "OpenBabel::OBMol const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (double)((OpenBabel::OBMol const *)arg1)->GetEnergy();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetMolWt__SWIG_0) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; bool arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_GetMolWt(self,implicitH);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetMolWt" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_GetMolWt" "', argument " "2"" of type '" "bool""'"); }  
    arg2 = static_cast< bool >(val2); result = (double)(arg1)->GetMolWt(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetMolWt__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_GetMolWt(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetMolWt" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (double)(arg1)->GetMolWt();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetMolWt) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_GetMolWt__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_GetMolWt__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBMol_GetMolWt'"); XSRETURN(0); }
XS(_wrap_OBMol_GetExactMass__SWIG_0) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; bool arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_GetExactMass(self,implicitH);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetExactMass" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_GetExactMass" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (double)(arg1)->GetExactMass(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetExactMass__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_GetExactMass(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetExactMass" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (double)(arg1)->GetExactMass();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetExactMass) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_GetExactMass__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_GetExactMass__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBMol_GetExactMass'"); XSRETURN(0); }
XS(_wrap_OBMol_GetTotalCharge) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_GetTotalCharge(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetTotalCharge" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (int)(arg1)->GetTotalCharge();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetTotalSpinMultiplicity) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_GetTotalSpinMultiplicity(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetTotalSpinMultiplicity" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (unsigned int)(arg1)->GetTotalSpinMultiplicity();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetDimension) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; unsigned short result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_GetDimension(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetDimension" "', argument " "1"" of type '" "OpenBabel::OBMol const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    result = (unsigned short)((OpenBabel::OBMol const *)arg1)->GetDimension();
    ST(argvi) = SWIG_From_unsigned_SS_short  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned short >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetCoordinates) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_GetCoordinates(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetCoordinates" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (double *)(arg1)->GetCoordinates();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetSSSR) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    std::vector< OpenBabel::OBRing * > *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_GetSSSR(self);"); }  res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetSSSR" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (std::vector< OpenBabel::OBRing * > *) &(arg1)->GetSSSR();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBRing_p_t, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetLSSR) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    std::vector< OpenBabel::OBRing * > *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_GetLSSR(self);"); }  res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetLSSR" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (std::vector< OpenBabel::OBRing * > *) &(arg1)->GetLSSR();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBRing_p_t, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_AutomaticFormalCharge) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_AutomaticFormalCharge(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_AutomaticFormalCharge" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (bool)(arg1)->AutomaticFormalCharge();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_AutomaticPartialCharge) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_AutomaticPartialCharge(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_AutomaticPartialCharge" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (bool)(arg1)->AutomaticPartialCharge();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_SetTitle__SWIG_0) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; char *arg2 = (char *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBMol_SetTitle(self,title);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_SetTitle" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_SetTitle" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); (arg1)->SetTitle((char const *)arg2); ST(argvi) = sv_newmortal();
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_SetTitle__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ;
    int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_SetTitle(self,title);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_SetTitle" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__string,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_SetTitle" "', argument " "2"" of type '" "std::string &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMol_SetTitle" "', argument " "2"" of type '" "std::string &""'"); }
     arg2 = reinterpret_cast< std::string * >(argp2); (arg1)->SetTitle(*arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_SetTitle) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_std__string, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_SetTitle__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_SetTitle__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBMol_SetTitle'"); XSRETURN(0); }
XS(_wrap_OBMol_SetFormula) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; std::string arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_SetFormula(self,molFormula);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_SetFormula" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); { std::string *ptr = (std::string *)0;
      int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "OBMol_SetFormula" "', argument " "2"" of type '" "std::string""'");  }
       arg2 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; }  (arg1)->SetFormula(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_SetEnergy) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ;
    double val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_SetEnergy(self,energy);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_SetEnergy" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_SetEnergy" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); (arg1)->SetEnergy(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_SetDimension) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; unsigned short arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; unsigned short val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_SetDimension(self,d);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_SetDimension" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_SetDimension" "', argument " "2"" of type '" "unsigned short""'"); }
      arg2 = static_cast< unsigned short >(val2); (arg1)->SetDimension(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_SetTotalCharge) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ;
    int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_SetTotalCharge(self,charge);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_SetTotalCharge" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_SetTotalCharge" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (arg1)->SetTotalCharge(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_SetTotalSpinMultiplicity) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; unsigned int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBMol_SetTotalSpinMultiplicity(self,spinMultiplicity);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_SetTotalSpinMultiplicity" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_SetTotalSpinMultiplicity" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); (arg1)->SetTotalSpinMultiplicity(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_SetInternalCoord) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ;
    SwigValueWrapper< std::vector< OpenBabel::OBInternalCoord * > > arg2 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ;
    int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_SetInternalCoord(self,int_coord);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_SetInternalCoord" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); {
      res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBInternalCoord_p_t,  0 );
      if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_SetInternalCoord" "', argument " "2"" of type '" "std::vector< OpenBabel::OBInternalCoord * >""'");  }
         if (!argp2) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMol_SetInternalCoord" "', argument " "2"" of type '" "std::vector< OpenBabel::OBInternalCoord * >""'"); }
       else { arg2 = *(reinterpret_cast< std::vector< OpenBabel::OBInternalCoord * > * >(argp2)); }  } 
    (arg1)->SetInternalCoord(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_SetAutomaticFormalCharge) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; bool arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_SetAutomaticFormalCharge(self,val);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_SetAutomaticFormalCharge" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_SetAutomaticFormalCharge" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); (arg1)->SetAutomaticFormalCharge(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_SetAutomaticPartialCharge) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; bool arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_SetAutomaticPartialCharge(self,val);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_SetAutomaticPartialCharge" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_SetAutomaticPartialCharge" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); (arg1)->SetAutomaticPartialCharge(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_SetAromaticPerceived) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_SetAromaticPerceived(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_SetAromaticPerceived" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->SetAromaticPerceived(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_SetSSSRPerceived) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_SetSSSRPerceived(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_SetSSSRPerceived" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->SetSSSRPerceived(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_SetLSSRPerceived) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_SetLSSRPerceived(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_SetLSSRPerceived" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->SetLSSRPerceived(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_SetRingAtomsAndBondsPerceived) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_SetRingAtomsAndBondsPerceived(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_SetRingAtomsAndBondsPerceived" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->SetRingAtomsAndBondsPerceived(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_SetAtomTypesPerceived) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_SetAtomTypesPerceived(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_SetAtomTypesPerceived" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->SetAtomTypesPerceived(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_SetRingTypesPerceived) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_SetRingTypesPerceived(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_SetRingTypesPerceived" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->SetRingTypesPerceived(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_SetChainsPerceived) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_SetChainsPerceived(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_SetChainsPerceived" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->SetChainsPerceived(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_SetChiralityPerceived) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_SetChiralityPerceived(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_SetChiralityPerceived" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->SetChiralityPerceived(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_SetPartialChargesPerceived) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_SetPartialChargesPerceived(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_SetPartialChargesPerceived" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->SetPartialChargesPerceived(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_SetHybridizationPerceived) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_SetHybridizationPerceived(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_SetHybridizationPerceived" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->SetHybridizationPerceived(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_SetImplicitValencePerceived) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_SetImplicitValencePerceived(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_SetImplicitValencePerceived" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->SetImplicitValencePerceived(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_SetKekulePerceived) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_SetKekulePerceived(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_SetKekulePerceived" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->SetKekulePerceived(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_SetClosureBondsPerceived) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_SetClosureBondsPerceived(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_SetClosureBondsPerceived" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->SetClosureBondsPerceived(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_SetHydrogensAdded) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_SetHydrogensAdded(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_SetHydrogensAdded" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->SetHydrogensAdded(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_SetCorrectedForPH) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_SetCorrectedForPH(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_SetCorrectedForPH" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->SetCorrectedForPH(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_SetAromaticCorrected) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_SetAromaticCorrected(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_SetAromaticCorrected" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->SetAromaticCorrected(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_SetSpinMultiplicityAssigned) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_SetSpinMultiplicityAssigned(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_SetSpinMultiplicityAssigned" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->SetSpinMultiplicityAssigned(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_SetFlags) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ;
    int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_SetFlags(self,flags);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_SetFlags" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_SetFlags" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); (arg1)->SetFlags(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_UnsetAromaticPerceived) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_UnsetAromaticPerceived(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_UnsetAromaticPerceived" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->UnsetAromaticPerceived(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_UnsetSSSRPerceived) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_UnsetSSSRPerceived(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_UnsetSSSRPerceived" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->UnsetSSSRPerceived(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_UnsetRingTypesPerceived) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_UnsetRingTypesPerceived(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_UnsetRingTypesPerceived" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->UnsetRingTypesPerceived(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_UnsetPartialChargesPerceived) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_UnsetPartialChargesPerceived(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_UnsetPartialChargesPerceived" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->UnsetPartialChargesPerceived(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_UnsetImplicitValencePerceived) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_UnsetImplicitValencePerceived(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_UnsetImplicitValencePerceived" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->UnsetImplicitValencePerceived(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_UnsetHydrogensAdded) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_UnsetHydrogensAdded(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_UnsetHydrogensAdded" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->UnsetHydrogensAdded(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_UnsetFlag) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ;
    int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_UnsetFlag(self,flag);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_UnsetFlag" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_UnsetFlag" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); (arg1)->UnsetFlag(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_ClassDescription) { { int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: OBMol_ClassDescription();"); }  result = (char *)OpenBabel::OBMol::ClassDescription();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_RenumberAtoms__SWIG_0) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ;
    std::vector< OpenBabel::OBAtom * > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_RenumberAtoms(self,std::vector< OpenBabel::OBAtom * > &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_RenumberAtoms" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBAtom_p_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_RenumberAtoms" "', argument " "2"" of type '" "std::vector< OpenBabel::OBAtom * > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMol_RenumberAtoms" "', argument " "2"" of type '" "std::vector< OpenBabel::OBAtom * > &""'"); }
     arg2 = reinterpret_cast< std::vector< OpenBabel::OBAtom * > * >(argp2); (arg1)->RenumberAtoms(*arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_RenumberAtoms__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; std::vector< int > arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; std::vector< int > *v2 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_RenumberAtoms(self,std::vector< int >);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_RenumberAtoms" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); { if (SWIG_ConvertPtr(ST(1),(void **) &v2, 
      SWIGTYPE_p_std__vectorT_int_t,1) != -1){ arg2 = *v2; }  else if (SvROK(ST(1))) { AV *av = (AV *)SvRV(ST(1));
        if (SvTYPE(av) != SVt_PVAV) SWIG_croak("Type error in argument 2 of OBMol_RenumberAtoms. "
        "Expected an array of ""int"); SV **tv; I32 len = av_len(av) + 1; for (int i=0; i<len; i++) { tv = av_fetch(av, i, 0);
          if (SvIOK(*tv)) { (&arg2)->push_back((int)SvIVX(*tv)); }  else { SWIG_croak("Type error in argument 2 of "
            "OBMol_RenumberAtoms. " "Expected an array of ""int"); }  }  }  else {
        SWIG_croak("Type error in argument 2 of OBMol_RenumberAtoms. " "Expected an array of ""int"); }  } 
    (arg1)->RenumberAtoms(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_RenumberAtoms) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_std__vectorT_OpenBabel__OBAtom_p_t, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { {  std::vector<int >* v;
            if (SWIG_ConvertPtr(ST(1),(void **) &v,  SWIGTYPE_p_std__vectorT_int_t,0) != -1) { _v = 1; }
             else if (SvROK(ST(1))) {  AV *av = (AV *)SvRV(ST(1)); if (SvTYPE(av) == SVt_PVAV) { I32 len = av_len(av) + 1;
                if (len == 0) {  _v = 1; }  else {  SV **tv = av_fetch(av, 0, 0); if (SvIOK(*tv)) _v = 1; else _v = 0; }  }  }
             else { _v = 0; }  }  } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    dispatch: switch(_index) { case 1: ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_RenumberAtoms__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_RenumberAtoms__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBMol_RenumberAtoms'"); XSRETURN(0); }
XS(_wrap_OBMol_SetCoordinates) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; double *arg2 = (double *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_SetCoordinates(self,c);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_SetCoordinates" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_SetCoordinates" "', argument " "2"" of type '" "double *""'");  }
     arg2 = reinterpret_cast< double * >(argp2); (arg1)->SetCoordinates(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_ToInertialFrame__SWIG_0) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; int arg2 ;
    double *arg3 = (double *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; void *argp3 = 0 ; int res3 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBMol_ToInertialFrame(self,conf,rmat);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_ToInertialFrame" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_ToInertialFrame" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBMol_ToInertialFrame" "', argument " "3"" of type '" "double *""'");  }
     arg3 = reinterpret_cast< double * >(argp3); (arg1)->ToInertialFrame(arg2,arg3); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_ToInertialFrame__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_ToInertialFrame(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_ToInertialFrame" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->ToInertialFrame(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_ToInertialFrame) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_ToInertialFrame__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_ToInertialFrame__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBMol_ToInertialFrame'"); XSRETURN(0); }
XS(_wrap_OBMol_Translate__SWIG_0) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; OpenBabel::vector3 *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_Translate(self,v);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_Translate" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_Translate" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMol_Translate" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2); (arg1)->Translate((OpenBabel::vector3 const &)*arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_Translate__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; OpenBabel::vector3 *arg2 = 0 ;
    int arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBMol_Translate(self,v,conf);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_Translate" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_Translate" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMol_Translate" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBMol_Translate" "', argument " "3"" of type '" "int""'"); }  
    arg3 = static_cast< int >(val3); (arg1)->Translate((OpenBabel::vector3 const &)*arg2,arg3); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_Translate) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_Translate__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_Translate__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBMol_Translate'"); XSRETURN(0); }
XS(_wrap_OBMol_Rotate__SWIG_0) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; double (*arg2)[3] ; void *argp1 = 0 ;
    int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_Rotate(self,u);"); }  res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_Rotate" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_a_3__double, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_Rotate" "', argument " "2"" of type '" "double const [3][3]""'");  }
      arg2 = reinterpret_cast< double (*)[3] >(argp2); (arg1)->Rotate((double const (*)[3])arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_Rotate__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; double *arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_Rotate(self,m);"); }  res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_Rotate" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_Rotate" "', argument " "2"" of type '" "double const [9]""'");  }
      arg2 = reinterpret_cast< double * >(argp2); (arg1)->Rotate((double const (*))arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_Rotate__SWIG_2) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; double *arg2 ; int arg3 ; void *argp1 = 0 ;
    int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBMol_Rotate(self,m,nconf);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_Rotate" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_Rotate" "', argument " "2"" of type '" "double const [9]""'");  }
      arg2 = reinterpret_cast< double * >(argp2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBMol_Rotate" "', argument " "3"" of type '" "int""'"); }  
    arg3 = static_cast< int >(val3); (arg1)->Rotate((double const (*))arg2,arg3); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_Rotate) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_a_3__double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 3) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3:
    dispatch: switch(_index) { case 1: ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_Rotate__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_Rotate__SWIG_1); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_Rotate__SWIG_2); return; }  } 
  croak("No matching function for overloaded 'OBMol_Rotate'"); XSRETURN(0); }
XS(_wrap_OBMol_Center__SWIG_0) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_Center(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_Center" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->Center(); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_Kekulize) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_Kekulize(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_Kekulize" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (bool)(arg1)->Kekulize();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_PerceiveKekuleBonds) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_PerceiveKekuleBonds(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_PerceiveKekuleBonds" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (bool)(arg1)->PerceiveKekuleBonds();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_NewPerceiveKekuleBonds) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_NewPerceiveKekuleBonds(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_NewPerceiveKekuleBonds" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->NewPerceiveKekuleBonds(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_DeleteHydrogens__SWIG_0) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_DeleteHydrogens(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_DeleteHydrogens" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (bool)(arg1)->DeleteHydrogens();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_DeleteHydrogens__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_DeleteHydrogens(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_DeleteHydrogens" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_DeleteHydrogens" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (bool)(arg1)->DeleteHydrogens(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_DeleteHydrogens) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_DeleteHydrogens__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_DeleteHydrogens__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBMol_DeleteHydrogens'"); XSRETURN(0); }
XS(_wrap_OBMol_DeleteNonPolarHydrogens) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_DeleteNonPolarHydrogens(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_DeleteNonPolarHydrogens" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (bool)(arg1)->DeleteNonPolarHydrogens();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_DeleteHydrogen) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_DeleteHydrogen(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_DeleteHydrogen" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_DeleteHydrogen" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (bool)(arg1)->DeleteHydrogen(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_AddHydrogens__SWIG_0) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; bool arg2 ; bool arg3 ; double arg4 ;
    void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; bool val3 ; int ecode3 = 0 ; double val4 ; int ecode4 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: OBMol_AddHydrogens(self,polaronly,correctForPH,pH);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_AddHydrogens" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_AddHydrogens" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); ecode3 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBMol_AddHydrogens" "', argument " "3"" of type '" "bool""'"); }
      arg3 = static_cast< bool >(val3); ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBMol_AddHydrogens" "', argument " "4"" of type '" "double""'"); }
      arg4 = static_cast< double >(val4); result = (bool)(arg1)->AddHydrogens(arg2,arg3,arg4);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_AddHydrogens__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; bool arg2 ; bool arg3 ;
    void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; bool val3 ; int ecode3 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBMol_AddHydrogens(self,polaronly,correctForPH);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_AddHydrogens" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_AddHydrogens" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); ecode3 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBMol_AddHydrogens" "', argument " "3"" of type '" "bool""'"); }
      arg3 = static_cast< bool >(val3); result = (bool)(arg1)->AddHydrogens(arg2,arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_AddHydrogens__SWIG_2) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; bool arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_AddHydrogens(self,polaronly);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_AddHydrogens" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_AddHydrogens" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (bool)(arg1)->AddHydrogens(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_AddHydrogens__SWIG_3) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_AddHydrogens(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_AddHydrogens" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (bool)(arg1)->AddHydrogens();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_AddHydrogens__SWIG_4) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_AddHydrogens(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_AddHydrogens" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_AddHydrogens" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (bool)(arg1)->AddHydrogens(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_AddHydrogens) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 3) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_4;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_4;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 4;
        if (_rank == _rankm) goto dispatch; }  }  check_4: if (items == 4) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_5; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_5;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_5;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_5;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 5;
        if (_rank == _rankm) goto dispatch; }  }  check_5: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_AddHydrogens__SWIG_3); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_AddHydrogens__SWIG_4); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_AddHydrogens__SWIG_2); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_AddHydrogens__SWIG_1); return; case 5:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_AddHydrogens__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBMol_AddHydrogens'"); XSRETURN(0); }
XS(_wrap_OBMol_AddPolarHydrogens) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_AddPolarHydrogens(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_AddPolarHydrogens" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (bool)(arg1)->AddPolarHydrogens();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_StripSalts__SWIG_0) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_StripSalts(self,threshold);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_StripSalts" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_StripSalts" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); result = (bool)(arg1)->StripSalts(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_StripSalts__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_StripSalts(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_StripSalts" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (bool)(arg1)->StripSalts();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_StripSalts) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_StripSalts__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_StripSalts__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBMol_StripSalts'"); XSRETURN(0); }
XS(_wrap_OBMol_Separate__SWIG_0) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; std::vector< OpenBabel::OBMol > result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBMol_Separate(self,StartIndex);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_Separate" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_Separate" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); result = (arg1)->Separate(arg2); { size_t len = (&result)->size(); SV **svs = new SV*[len];
      for (size_t i=0; i<len; i++) { OpenBabel::OBMol* ptr = new OpenBabel::OBMol(result[i]); svs[i] = sv_newmortal();
        SWIG_MakePtr(svs[i], (void*) ptr,  SWIGTYPE_p_OpenBabel__OBMol, SWIG_SHADOW|0); }  AV *myav = av_make(len, svs);
      delete[] svs; ST(argvi) = newRV_noinc((SV*) myav); sv_2mortal(ST(argvi)); argvi++; }  XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_Separate__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; std::vector< OpenBabel::OBMol > result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_Separate(self);"); }  res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_Separate" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (arg1)->Separate(); { size_t len = (&result)->size();
      SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) { OpenBabel::OBMol* ptr = new OpenBabel::OBMol(result[i]);
        svs[i] = sv_newmortal(); SWIG_MakePtr(svs[i], (void*) ptr,  SWIGTYPE_p_OpenBabel__OBMol, SWIG_SHADOW|0); } 
      AV *myav = av_make(len, svs); delete[] svs; ST(argvi) = newRV_noinc((SV*) myav); sv_2mortal(ST(argvi)); argvi++; } 
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_Separate) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_Separate__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_Separate__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBMol_Separate'"); XSRETURN(0); }
XS(_wrap_OBMol_GetNextFragment) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; OpenBabel::OBMolAtomDFSIter *arg2 = 0 ;
    OpenBabel::OBMol *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ;
    int res3 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBMol_GetNextFragment(self,iter,newMol);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetNextFragment" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_GetNextFragment" "', argument " "2"" of type '" "OpenBabel::OBMolAtomDFSIter &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMol_GetNextFragment" "', argument " "2"" of type '" "OpenBabel::OBMolAtomDFSIter &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBMol_GetNextFragment" "', argument " "3"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMol_GetNextFragment" "', argument " "3"" of type '" "OpenBabel::OBMol &""'"); }
     arg3 = reinterpret_cast< OpenBabel::OBMol * >(argp3); result = (bool)(arg1)->GetNextFragment(*arg2,*arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_ConvertDativeBonds) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_ConvertDativeBonds(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_ConvertDativeBonds" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (bool)(arg1)->ConvertDativeBonds();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_CorrectForPH__SWIG_0) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; double arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; double val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_CorrectForPH(self,pH);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_CorrectForPH" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_CorrectForPH" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); result = (bool)(arg1)->CorrectForPH(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_CorrectForPH__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_CorrectForPH(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_CorrectForPH" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (bool)(arg1)->CorrectForPH();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_CorrectForPH) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_CorrectForPH__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_CorrectForPH__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBMol_CorrectForPH'"); XSRETURN(0); }
XS(_wrap_OBMol_AssignSpinMultiplicity__SWIG_0) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; bool arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBMol_AssignSpinMultiplicity(self,NoImplicitH);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_AssignSpinMultiplicity" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_AssignSpinMultiplicity" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (bool)(arg1)->AssignSpinMultiplicity(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_AssignSpinMultiplicity__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_AssignSpinMultiplicity(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_AssignSpinMultiplicity" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (bool)(arg1)->AssignSpinMultiplicity();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_AssignSpinMultiplicity) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_AssignSpinMultiplicity__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_AssignSpinMultiplicity__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBMol_AssignSpinMultiplicity'"); XSRETURN(0); }
XS(_wrap_OBMol_SetIsPatternStructure) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_SetIsPatternStructure(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_SetIsPatternStructure" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->SetIsPatternStructure(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_Center__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ;
    int val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::vector3 result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_Center(self,nconf);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_Center" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_Center" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); result = (arg1)->Center(arg2);
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::vector3(static_cast< const OpenBabel::vector3& >(result))), SWIGTYPE_p_OpenBabel__vector3, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_Center) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_Center__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_Center__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBMol_Center'"); XSRETURN(0); }
XS(_wrap_OBMol_SetTorsion) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; OpenBabel::OBAtom *arg3 = (OpenBabel::OBAtom *) 0 ;
    OpenBabel::OBAtom *arg4 = (OpenBabel::OBAtom *) 0 ; OpenBabel::OBAtom *arg5 = (OpenBabel::OBAtom *) 0 ; double arg6 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ;
    int res4 = 0 ; void *argp5 = 0 ; int res5 = 0 ; double val6 ; int ecode6 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 6) || (items > 6)) {
      SWIG_croak("Usage: OBMol_SetTorsion(self,OpenBabel::OBAtom *,OpenBabel::OBAtom *,OpenBabel::OBAtom *,OpenBabel::OBAtom *,ang);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_SetTorsion" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_SetTorsion" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBMol_SetTorsion" "', argument " "3"" of type '" "OpenBabel::OBAtom *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBAtom * >(argp3);
    res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBMol_SetTorsion" "', argument " "4"" of type '" "OpenBabel::OBAtom *""'");  }
     arg4 = reinterpret_cast< OpenBabel::OBAtom * >(argp4);
    res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res5)) {
      SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "OBMol_SetTorsion" "', argument " "5"" of type '" "OpenBabel::OBAtom *""'");  }
     arg5 = reinterpret_cast< OpenBabel::OBAtom * >(argp5); ecode6 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(5), &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "OBMol_SetTorsion" "', argument " "6"" of type '" "double""'"); }
      arg6 = static_cast< double >(val6); (arg1)->SetTorsion(arg2,arg3,arg4,arg5,arg6); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_FindSSSR) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_FindSSSR(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_FindSSSR" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->FindSSSR(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_FindLSSR) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_FindLSSR(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_FindLSSR" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->FindLSSR(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_FindRingAtomsAndBonds) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_FindRingAtomsAndBonds(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_FindRingAtomsAndBonds" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->FindRingAtomsAndBonds(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_FindChiralCenters) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_FindChiralCenters(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_FindChiralCenters" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->FindChiralCenters(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_FindChildren__SWIG_0) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; std::vector< int > *arg2 = 0 ;
    int arg3 ; int arg4 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ;
    int val4 ; int ecode4 = 0 ; int argvi = 0; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: OBMol_FindChildren(self,children,bgnIdx,endIdx);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_FindChildren" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_int_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_FindChildren" "', argument " "2"" of type '" "std::vector< int > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMol_FindChildren" "', argument " "2"" of type '" "std::vector< int > &""'"); }
     arg2 = reinterpret_cast< std::vector< int > * >(argp2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBMol_FindChildren" "', argument " "3"" of type '" "int""'"); }
      arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4); if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBMol_FindChildren" "', argument " "4"" of type '" "int""'"); }
      arg4 = static_cast< int >(val4); (arg1)->FindChildren(*arg2,arg3,arg4); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_FindChildren__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ;
    std::vector< OpenBabel::OBAtom * > *arg2 = 0 ; OpenBabel::OBAtom *arg3 = (OpenBabel::OBAtom *) 0 ;
    OpenBabel::OBAtom *arg4 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; int argvi = 0; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: OBMol_FindChildren(self,children,bgn,end);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_FindChildren" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBAtom_p_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_FindChildren" "', argument " "2"" of type '" "std::vector< OpenBabel::OBAtom * > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMol_FindChildren" "', argument " "2"" of type '" "std::vector< OpenBabel::OBAtom * > &""'"); }
     arg2 = reinterpret_cast< std::vector< OpenBabel::OBAtom * > * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBMol_FindChildren" "', argument " "3"" of type '" "OpenBabel::OBAtom *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBAtom * >(argp3);
    res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBMol_FindChildren" "', argument " "4"" of type '" "OpenBabel::OBAtom *""'");  }
     arg4 = reinterpret_cast< OpenBabel::OBAtom * >(argp4); (arg1)->FindChildren(*arg2,arg3,arg4); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_FindChildren) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 4) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_std__vectorT_int_t, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1:
    if (items == 4) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_std__vectorT_OpenBabel__OBAtom_p_t, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(3), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_FindChildren__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_FindChildren__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBMol_FindChildren'"); XSRETURN(0); }
XS(_wrap_OBMol_FindLargestFragment) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; OpenBabel::OBBitVec *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_FindLargestFragment(self,frag);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_FindLargestFragment" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBBitVec,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_FindLargestFragment" "', argument " "2"" of type '" "OpenBabel::OBBitVec &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMol_FindLargestFragment" "', argument " "2"" of type '" "OpenBabel::OBBitVec &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBitVec * >(argp2); (arg1)->FindLargestFragment(*arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_ContigFragList) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ;
    std::vector< std::vector< int > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_ContigFragList(self,std::vector< std::vector< int > > &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_ContigFragList" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_std__vectorT_int_t_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_ContigFragList" "', argument " "2"" of type '" "std::vector< std::vector< int > > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMol_ContigFragList" "', argument " "2"" of type '" "std::vector< std::vector< int > > &""'"); }
     arg2 = reinterpret_cast< std::vector< std::vector< int > > * >(argp2); (arg1)->ContigFragList(*arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_Align) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ;
    OpenBabel::OBAtom *arg3 = (OpenBabel::OBAtom *) 0 ; OpenBabel::vector3 *arg4 = 0 ; OpenBabel::vector3 *arg5 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ;
    int res4 = 0 ; void *argp5 = 0 ; int res5 = 0 ; int argvi = 0; dXSARGS; if ((items < 5) || (items > 5)) {
      SWIG_croak("Usage: OBMol_Align(self,OpenBabel::OBAtom *,OpenBabel::OBAtom *,OpenBabel::vector3 &,OpenBabel::vector3 &);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_Align" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_Align" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBMol_Align" "', argument " "3"" of type '" "OpenBabel::OBAtom *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBAtom * >(argp3);
    res4 = SWIG_ConvertPtr(ST(3), &argp4, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBMol_Align" "', argument " "4"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp4) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMol_Align" "', argument " "4"" of type '" "OpenBabel::vector3 &""'"); }
     arg4 = reinterpret_cast< OpenBabel::vector3 * >(argp4);
    res5 = SWIG_ConvertPtr(ST(4), &argp5, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res5)) {
      SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "OBMol_Align" "', argument " "5"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp5) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMol_Align" "', argument " "5"" of type '" "OpenBabel::vector3 &""'"); }
     arg5 = reinterpret_cast< OpenBabel::vector3 * >(argp5); (arg1)->Align(arg2,arg3,*arg4,*arg5); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_ConnectTheDots) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_ConnectTheDots(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_ConnectTheDots" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->ConnectTheDots(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_PerceiveBondOrders) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_PerceiveBondOrders(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_PerceiveBondOrders" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->PerceiveBondOrders(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_FindAngles) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_FindAngles(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_FindAngles" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->FindAngles(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_FindTorsions) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_FindTorsions(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_FindTorsions" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); (arg1)->FindTorsions(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetGTDVector) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; std::vector< int > *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBMol_GetGTDVector(self,std::vector< int > &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetGTDVector" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_int_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_GetGTDVector" "', argument " "2"" of type '" "std::vector< int > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMol_GetGTDVector" "', argument " "2"" of type '" "std::vector< int > &""'"); }
     arg2 = reinterpret_cast< std::vector< int > * >(argp2); result = (bool)(arg1)->GetGTDVector(*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetGIVector) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; std::vector< unsigned int > *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_GetGIVector(self,std::vector< unsigned int > &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetGIVector" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_unsigned_int_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_GetGIVector" "', argument " "2"" of type '" "std::vector< unsigned int > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMol_GetGIVector" "', argument " "2"" of type '" "std::vector< unsigned int > &""'"); }
     arg2 = reinterpret_cast< std::vector< unsigned int > * >(argp2); (arg1)->GetGIVector(*arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetGIDVector) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; std::vector< unsigned int > *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_GetGIDVector(self,std::vector< unsigned int > &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetGIDVector" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_unsigned_int_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_GetGIDVector" "', argument " "2"" of type '" "std::vector< unsigned int > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMol_GetGIDVector" "', argument " "2"" of type '" "std::vector< unsigned int > &""'"); }
     arg2 = reinterpret_cast< std::vector< unsigned int > * >(argp2); (arg1)->GetGIDVector(*arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_Has2D__SWIG_0) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ;
    bool val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_Has2D(self,Not3D);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_Has2D" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_Has2D" "', argument " "2"" of type '" "bool""'"); }  
    arg2 = static_cast< bool >(val2); result = (bool)(arg1)->Has2D(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_Has2D__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_Has2D(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_Has2D" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (bool)(arg1)->Has2D();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_Has2D) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_Has2D__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_Has2D__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBMol_Has2D'"); XSRETURN(0); }
XS(_wrap_OBMol_Has3D) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_Has3D(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_Has3D" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (bool)(arg1)->Has3D();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_HasNonZeroCoords) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_HasNonZeroCoords(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_HasNonZeroCoords" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (bool)(arg1)->HasNonZeroCoords();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_HasAromaticPerceived) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_HasAromaticPerceived(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_HasAromaticPerceived" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (bool)(arg1)->HasAromaticPerceived();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_HasSSSRPerceived) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_HasSSSRPerceived(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_HasSSSRPerceived" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (bool)(arg1)->HasSSSRPerceived();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_HasLSSRPerceived) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_HasLSSRPerceived(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_HasLSSRPerceived" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (bool)(arg1)->HasLSSRPerceived();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_HasRingAtomsAndBondsPerceived) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_HasRingAtomsAndBondsPerceived(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_HasRingAtomsAndBondsPerceived" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (bool)(arg1)->HasRingAtomsAndBondsPerceived();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_HasAtomTypesPerceived) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_HasAtomTypesPerceived(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_HasAtomTypesPerceived" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (bool)(arg1)->HasAtomTypesPerceived();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_HasRingTypesPerceived) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_HasRingTypesPerceived(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_HasRingTypesPerceived" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (bool)(arg1)->HasRingTypesPerceived();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_HasChiralityPerceived) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_HasChiralityPerceived(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_HasChiralityPerceived" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (bool)(arg1)->HasChiralityPerceived();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_HasPartialChargesPerceived) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_HasPartialChargesPerceived(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_HasPartialChargesPerceived" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (bool)(arg1)->HasPartialChargesPerceived();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_HasHybridizationPerceived) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_HasHybridizationPerceived(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_HasHybridizationPerceived" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (bool)(arg1)->HasHybridizationPerceived();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_HasImplicitValencePerceived) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_HasImplicitValencePerceived(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_HasImplicitValencePerceived" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (bool)(arg1)->HasImplicitValencePerceived();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_HasKekulePerceived) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_HasKekulePerceived(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_HasKekulePerceived" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (bool)(arg1)->HasKekulePerceived();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_HasClosureBondsPerceived) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_HasClosureBondsPerceived(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_HasClosureBondsPerceived" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (bool)(arg1)->HasClosureBondsPerceived();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_HasChainsPerceived) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_HasChainsPerceived(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_HasChainsPerceived" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (bool)(arg1)->HasChainsPerceived();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_HasHydrogensAdded) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_HasHydrogensAdded(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_HasHydrogensAdded" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (bool)(arg1)->HasHydrogensAdded();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_HasAromaticCorrected) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_HasAromaticCorrected(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_HasAromaticCorrected" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (bool)(arg1)->HasAromaticCorrected();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_IsCorrectedForPH) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_IsCorrectedForPH(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_IsCorrectedForPH" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (bool)(arg1)->IsCorrectedForPH();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_HasSpinMultiplicityAssigned) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_HasSpinMultiplicityAssigned(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_HasSpinMultiplicityAssigned" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (bool)(arg1)->HasSpinMultiplicityAssigned();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_IsChiral) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_IsChiral(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_IsChiral" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (bool)(arg1)->IsChiral();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_Empty) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_Empty(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_Empty" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (bool)(arg1)->Empty();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_NumConformers) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_NumConformers(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_NumConformers" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (int)(arg1)->NumConformers();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_SetConformers) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; std::vector< double * > *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_SetConformers(self,v);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_SetConformers" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_double_p_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_SetConformers" "', argument " "2"" of type '" "std::vector< double * > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMol_SetConformers" "', argument " "2"" of type '" "std::vector< double * > &""'"); }
     arg2 = reinterpret_cast< std::vector< double * > * >(argp2); (arg1)->SetConformers(*arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_AddConformer) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; double *arg2 = (double *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_AddConformer(self,f);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_AddConformer" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_AddConformer" "', argument " "2"" of type '" "double *""'");  }
     arg2 = reinterpret_cast< double * >(argp2); (arg1)->AddConformer(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_SetConformer) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ;
    int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_SetConformer(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_SetConformer" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_SetConformer" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (arg1)->SetConformer(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_CopyConformer) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; double *arg2 = (double *) 0 ; int arg3 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBMol_CopyConformer(self,c,nconf);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_CopyConformer" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_CopyConformer" "', argument " "2"" of type '" "double *""'");  }
     arg2 = reinterpret_cast< double * >(argp2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBMol_CopyConformer" "', argument " "3"" of type '" "int""'"); }
      arg3 = static_cast< int >(val3); (arg1)->CopyConformer(arg2,arg3); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_DeleteConformer) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_DeleteConformer(self,nconf);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_DeleteConformer" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_DeleteConformer" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (arg1)->DeleteConformer(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetConformer) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ;
    int val2 ; int ecode2 = 0 ; int argvi = 0; double *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_GetConformer(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetConformer" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_GetConformer" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (double *)(arg1)->GetConformer(arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_SetEnergies) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; std::vector< double > *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_SetEnergies(self,energies);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_SetEnergies" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_double_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_SetEnergies" "', argument " "2"" of type '" "std::vector< double > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMol_SetEnergies" "', argument " "2"" of type '" "std::vector< double > &""'"); }
     arg2 = reinterpret_cast< std::vector< double > * >(argp2); (arg1)->SetEnergies(*arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetEnergies) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; std::vector< double > result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_GetEnergies(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetEnergies" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (arg1)->GetEnergies(); { size_t len = (&result)->size();
      SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) { svs[i] = sv_newmortal(); sv_setnv(svs[i], result[i]); } 
      AV *myav = av_make(len, svs); delete[] svs; ST(argvi) = newRV_noinc((SV*) myav); sv_2mortal(ST(argvi)); argvi++; } 
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetEnergy__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_GetEnergy(self,ci);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetEnergy" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMol_GetEnergy" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); result = (double)(arg1)->GetEnergy(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetEnergy) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_GetEnergy__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMol_GetEnergy__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBMol_GetEnergy'"); XSRETURN(0); }
XS(_wrap_OBMol_BeginConformer) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ;
    std::vector< double * >::iterator *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; double *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_BeginConformer(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_BeginConformer" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_double_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_BeginConformer" "', argument " "2"" of type '" "std::vector< double * >::iterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMol_BeginConformer" "', argument " "2"" of type '" "std::vector< double * >::iterator &""'"); }
     arg2 = reinterpret_cast< std::vector< double * >::iterator * >(argp2); result = (double *)(arg1)->BeginConformer(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_NextConformer) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ;
    std::vector< double * >::iterator *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; double *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_NextConformer(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_NextConformer" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_double_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_NextConformer" "', argument " "2"" of type '" "std::vector< double * >::iterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMol_NextConformer" "', argument " "2"" of type '" "std::vector< double * >::iterator &""'"); }
     arg2 = reinterpret_cast< std::vector< double * >::iterator * >(argp2); result = (double *)(arg1)->NextConformer(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMol_GetConformers) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; std::vector< double * > *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_GetConformers(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_GetConformers" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (std::vector< double * > *) &(arg1)->GetConformers();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_p_t, 0 | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_BeginAtoms) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    SwigValueWrapper< std::vector< OpenBabel::OBAtom * >::iterator > result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_BeginAtoms(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_BeginAtoms" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (arg1)->BeginAtoms();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBAtomIterator(static_cast< const OpenBabel::OBAtomIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBAtom_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_EndAtoms) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    SwigValueWrapper< std::vector< OpenBabel::OBAtom * >::iterator > result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_EndAtoms(self);"); }  res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_EndAtoms" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (arg1)->EndAtoms();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBAtomIterator(static_cast< const OpenBabel::OBAtomIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBAtom_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_BeginBonds) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    SwigValueWrapper< std::vector< OpenBabel::OBBond * >::iterator > result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_BeginBonds(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_BeginBonds" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (arg1)->BeginBonds();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBBondIterator(static_cast< const OpenBabel::OBBondIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_EndBonds) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    SwigValueWrapper< std::vector< OpenBabel::OBBond * >::iterator > result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMol_EndBonds(self);"); }  res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_EndBonds" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (arg1)->EndBonds();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBBondIterator(static_cast< const OpenBabel::OBBondIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_BeginResidues) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBResidue * >::iterator > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_BeginResidues(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_BeginResidues" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (arg1)->BeginResidues();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBResidueIterator(static_cast< const OpenBabel::OBResidueIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBResidue_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_EndResidues) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBResidue * >::iterator > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMol_EndResidues(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_EndResidues" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); result = (arg1)->EndResidues();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBResidueIterator(static_cast< const OpenBabel::OBResidueIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBResidue_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_BeginAtom) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; OpenBabel::OBAtomIterator *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBMol_BeginAtom(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_BeginAtom" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBAtom_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_BeginAtom" "', argument " "2"" of type '" "OpenBabel::OBAtomIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMol_BeginAtom" "', argument " "2"" of type '" "OpenBabel::OBAtomIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBAtomIterator * >(argp2); result = (OpenBabel::OBAtom *)(arg1)->BeginAtom(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_NextAtom) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; OpenBabel::OBAtomIterator *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBMol_NextAtom(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_NextAtom" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBAtom_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_NextAtom" "', argument " "2"" of type '" "OpenBabel::OBAtomIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMol_NextAtom" "', argument " "2"" of type '" "OpenBabel::OBAtomIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBAtomIterator * >(argp2); result = (OpenBabel::OBAtom *)(arg1)->NextAtom(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_BeginBond) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; OpenBabel::OBBondIterator *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; OpenBabel::OBBond *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBMol_BeginBond(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_BeginBond" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_BeginBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMol_BeginBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBondIterator * >(argp2); result = (OpenBabel::OBBond *)(arg1)->BeginBond(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBond, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_NextBond) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; OpenBabel::OBBondIterator *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; OpenBabel::OBBond *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBMol_NextBond(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_NextBond" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_NextBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMol_NextBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBondIterator * >(argp2); result = (OpenBabel::OBBond *)(arg1)->NextBond(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBond, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_BeginResidue) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; OpenBabel::OBResidueIterator *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; OpenBabel::OBResidue *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBMol_BeginResidue(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_BeginResidue" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBResidue_p_t__iterator,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_BeginResidue" "', argument " "2"" of type '" "OpenBabel::OBResidueIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMol_BeginResidue" "', argument " "2"" of type '" "OpenBabel::OBResidueIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBResidueIterator * >(argp2);
    result = (OpenBabel::OBResidue *)(arg1)->BeginResidue(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBResidue, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_NextResidue) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; OpenBabel::OBResidueIterator *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; OpenBabel::OBResidue *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBMol_NextResidue(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_NextResidue" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBResidue_p_t__iterator,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_NextResidue" "', argument " "2"" of type '" "OpenBabel::OBResidueIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMol_NextResidue" "', argument " "2"" of type '" "OpenBabel::OBResidueIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBResidueIterator * >(argp2);
    result = (OpenBabel::OBResidue *)(arg1)->NextResidue(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBResidue, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_BeginInternalCoord) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ;
    std::vector< OpenBabel::OBInternalCoord * >::iterator *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int argvi = 0; OpenBabel::OBInternalCoord *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_BeginInternalCoord(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_BeginInternalCoord" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBInternalCoord_p_t__iterator,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_BeginInternalCoord" "', argument " "2"" of type '" "std::vector< OpenBabel::OBInternalCoord * >::iterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMol_BeginInternalCoord" "', argument " "2"" of type '" "std::vector< OpenBabel::OBInternalCoord * >::iterator &""'"); }
     arg2 = reinterpret_cast< std::vector< OpenBabel::OBInternalCoord * >::iterator * >(argp2);
    result = (OpenBabel::OBInternalCoord *)(arg1)->BeginInternalCoord(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBInternalCoord, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMol_NextInternalCoord) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ;
    std::vector< OpenBabel::OBInternalCoord * >::iterator *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int argvi = 0; OpenBabel::OBInternalCoord *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMol_NextInternalCoord(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMol_NextInternalCoord" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBInternalCoord_p_t__iterator,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMol_NextInternalCoord" "', argument " "2"" of type '" "std::vector< OpenBabel::OBInternalCoord * >::iterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMol_NextInternalCoord" "', argument " "2"" of type '" "std::vector< OpenBabel::OBInternalCoord * >::iterator &""'"); }
     arg2 = reinterpret_cast< std::vector< OpenBabel::OBInternalCoord * >::iterator * >(argp2);
    result = (OpenBabel::OBInternalCoord *)(arg1)->NextInternalCoord(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBInternalCoord, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_ThrowError__SWIG_0) { { char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: ThrowError(str);"); } 
    res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ThrowError" "', argument " "1"" of type '" "char *""'"); } 
    arg1 = reinterpret_cast< char * >(buf1); OpenBabel::ThrowError(arg1); ST(argvi) = sv_newmortal();
    if (alloc1 == SWIG_NEWOBJ) delete[] buf1; XSRETURN(argvi); fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
    SWIG_croak_null(); }  }
XS(_wrap_ThrowError__SWIG_1) { { std::string *arg1 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: ThrowError(str);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_std__string,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ThrowError" "', argument " "1"" of type '" "std::string &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ThrowError" "', argument " "1"" of type '" "std::string &""'"); }
     arg1 = reinterpret_cast< std::string * >(argp1); OpenBabel::ThrowError(*arg1); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_ThrowError) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_std__string, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { int res = SWIG_AsCharPtrAndSize(ST(0), 0, NULL, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_ThrowError__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_ThrowError__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'ThrowError'"); XSRETURN(0); }
XS(_wrap_CartesianToInternal) { { std::vector< OpenBabel::OBInternalCoord * > *arg1 = 0 ; OpenBabel::OBMol *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: CartesianToInternal(std::vector< OpenBabel::OBInternalCoord * > &,OpenBabel::OBMol &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_std__vectorT_OpenBabel__OBInternalCoord_p_t,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CartesianToInternal" "', argument " "1"" of type '" "std::vector< OpenBabel::OBInternalCoord * > &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CartesianToInternal" "', argument " "1"" of type '" "std::vector< OpenBabel::OBInternalCoord * > &""'"); }
     arg1 = reinterpret_cast< std::vector< OpenBabel::OBInternalCoord * > * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CartesianToInternal" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CartesianToInternal" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); OpenBabel::CartesianToInternal(*arg1,*arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_InternalToCartesian) { { std::vector< OpenBabel::OBInternalCoord * > *arg1 = 0 ; OpenBabel::OBMol *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: InternalToCartesian(std::vector< OpenBabel::OBInternalCoord * > &,OpenBabel::OBMol &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_std__vectorT_OpenBabel__OBInternalCoord_p_t,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InternalToCartesian" "', argument " "1"" of type '" "std::vector< OpenBabel::OBInternalCoord * > &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "InternalToCartesian" "', argument " "1"" of type '" "std::vector< OpenBabel::OBInternalCoord * > &""'"); }
     arg1 = reinterpret_cast< std::vector< OpenBabel::OBInternalCoord * > * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "InternalToCartesian" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "InternalToCartesian" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); OpenBabel::InternalToCartesian(*arg1,*arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_NewExtension) { { std::string *arg1 = 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ;
    char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0; std::string result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: NewExtension(std::string &,char *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_std__string,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NewExtension" "', argument " "1"" of type '" "std::string &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NewExtension" "', argument " "1"" of type '" "std::string &""'"); }
     arg1 = reinterpret_cast< std::string * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NewExtension" "', argument " "2"" of type '" "char *""'"); } 
    arg2 = reinterpret_cast< char * >(buf2); result = OpenBabel::NewExtension(*arg1,arg2);
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap_get_rmat) { { double *arg1 = (double *) 0 ; double *arg2 = (double *) 0 ; double *arg3 = (double *) 0 ; int arg4 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int val4 ;
    int ecode4 = 0 ; int argvi = 0; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: get_rmat(double *,double *,double *,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_rmat" "', argument " "1"" of type '" "double *""'");  } 
    arg1 = reinterpret_cast< double * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "get_rmat" "', argument " "2"" of type '" "double *""'");  } 
    arg2 = reinterpret_cast< double * >(argp2); res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "get_rmat" "', argument " "3"" of type '" "double *""'");  } 
    arg3 = reinterpret_cast< double * >(argp3); ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "get_rmat" "', argument " "4"" of type '" "int""'"); }  
    arg4 = static_cast< int >(val4); OpenBabel::get_rmat(arg1,arg2,arg3,arg4); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_ob_make_rmat) { { double (*arg1)[3] ; double *arg2 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: ob_make_rmat(mat,rmat);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_a_3__double, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ob_make_rmat" "', argument " "1"" of type '" "double [3][3]""'");  }
      arg1 = reinterpret_cast< double (*)[3] >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ob_make_rmat" "', argument " "2"" of type '" "double [9]""'");  }
      arg2 = reinterpret_cast< double * >(argp2); OpenBabel::ob_make_rmat((double (*)[3])arg1,arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_qtrfit) { { double *arg1 = (double *) 0 ; double *arg2 = (double *) 0 ; int arg3 ; double (*arg4)[3] ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; void *argp4 = 0 ;
    int res4 = 0 ; int argvi = 0; dXSARGS; if ((items < 4) || (items > 4)) { SWIG_croak("Usage: qtrfit(r,f,size,u);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "qtrfit" "', argument " "1"" of type '" "double *""'");  } 
    arg1 = reinterpret_cast< double * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "qtrfit" "', argument " "2"" of type '" "double *""'");  } 
    arg2 = reinterpret_cast< double * >(argp2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "qtrfit" "', argument " "3"" of type '" "int""'"); }  
    arg3 = static_cast< int >(val3); res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_a_3__double, 0 |  0 );
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "qtrfit" "', argument " "4"" of type '" "double [3][3]""'");  }  
    arg4 = reinterpret_cast< double (*)[3] >(argp4); OpenBabel::qtrfit(arg1,arg2,arg3,(double (*)[3])arg4);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_superimpose) { { double *arg1 = (double *) 0 ; double *arg2 = (double *) 0 ; int arg3 ; void *argp1 = 0 ;
    int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: superimpose(double *,double *,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "superimpose" "', argument " "1"" of type '" "double *""'");  } 
    arg1 = reinterpret_cast< double * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "superimpose" "', argument " "2"" of type '" "double *""'");  } 
    arg2 = reinterpret_cast< double * >(argp2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "superimpose" "', argument " "3"" of type '" "int""'"); }  
    arg3 = static_cast< int >(val3); result = (double)OpenBabel::superimpose(arg1,arg2,arg3);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRing_ring_id_set) { { OpenBabel::OBRing *arg1 = (OpenBabel::OBRing *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ;
    int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBRing_ring_id_set(self,ring_id);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRing, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRing_ring_id_set" "', argument " "1"" of type '" "OpenBabel::OBRing *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRing * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBRing_ring_id_set" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); if (arg1) (arg1)->ring_id = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRing_ring_id_get) { { OpenBabel::OBRing *arg1 = (OpenBabel::OBRing *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBRing_ring_id_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRing, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRing_ring_id_get" "', argument " "1"" of type '" "OpenBabel::OBRing *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRing * >(argp1); result = (int) ((arg1)->ring_id);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRing__path_set) { { OpenBabel::OBRing *arg1 = (OpenBabel::OBRing *) 0 ; std::vector< int > *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; std::vector< int > temp2 ; std::vector< int > *v2 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBRing__path_set(self,_path);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRing, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRing__path_set" "', argument " "1"" of type '" "OpenBabel::OBRing *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRing * >(argp1); { if (SWIG_ConvertPtr(ST(1),(void **) &v2, 
      SWIGTYPE_p_std__vectorT_int_t,1) != -1) { arg2 = v2; }  else if (SvROK(ST(1))) { AV *av = (AV *)SvRV(ST(1));
        if (SvTYPE(av) != SVt_PVAV) SWIG_croak("Type error in argument 2 of OBRing__path_set. " "Expected an array of ""int");
        SV **tv; I32 len = av_len(av) + 1; for (int i=0; i<len; i++) { tv = av_fetch(av, i, 0); if (SvIOK(*tv)) {
            temp2.push_back((int)SvIVX(*tv)); }  else { SWIG_croak("Type error in argument 2 of " "OBRing__path_set. "
            "Expected an array of ""int"); }  }  arg2 = &temp2; }  else {
        SWIG_croak("Type error in argument 2 of OBRing__path_set. " "Expected an array of ""int"); }  } 
    if (arg1) (arg1)->_path = *arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRing__path_get) { { OpenBabel::OBRing *arg1 = (OpenBabel::OBRing *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; std::vector< int > *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBRing__path_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRing, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRing__path_get" "', argument " "1"" of type '" "OpenBabel::OBRing *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRing * >(argp1); result = (std::vector< int > *) & ((arg1)->_path);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_t, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRing__pathset_set) { { OpenBabel::OBRing *arg1 = (OpenBabel::OBRing *) 0 ; OpenBabel::OBBitVec *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBRing__pathset_set(self,_pathset);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRing, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRing__pathset_set" "', argument " "1"" of type '" "OpenBabel::OBRing *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRing * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBBitVec,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRing__pathset_set" "', argument " "2"" of type '" "OpenBabel::OBBitVec const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRing__pathset_set" "', argument " "2"" of type '" "OpenBabel::OBBitVec const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBitVec * >(argp2); if (arg1) (arg1)->_pathset = *arg2; ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRing__pathset_get) { { OpenBabel::OBRing *arg1 = (OpenBabel::OBRing *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBBitVec *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBRing__pathset_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRing, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRing__pathset_get" "', argument " "1"" of type '" "OpenBabel::OBRing *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRing * >(argp1); result = (OpenBabel::OBBitVec *) & ((arg1)->_pathset);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBitVec, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBRing__SWIG_0) { { int argvi = 0; OpenBabel::OBRing *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_OBRing();"); }  result = (OpenBabel::OBRing *)new OpenBabel::OBRing();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBRing, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBRing__SWIG_1) { { std::vector< int > *arg1 = 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ;
    int ecode2 = 0 ; int argvi = 0; OpenBabel::OBRing *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: new_OBRing(path,size);"); }  res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_std__vectorT_int_t,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBRing" "', argument " "1"" of type '" "std::vector< int > &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBRing" "', argument " "1"" of type '" "std::vector< int > &""'"); }
     arg1 = reinterpret_cast< std::vector< int > * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_OBRing" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); result = (OpenBabel::OBRing *)new OpenBabel::OBRing(*arg1,arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBRing, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBRing__SWIG_2) { { std::vector< int > *arg1 = 0 ; OpenBabel::OBBitVec arg2 ; void *argp1 = 0 ; int res1 = 0 ;
    void *argp2 ; int res2 = 0 ; int argvi = 0; OpenBabel::OBRing *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: new_OBRing(path,set);"); }  res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_std__vectorT_int_t,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBRing" "', argument " "1"" of type '" "std::vector< int > &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBRing" "', argument " "1"" of type '" "std::vector< int > &""'"); }
     arg1 = reinterpret_cast< std::vector< int > * >(argp1); {
      res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBBitVec,  0 ); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_OBRing" "', argument " "2"" of type '" "OpenBabel::OBBitVec""'");  }
         if (!argp2) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBRing" "', argument " "2"" of type '" "OpenBabel::OBBitVec""'"); }
       else { arg2 = *(reinterpret_cast< OpenBabel::OBBitVec * >(argp2)); }  } 
    result = (OpenBabel::OBRing *)new OpenBabel::OBRing(*arg1,arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBRing, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBRing__SWIG_3) { { OpenBabel::OBRing *arg1 = 0 ; void *argp1 ; int res1 = 0 ; int argvi = 0;
    OpenBabel::OBRing *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: new_OBRing(src);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBRing,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBRing" "', argument " "1"" of type '" "OpenBabel::OBRing const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBRing" "', argument " "1"" of type '" "OpenBabel::OBRing const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBRing * >(argp1);
    result = (OpenBabel::OBRing *)new OpenBabel::OBRing((OpenBabel::OBRing const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBRing, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBRing) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBRing, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_std__vectorT_int_t, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBBitVec, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_std__vectorT_int_t, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_4;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 4;
        if (_rank == _rankm) goto dispatch; }  }  check_4: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBRing__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBRing__SWIG_3); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBRing__SWIG_2); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBRing__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'new_OBRing'"); XSRETURN(0); }
XS(_wrap_OBRing_Size) { { OpenBabel::OBRing *arg1 = (OpenBabel::OBRing *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    size_t result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBRing_Size(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRing, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRing_Size" "', argument " "1"" of type '" "OpenBabel::OBRing const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRing * >(argp1); result = ((OpenBabel::OBRing const *)arg1)->Size();
    ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1(static_cast< size_t >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRing_PathSize) { { OpenBabel::OBRing *arg1 = (OpenBabel::OBRing *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; size_t result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBRing_PathSize(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRing, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRing_PathSize" "', argument " "1"" of type '" "OpenBabel::OBRing const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRing * >(argp1); result = ((OpenBabel::OBRing const *)arg1)->PathSize();
    ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1(static_cast< size_t >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRing_IsAromatic) { { OpenBabel::OBRing *arg1 = (OpenBabel::OBRing *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBRing_IsAromatic(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRing, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRing_IsAromatic" "', argument " "1"" of type '" "OpenBabel::OBRing *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRing * >(argp1); result = (bool)(arg1)->IsAromatic();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRing_SetType__SWIG_0) { { OpenBabel::OBRing *arg1 = (OpenBabel::OBRing *) 0 ; char *arg2 = (char *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBRing_SetType(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRing, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRing_SetType" "', argument " "1"" of type '" "OpenBabel::OBRing *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRing * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRing_SetType" "', argument " "2"" of type '" "char *""'"); } 
    arg2 = reinterpret_cast< char * >(buf2); (arg1)->SetType(arg2); ST(argvi) = sv_newmortal();
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap_OBRing_SetType__SWIG_1) { { OpenBabel::OBRing *arg1 = (OpenBabel::OBRing *) 0 ; std::string *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBRing_SetType(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRing, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRing_SetType" "', argument " "1"" of type '" "OpenBabel::OBRing *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRing * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__string,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRing_SetType" "', argument " "2"" of type '" "std::string &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRing_SetType" "', argument " "2"" of type '" "std::string &""'"); }
     arg2 = reinterpret_cast< std::string * >(argp2); (arg1)->SetType(*arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRing_SetType) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBRing, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_std__string, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBRing, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBRing_SetType__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBRing_SetType__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBRing_SetType'"); XSRETURN(0); }
XS(_wrap_OBRing_GetType) { { OpenBabel::OBRing *arg1 = (OpenBabel::OBRing *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBRing_GetType(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRing, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRing_GetType" "', argument " "1"" of type '" "OpenBabel::OBRing *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRing * >(argp1); result = (char *)(arg1)->GetType();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRing_GetRootAtom) { { OpenBabel::OBRing *arg1 = (OpenBabel::OBRing *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBRing_GetRootAtom(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRing, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRing_GetRootAtom" "', argument " "1"" of type '" "OpenBabel::OBRing *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRing * >(argp1); result = (unsigned int)(arg1)->GetRootAtom();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRing_IsMember__SWIG_0) { { OpenBabel::OBRing *arg1 = (OpenBabel::OBRing *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBRing_IsMember(self,a);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRing, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRing_IsMember" "', argument " "1"" of type '" "OpenBabel::OBRing *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRing * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRing_IsMember" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (bool)(arg1)->IsMember(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRing_IsMember__SWIG_1) { { OpenBabel::OBRing *arg1 = (OpenBabel::OBRing *) 0 ;
    OpenBabel::OBBond *arg2 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBRing_IsMember(self,b);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRing, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRing_IsMember" "', argument " "1"" of type '" "OpenBabel::OBRing *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRing * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRing_IsMember" "', argument " "2"" of type '" "OpenBabel::OBBond *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBond * >(argp2); result = (bool)(arg1)->IsMember(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRing_IsMember) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBRing, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBRing, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBBond, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBRing_IsMember__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBRing_IsMember__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBRing_IsMember'"); XSRETURN(0); }
XS(_wrap_OBRing_IsInRing) { { OpenBabel::OBRing *arg1 = (OpenBabel::OBRing *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ;
    int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBRing_IsInRing(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRing, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRing_IsInRing" "', argument " "1"" of type '" "OpenBabel::OBRing *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRing * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBRing_IsInRing" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); result = (bool)(arg1)->IsInRing(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRing_SetParent) { { OpenBabel::OBRing *arg1 = (OpenBabel::OBRing *) 0 ;
    OpenBabel::OBMol *arg2 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBRing_SetParent(self,m);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRing, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRing_SetParent" "', argument " "1"" of type '" "OpenBabel::OBRing *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRing * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRing_SetParent" "', argument " "2"" of type '" "OpenBabel::OBMol *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); (arg1)->SetParent(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBRing_GetParent) { { OpenBabel::OBRing *arg1 = (OpenBabel::OBRing *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBMol *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBRing_GetParent(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRing, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRing_GetParent" "', argument " "1"" of type '" "OpenBabel::OBRing *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRing * >(argp1); result = (OpenBabel::OBMol *)(arg1)->GetParent();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMol, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRing_findCenterAndNormal) { { OpenBabel::OBRing *arg1 = (OpenBabel::OBRing *) 0 ; OpenBabel::vector3 *arg2 = 0 ;
    OpenBabel::vector3 *arg3 = 0 ; OpenBabel::vector3 *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 4) || (items > 4)) { SWIG_croak("Usage: OBRing_findCenterAndNormal(self,center,norm1,norm2);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRing, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRing_findCenterAndNormal" "', argument " "1"" of type '" "OpenBabel::OBRing *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRing * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRing_findCenterAndNormal" "', argument " "2"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRing_findCenterAndNormal" "', argument " "2"" of type '" "OpenBabel::vector3 &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBRing_findCenterAndNormal" "', argument " "3"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRing_findCenterAndNormal" "', argument " "3"" of type '" "OpenBabel::vector3 &""'"); }
     arg3 = reinterpret_cast< OpenBabel::vector3 * >(argp3);
    res4 = SWIG_ConvertPtr(ST(3), &argp4, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBRing_findCenterAndNormal" "', argument " "4"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp4) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRing_findCenterAndNormal" "', argument " "4"" of type '" "OpenBabel::vector3 &""'"); }
     arg4 = reinterpret_cast< OpenBabel::vector3 * >(argp4); result = (bool)(arg1)->findCenterAndNormal(*arg2,*arg3,*arg4);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_delete_OBRing) { { OpenBabel::OBRing *arg1 = (OpenBabel::OBRing *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBRing(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRing, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBRing" "', argument " "1"" of type '" "OpenBabel::OBRing *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRing * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_CompareRingSize) { { OpenBabel::OBRing *arg1 = (OpenBabel::OBRing *) 0 ;
    OpenBabel::OBRing *arg2 = (OpenBabel::OBRing *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: CompareRingSize(OpenBabel::OBRing const *,OpenBabel::OBRing const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRing, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CompareRingSize" "', argument " "1"" of type '" "OpenBabel::OBRing const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRing * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBRing, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CompareRingSize" "', argument " "2"" of type '" "OpenBabel::OBRing const *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBRing * >(argp2);
    result = (bool)OpenBabel::CompareRingSize((OpenBabel::OBRing const *)arg1,(OpenBabel::OBRing const *)arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_new_OBRingSearch) { { int argvi = 0; OpenBabel::OBRingSearch *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_OBRingSearch();"); }  result = (OpenBabel::OBRingSearch *)new OpenBabel::OBRingSearch();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBRingSearch, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBRingSearch) { { OpenBabel::OBRingSearch *arg1 = (OpenBabel::OBRingSearch *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBRingSearch(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRingSearch, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBRingSearch" "', argument " "1"" of type '" "OpenBabel::OBRingSearch *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRingSearch * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBRingSearch_SortRings) { { OpenBabel::OBRingSearch *arg1 = (OpenBabel::OBRingSearch *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBRingSearch_SortRings(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRingSearch, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRingSearch_SortRings" "', argument " "1"" of type '" "OpenBabel::OBRingSearch *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRingSearch * >(argp1); (arg1)->SortRings(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRingSearch_RemoveRedundant) { { OpenBabel::OBRingSearch *arg1 = (OpenBabel::OBRingSearch *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBRingSearch_RemoveRedundant(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRingSearch, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRingSearch_RemoveRedundant" "', argument " "1"" of type '" "OpenBabel::OBRingSearch *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRingSearch * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBRingSearch_RemoveRedundant" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (arg1)->RemoveRedundant(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRingSearch_AddRingFromClosure) { { OpenBabel::OBRingSearch *arg1 = (OpenBabel::OBRingSearch *) 0 ;
    OpenBabel::OBMol *arg2 = 0 ; OpenBabel::OBBond *arg3 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBRingSearch_AddRingFromClosure(self,OpenBabel::OBMol &,OpenBabel::OBBond *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRingSearch, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRingSearch_AddRingFromClosure" "', argument " "1"" of type '" "OpenBabel::OBRingSearch *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRingSearch * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRingSearch_AddRingFromClosure" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRingSearch_AddRingFromClosure" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBRingSearch_AddRingFromClosure" "', argument " "3"" of type '" "OpenBabel::OBBond *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBBond * >(argp3); (arg1)->AddRingFromClosure(*arg2,arg3); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRingSearch_SaveUniqueRing) { { OpenBabel::OBRingSearch *arg1 = (OpenBabel::OBRingSearch *) 0 ;
    std::deque< int > *arg2 = 0 ; std::deque< int > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBRingSearch_SaveUniqueRing(self,std::deque< int > &,std::deque< int > &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRingSearch, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRingSearch_SaveUniqueRing" "', argument " "1"" of type '" "OpenBabel::OBRingSearch *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRingSearch * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__dequeT_int_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRingSearch_SaveUniqueRing" "', argument " "2"" of type '" "std::deque< int > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRingSearch_SaveUniqueRing" "', argument " "2"" of type '" "std::deque< int > &""'"); }
     arg2 = reinterpret_cast< std::deque< int > * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_std__dequeT_int_t,  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBRingSearch_SaveUniqueRing" "', argument " "3"" of type '" "std::deque< int > &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRingSearch_SaveUniqueRing" "', argument " "3"" of type '" "std::deque< int > &""'"); }
     arg3 = reinterpret_cast< std::deque< int > * >(argp3); result = (bool)(arg1)->SaveUniqueRing(*arg2,*arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRingSearch_WriteRings) { { OpenBabel::OBRingSearch *arg1 = (OpenBabel::OBRingSearch *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBRingSearch_WriteRings(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRingSearch, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRingSearch_WriteRings" "', argument " "1"" of type '" "OpenBabel::OBRingSearch *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRingSearch * >(argp1); (arg1)->WriteRings(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRingSearch_BeginRings) { { OpenBabel::OBRingSearch *arg1 = (OpenBabel::OBRingSearch *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBRing * >::iterator > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBRingSearch_BeginRings(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRingSearch, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRingSearch_BeginRings" "', argument " "1"" of type '" "OpenBabel::OBRingSearch *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRingSearch * >(argp1); result = (arg1)->BeginRings();
    ST(argvi) = SWIG_NewPointerObj((new std::vector< OpenBabel::OBRing * >::iterator(static_cast< const std::vector< OpenBabel::OBRing * >::iterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBRing_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRingSearch_EndRings) { { OpenBabel::OBRingSearch *arg1 = (OpenBabel::OBRingSearch *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBRing * >::iterator > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBRingSearch_EndRings(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRingSearch, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRingSearch_EndRings" "', argument " "1"" of type '" "OpenBabel::OBRingSearch *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRingSearch * >(argp1); result = (arg1)->EndRings();
    ST(argvi) = SWIG_NewPointerObj((new std::vector< OpenBabel::OBRing * >::iterator(static_cast< const std::vector< OpenBabel::OBRing * >::iterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBRing_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBRTree) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ;
    OpenBabel::OBRTree *arg2 = (OpenBabel::OBRTree *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; OpenBabel::OBRTree *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: new_OBRTree(OpenBabel::OBAtom *,OpenBabel::OBRTree *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBRTree" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBRTree, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_OBRTree" "', argument " "2"" of type '" "OpenBabel::OBRTree *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBRTree * >(argp2); result = (OpenBabel::OBRTree *)new OpenBabel::OBRTree(arg1,arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBRTree, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBRTree) { { OpenBabel::OBRTree *arg1 = (OpenBabel::OBRTree *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBRTree(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRTree, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBRTree" "', argument " "1"" of type '" "OpenBabel::OBRTree *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRTree * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRTree_GetAtomIdx) { { OpenBabel::OBRTree *arg1 = (OpenBabel::OBRTree *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBRTree_GetAtomIdx(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRTree, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRTree_GetAtomIdx" "', argument " "1"" of type '" "OpenBabel::OBRTree *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRTree * >(argp1); result = (int)(arg1)->GetAtomIdx();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRTree_PathToRoot) { { OpenBabel::OBRTree *arg1 = (OpenBabel::OBRTree *) 0 ;
    std::vector< OpenBabel::OBAtom * > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBRTree_PathToRoot(self,std::vector< OpenBabel::OBAtom * > &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRTree, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRTree_PathToRoot" "', argument " "1"" of type '" "OpenBabel::OBRTree *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRTree * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBAtom_p_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRTree_PathToRoot" "', argument " "2"" of type '" "std::vector< OpenBabel::OBAtom * > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRTree_PathToRoot" "', argument " "2"" of type '" "std::vector< OpenBabel::OBAtom * > &""'"); }
     arg2 = reinterpret_cast< std::vector< OpenBabel::OBAtom * > * >(argp2); (arg1)->PathToRoot(*arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBSmartsPattern__SWIG_0) { { int argvi = 0; OpenBabel::OBSmartsPattern *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_OBSmartsPattern();"); } 
    result = (OpenBabel::OBSmartsPattern *)new OpenBabel::OBSmartsPattern();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBSmartsPattern, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBSmartsPattern) { { OpenBabel::OBSmartsPattern *arg1 = (OpenBabel::OBSmartsPattern *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: delete_OBSmartsPattern(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSmartsPattern, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBSmartsPattern" "', argument " "1"" of type '" "OpenBabel::OBSmartsPattern *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSmartsPattern * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBSmartsPattern__SWIG_1) { { OpenBabel::OBSmartsPattern *arg1 = 0 ; void *argp1 ; int res1 = 0 ; int argvi = 0;
    OpenBabel::OBSmartsPattern *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new_OBSmartsPattern(cp);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBSmartsPattern,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBSmartsPattern" "', argument " "1"" of type '" "OpenBabel::OBSmartsPattern const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBSmartsPattern" "', argument " "1"" of type '" "OpenBabel::OBSmartsPattern const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBSmartsPattern * >(argp1);
    result = (OpenBabel::OBSmartsPattern *)new OpenBabel::OBSmartsPattern((OpenBabel::OBSmartsPattern const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBSmartsPattern, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBSmartsPattern) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBSmartsPattern__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBSmartsPattern__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'new_OBSmartsPattern'"); XSRETURN(0); }
XS(_wrap_OBSmartsPattern_Init__SWIG_0) { { OpenBabel::OBSmartsPattern *arg1 = (OpenBabel::OBSmartsPattern *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBSmartsPattern_Init(self,pattern);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSmartsPattern_Init" "', argument " "1"" of type '" "OpenBabel::OBSmartsPattern *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSmartsPattern * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBSmartsPattern_Init" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); result = (bool)(arg1)->Init((char const *)arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap_OBSmartsPattern_Init__SWIG_1) { { OpenBabel::OBSmartsPattern *arg1 = (OpenBabel::OBSmartsPattern *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBSmartsPattern_Init(self,pattern);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSmartsPattern_Init" "', argument " "1"" of type '" "OpenBabel::OBSmartsPattern *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSmartsPattern * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBSmartsPattern_Init" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBSmartsPattern_Init" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  result = (bool)(arg1)->Init((std::string const &)*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap_OBSmartsPattern_Init) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBSmartsPattern_Init__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBSmartsPattern_Init__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBSmartsPattern_Init'"); XSRETURN(0); }
XS(_wrap_OBSmartsPattern_GetSMARTS__SWIG_0) { { OpenBabel::OBSmartsPattern *arg1 = (OpenBabel::OBSmartsPattern *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; std::string *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBSmartsPattern_GetSMARTS(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSmartsPattern_GetSMARTS" "', argument " "1"" of type '" "OpenBabel::OBSmartsPattern const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSmartsPattern * >(argp1);
    result = (std::string *) &((OpenBabel::OBSmartsPattern const *)arg1)->GetSMARTS();
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(*result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBSmartsPattern_GetSMARTS__SWIG_1) { { OpenBabel::OBSmartsPattern *arg1 = (OpenBabel::OBSmartsPattern *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; std::string *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBSmartsPattern_GetSMARTS(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSmartsPattern_GetSMARTS" "', argument " "1"" of type '" "OpenBabel::OBSmartsPattern *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSmartsPattern * >(argp1); result = (std::string *) &(arg1)->GetSMARTS();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__string, 0 | 0); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBSmartsPattern_GetSMARTS) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBSmartsPattern_GetSMARTS__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBSmartsPattern_GetSMARTS__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBSmartsPattern_GetSMARTS'"); XSRETURN(0); }
XS(_wrap_OBSmartsPattern_Empty) { { OpenBabel::OBSmartsPattern *arg1 = (OpenBabel::OBSmartsPattern *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBSmartsPattern_Empty(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSmartsPattern_Empty" "', argument " "1"" of type '" "OpenBabel::OBSmartsPattern const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSmartsPattern * >(argp1);
    result = (bool)((OpenBabel::OBSmartsPattern const *)arg1)->Empty();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBSmartsPattern_IsValid) { { OpenBabel::OBSmartsPattern *arg1 = (OpenBabel::OBSmartsPattern *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBSmartsPattern_IsValid(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSmartsPattern_IsValid" "', argument " "1"" of type '" "OpenBabel::OBSmartsPattern const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSmartsPattern * >(argp1);
    result = (bool)((OpenBabel::OBSmartsPattern const *)arg1)->IsValid();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBSmartsPattern_NumAtoms) { { OpenBabel::OBSmartsPattern *arg1 = (OpenBabel::OBSmartsPattern *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBSmartsPattern_NumAtoms(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSmartsPattern_NumAtoms" "', argument " "1"" of type '" "OpenBabel::OBSmartsPattern const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSmartsPattern * >(argp1);
    result = (unsigned int)((OpenBabel::OBSmartsPattern const *)arg1)->NumAtoms();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBSmartsPattern_NumBonds) { { OpenBabel::OBSmartsPattern *arg1 = (OpenBabel::OBSmartsPattern *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBSmartsPattern_NumBonds(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSmartsPattern_NumBonds" "', argument " "1"" of type '" "OpenBabel::OBSmartsPattern const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSmartsPattern * >(argp1);
    result = (unsigned int)((OpenBabel::OBSmartsPattern const *)arg1)->NumBonds();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBSmartsPattern_GetBond) { { OpenBabel::OBSmartsPattern *arg1 = (OpenBabel::OBSmartsPattern *) 0 ; int *arg2 = 0 ;
    int *arg3 = 0 ; int *arg4 = 0 ; int arg5 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; int val5 ; int ecode5 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 5) || (items > 5)) { SWIG_croak("Usage: OBSmartsPattern_GetBond(self,src,dst,ord,idx);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSmartsPattern_GetBond" "', argument " "1"" of type '" "OpenBabel::OBSmartsPattern *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSmartsPattern * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_int,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBSmartsPattern_GetBond" "', argument " "2"" of type '" "int &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBSmartsPattern_GetBond" "', argument " "2"" of type '" "int &""'"); }
     arg2 = reinterpret_cast< int * >(argp2); res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_int,  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBSmartsPattern_GetBond" "', argument " "3"" of type '" "int &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBSmartsPattern_GetBond" "', argument " "3"" of type '" "int &""'"); }
     arg3 = reinterpret_cast< int * >(argp3); res4 = SWIG_ConvertPtr(ST(3), &argp4, SWIGTYPE_p_int,  0 );
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBSmartsPattern_GetBond" "', argument " "4"" of type '" "int &""'");  }
     if (!argp4) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBSmartsPattern_GetBond" "', argument " "4"" of type '" "int &""'"); }
     arg4 = reinterpret_cast< int * >(argp4); ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "OBSmartsPattern_GetBond" "', argument " "5"" of type '" "int""'"); }
      arg5 = static_cast< int >(val5); (arg1)->GetBond(*arg2,*arg3,*arg4,arg5); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBSmartsPattern_GetAtomicNum) { { OpenBabel::OBSmartsPattern *arg1 = (OpenBabel::OBSmartsPattern *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; int result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBSmartsPattern_GetAtomicNum(self,idx);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSmartsPattern_GetAtomicNum" "', argument " "1"" of type '" "OpenBabel::OBSmartsPattern *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSmartsPattern * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBSmartsPattern_GetAtomicNum" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (int)(arg1)->GetAtomicNum(arg2);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBSmartsPattern_GetCharge) { { OpenBabel::OBSmartsPattern *arg1 = (OpenBabel::OBSmartsPattern *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; int result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBSmartsPattern_GetCharge(self,idx);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSmartsPattern_GetCharge" "', argument " "1"" of type '" "OpenBabel::OBSmartsPattern *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSmartsPattern * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBSmartsPattern_GetCharge" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (int)(arg1)->GetCharge(arg2);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBSmartsPattern_GetVectorBinding) { { OpenBabel::OBSmartsPattern *arg1 = (OpenBabel::OBSmartsPattern *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; int result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBSmartsPattern_GetVectorBinding(self,idx);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSmartsPattern_GetVectorBinding" "', argument " "1"" of type '" "OpenBabel::OBSmartsPattern const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSmartsPattern * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBSmartsPattern_GetVectorBinding" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (int)((OpenBabel::OBSmartsPattern const *)arg1)->GetVectorBinding(arg2);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBSmartsPattern_Match__SWIG_0) { { OpenBabel::OBSmartsPattern *arg1 = (OpenBabel::OBSmartsPattern *) 0 ;
    OpenBabel::OBMol *arg2 = 0 ; bool arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; bool val3 ;
    int ecode3 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBSmartsPattern_Match(self,mol,single);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSmartsPattern_Match" "', argument " "1"" of type '" "OpenBabel::OBSmartsPattern *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSmartsPattern * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBSmartsPattern_Match" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBSmartsPattern_Match" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); ecode3 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBSmartsPattern_Match" "', argument " "3"" of type '" "bool""'"); }
      arg3 = static_cast< bool >(val3); result = (bool)(arg1)->Match(*arg2,arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBSmartsPattern_Match__SWIG_1) { { OpenBabel::OBSmartsPattern *arg1 = (OpenBabel::OBSmartsPattern *) 0 ;
    OpenBabel::OBMol *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBSmartsPattern_Match(self,mol);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSmartsPattern_Match" "', argument " "1"" of type '" "OpenBabel::OBSmartsPattern *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSmartsPattern * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBSmartsPattern_Match" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBSmartsPattern_Match" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); result = (bool)(arg1)->Match(*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBSmartsPattern_Match__SWIG_2) { { OpenBabel::OBSmartsPattern *arg1 = (OpenBabel::OBSmartsPattern *) 0 ;
    OpenBabel::OBMol *arg2 = 0 ; std::vector< std::vector< int > > *arg3 = 0 ; OpenBabel::OBSmartsPattern::MatchType arg4 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int val4 ;
    int ecode4 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: OBSmartsPattern_Match(self,mol,mlist,mtype);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSmartsPattern_Match" "', argument " "1"" of type '" "OpenBabel::OBSmartsPattern const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSmartsPattern * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBSmartsPattern_Match" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBSmartsPattern_Match" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_std__vectorT_std__vectorT_int_t_t,  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBSmartsPattern_Match" "', argument " "3"" of type '" "std::vector< std::vector< int > > &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBSmartsPattern_Match" "', argument " "3"" of type '" "std::vector< std::vector< int > > &""'"); }
     arg3 = reinterpret_cast< std::vector< std::vector< int > > * >(argp3);
    ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4); if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBSmartsPattern_Match" "', argument " "4"" of type '" "OpenBabel::OBSmartsPattern::MatchType""'"); }
      arg4 = static_cast< OpenBabel::OBSmartsPattern::MatchType >(val4);
    result = (bool)((OpenBabel::OBSmartsPattern const *)arg1)->Match(*arg2,*arg3,arg4);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBSmartsPattern_Match__SWIG_3) { { OpenBabel::OBSmartsPattern *arg1 = (OpenBabel::OBSmartsPattern *) 0 ;
    OpenBabel::OBMol *arg2 = 0 ; std::vector< std::vector< int > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
    void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBSmartsPattern_Match(self,mol,mlist);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSmartsPattern_Match" "', argument " "1"" of type '" "OpenBabel::OBSmartsPattern const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSmartsPattern * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBSmartsPattern_Match" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBSmartsPattern_Match" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_std__vectorT_std__vectorT_int_t_t,  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBSmartsPattern_Match" "', argument " "3"" of type '" "std::vector< std::vector< int > > &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBSmartsPattern_Match" "', argument " "3"" of type '" "std::vector< std::vector< int > > &""'"); }
     arg3 = reinterpret_cast< std::vector< std::vector< int > > * >(argp3);
    result = (bool)((OpenBabel::OBSmartsPattern const *)arg1)->Match(*arg2,*arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBSmartsPattern_Match) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_std__vectorT_std__vectorT_int_t_t, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 4) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_std__vectorT_std__vectorT_int_t_t, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_4;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 4;
        if (_rank == _rankm) goto dispatch; }  }  check_4: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBSmartsPattern_Match__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBSmartsPattern_Match__SWIG_3); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBSmartsPattern_Match__SWIG_0); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBSmartsPattern_Match__SWIG_2); return; }  } 
  croak("No matching function for overloaded 'OBSmartsPattern_Match'"); XSRETURN(0); }
XS(_wrap_OBSmartsPattern_HasMatch) { { OpenBabel::OBSmartsPattern *arg1 = (OpenBabel::OBSmartsPattern *) 0 ;
    OpenBabel::OBMol *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBSmartsPattern_HasMatch(self,mol);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSmartsPattern_HasMatch" "', argument " "1"" of type '" "OpenBabel::OBSmartsPattern const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSmartsPattern * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBSmartsPattern_HasMatch" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBSmartsPattern_HasMatch" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2);
    result = (bool)((OpenBabel::OBSmartsPattern const *)arg1)->HasMatch(*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBSmartsPattern_RestrictedMatch__SWIG_0) { { OpenBabel::OBSmartsPattern *arg1 = (OpenBabel::OBSmartsPattern *) 0 ;
    OpenBabel::OBMol *arg2 = 0 ; std::vector< std::pair< int,int > > *arg3 = 0 ; bool arg4 ; void *argp1 = 0 ; int res1 = 0 ;
    void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; bool val4 ; int ecode4 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 4) || (items > 4)) { SWIG_croak("Usage: OBSmartsPattern_RestrictedMatch(self,mol,pairs,single);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSmartsPattern_RestrictedMatch" "', argument " "1"" of type '" "OpenBabel::OBSmartsPattern *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSmartsPattern * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBSmartsPattern_RestrictedMatch" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBSmartsPattern_RestrictedMatch" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t,  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBSmartsPattern_RestrictedMatch" "', argument " "3"" of type '" "std::vector< std::pair< int,int > > &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBSmartsPattern_RestrictedMatch" "', argument " "3"" of type '" "std::vector< std::pair< int,int > > &""'"); }
     arg3 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp3);
    ecode4 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(3), &val4); if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBSmartsPattern_RestrictedMatch" "', argument " "4"" of type '" "bool""'"); }
      arg4 = static_cast< bool >(val4); result = (bool)(arg1)->RestrictedMatch(*arg2,*arg3,arg4);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBSmartsPattern_RestrictedMatch__SWIG_1) { { OpenBabel::OBSmartsPattern *arg1 = (OpenBabel::OBSmartsPattern *) 0 ;
    OpenBabel::OBMol *arg2 = 0 ; std::vector< std::pair< int,int > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
    void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBSmartsPattern_RestrictedMatch(self,mol,pairs);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSmartsPattern_RestrictedMatch" "', argument " "1"" of type '" "OpenBabel::OBSmartsPattern *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSmartsPattern * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBSmartsPattern_RestrictedMatch" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBSmartsPattern_RestrictedMatch" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t,  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBSmartsPattern_RestrictedMatch" "', argument " "3"" of type '" "std::vector< std::pair< int,int > > &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBSmartsPattern_RestrictedMatch" "', argument " "3"" of type '" "std::vector< std::pair< int,int > > &""'"); }
     arg3 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp3);
    result = (bool)(arg1)->RestrictedMatch(*arg2,*arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBSmartsPattern_RestrictedMatch__SWIG_2) { { OpenBabel::OBSmartsPattern *arg1 = (OpenBabel::OBSmartsPattern *) 0 ;
    OpenBabel::OBMol *arg2 = 0 ; OpenBabel::OBBitVec *arg3 = 0 ; bool arg4 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; bool val4 ; int ecode4 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 4) || (items > 4)) { SWIG_croak("Usage: OBSmartsPattern_RestrictedMatch(self,mol,bv,single);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSmartsPattern_RestrictedMatch" "', argument " "1"" of type '" "OpenBabel::OBSmartsPattern *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSmartsPattern * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBSmartsPattern_RestrictedMatch" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBSmartsPattern_RestrictedMatch" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_OpenBabel__OBBitVec,  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBSmartsPattern_RestrictedMatch" "', argument " "3"" of type '" "OpenBabel::OBBitVec &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBSmartsPattern_RestrictedMatch" "', argument " "3"" of type '" "OpenBabel::OBBitVec &""'"); }
     arg3 = reinterpret_cast< OpenBabel::OBBitVec * >(argp3); ecode4 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBSmartsPattern_RestrictedMatch" "', argument " "4"" of type '" "bool""'"); }
      arg4 = static_cast< bool >(val4); result = (bool)(arg1)->RestrictedMatch(*arg2,*arg3,arg4);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBSmartsPattern_RestrictedMatch__SWIG_3) { { OpenBabel::OBSmartsPattern *arg1 = (OpenBabel::OBSmartsPattern *) 0 ;
    OpenBabel::OBMol *arg2 = 0 ; OpenBabel::OBBitVec *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBSmartsPattern_RestrictedMatch(self,mol,bv);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSmartsPattern_RestrictedMatch" "', argument " "1"" of type '" "OpenBabel::OBSmartsPattern *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSmartsPattern * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBSmartsPattern_RestrictedMatch" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBSmartsPattern_RestrictedMatch" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_OpenBabel__OBBitVec,  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBSmartsPattern_RestrictedMatch" "', argument " "3"" of type '" "OpenBabel::OBBitVec &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBSmartsPattern_RestrictedMatch" "', argument " "3"" of type '" "OpenBabel::OBBitVec &""'"); }
     arg3 = reinterpret_cast< OpenBabel::OBBitVec * >(argp3); result = (bool)(arg1)->RestrictedMatch(*arg2,*arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBSmartsPattern_RestrictedMatch) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_OpenBabel__OBBitVec, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 4) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_OpenBabel__OBBitVec, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 4) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_4;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 4;
        if (_rank == _rankm) goto dispatch; }  }  check_4: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBSmartsPattern_RestrictedMatch__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBSmartsPattern_RestrictedMatch__SWIG_3); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBSmartsPattern_RestrictedMatch__SWIG_2); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBSmartsPattern_RestrictedMatch__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBSmartsPattern_RestrictedMatch'"); XSRETURN(0); }
XS(_wrap_OBSmartsPattern_NumMatches) { { OpenBabel::OBSmartsPattern *arg1 = (OpenBabel::OBSmartsPattern *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBSmartsPattern_NumMatches(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSmartsPattern_NumMatches" "', argument " "1"" of type '" "OpenBabel::OBSmartsPattern const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSmartsPattern * >(argp1);
    result = (unsigned int)((OpenBabel::OBSmartsPattern const *)arg1)->NumMatches();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBSmartsPattern_GetMapList) { { OpenBabel::OBSmartsPattern *arg1 = (OpenBabel::OBSmartsPattern *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::vector< std::vector< int > > *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBSmartsPattern_GetMapList(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSmartsPattern_GetMapList" "', argument " "1"" of type '" "OpenBabel::OBSmartsPattern *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSmartsPattern * >(argp1);
    result = (std::vector< std::vector< int > > *) &(arg1)->GetMapList();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__vectorT_int_t_t, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBSmartsPattern_BeginMList) { { OpenBabel::OBSmartsPattern *arg1 = (OpenBabel::OBSmartsPattern *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< std::vector< int > >::iterator > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBSmartsPattern_BeginMList(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSmartsPattern_BeginMList" "', argument " "1"" of type '" "OpenBabel::OBSmartsPattern *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSmartsPattern * >(argp1); result = (arg1)->BeginMList();
    ST(argvi) = SWIG_NewPointerObj((new std::vector< std::vector< int > >::iterator(static_cast< const std::vector< std::vector< int > >::iterator& >(result))), SWIGTYPE_p_std__vectorT_std__vectorT_int_t_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBSmartsPattern_EndMList) { { OpenBabel::OBSmartsPattern *arg1 = (OpenBabel::OBSmartsPattern *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< std::vector< int > >::iterator > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBSmartsPattern_EndMList(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSmartsPattern_EndMList" "', argument " "1"" of type '" "OpenBabel::OBSmartsPattern *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSmartsPattern * >(argp1); result = (arg1)->EndMList();
    ST(argvi) = SWIG_NewPointerObj((new std::vector< std::vector< int > >::iterator(static_cast< const std::vector< std::vector< int > >::iterator& >(result))), SWIGTYPE_p_std__vectorT_std__vectorT_int_t_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBSmartsPattern_GetUMapList) { { OpenBabel::OBSmartsPattern *arg1 = (OpenBabel::OBSmartsPattern *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; std::vector< std::vector< int > > *result = 0 ; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBSmartsPattern_GetUMapList(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSmartsPattern_GetUMapList" "', argument " "1"" of type '" "OpenBabel::OBSmartsPattern *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSmartsPattern * >(argp1);
    result = (std::vector< std::vector< int > > *) &(arg1)->GetUMapList();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__vectorT_int_t_t, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBSmartsPattern_WriteMapList) { { OpenBabel::OBSmartsPattern *arg1 = (OpenBabel::OBSmartsPattern *) 0 ;
    std::ostream *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBSmartsPattern_WriteMapList(self,std::ostream &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSmartsPattern_WriteMapList" "', argument " "1"" of type '" "OpenBabel::OBSmartsPattern *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSmartsPattern * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__ostream,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBSmartsPattern_WriteMapList" "', argument " "2"" of type '" "std::ostream &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBSmartsPattern_WriteMapList" "', argument " "2"" of type '" "std::ostream &""'"); }
     arg2 = reinterpret_cast< std::ostream * >(argp2); (arg1)->WriteMapList(*arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBSmartsMatcher) { { int argvi = 0; OpenBabel::OBSmartsMatcher *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_OBSmartsMatcher();"); } 
    result = (OpenBabel::OBSmartsMatcher *)new OpenBabel::OBSmartsMatcher();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBSmartsMatcher, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBSmartsMatcher) { { OpenBabel::OBSmartsMatcher *arg1 = (OpenBabel::OBSmartsMatcher *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: delete_OBSmartsMatcher(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSmartsMatcher, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBSmartsMatcher" "', argument " "1"" of type '" "OpenBabel::OBSmartsMatcher *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSmartsMatcher * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBSmartsMatcher_match__SWIG_0) { { OpenBabel::OBSmartsMatcher *arg1 = (OpenBabel::OBSmartsMatcher *) 0 ;
    OpenBabel::OBMol *arg2 = 0 ; OpenBabel::Pattern *arg3 = (OpenBabel::Pattern *) 0 ;
    std::vector< std::vector< int > > *arg4 = 0 ; bool arg5 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; bool val5 ; int ecode5 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 5) || (items > 5)) { SWIG_croak("Usage: OBSmartsMatcher_match(self,mol,pat,mlist,single);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSmartsMatcher, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSmartsMatcher_match" "', argument " "1"" of type '" "OpenBabel::OBSmartsMatcher *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSmartsMatcher * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBSmartsMatcher_match" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBSmartsMatcher_match" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__Pattern, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBSmartsMatcher_match" "', argument " "3"" of type '" "OpenBabel::Pattern const *""'");  }
     arg3 = reinterpret_cast< OpenBabel::Pattern * >(argp3);
    res4 = SWIG_ConvertPtr(ST(3), &argp4, SWIGTYPE_p_std__vectorT_std__vectorT_int_t_t,  0 ); if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBSmartsMatcher_match" "', argument " "4"" of type '" "std::vector< std::vector< int > > &""'");  }
     if (!argp4) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBSmartsMatcher_match" "', argument " "4"" of type '" "std::vector< std::vector< int > > &""'"); }
     arg4 = reinterpret_cast< std::vector< std::vector< int > > * >(argp4);
    ecode5 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(4), &val5); if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "OBSmartsMatcher_match" "', argument " "5"" of type '" "bool""'"); }
      arg5 = static_cast< bool >(val5); result = (bool)(arg1)->match(*arg2,(OpenBabel::Pattern const *)arg3,*arg4,arg5);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBSmartsMatcher_match__SWIG_1) { { OpenBabel::OBSmartsMatcher *arg1 = (OpenBabel::OBSmartsMatcher *) 0 ;
    OpenBabel::OBMol *arg2 = 0 ; OpenBabel::Pattern *arg3 = (OpenBabel::Pattern *) 0 ;
    std::vector< std::vector< int > > *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 4) || (items > 4)) { SWIG_croak("Usage: OBSmartsMatcher_match(self,mol,pat,mlist);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSmartsMatcher, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSmartsMatcher_match" "', argument " "1"" of type '" "OpenBabel::OBSmartsMatcher *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSmartsMatcher * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBSmartsMatcher_match" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBSmartsMatcher_match" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__Pattern, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBSmartsMatcher_match" "', argument " "3"" of type '" "OpenBabel::Pattern const *""'");  }
     arg3 = reinterpret_cast< OpenBabel::Pattern * >(argp3);
    res4 = SWIG_ConvertPtr(ST(3), &argp4, SWIGTYPE_p_std__vectorT_std__vectorT_int_t_t,  0 ); if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBSmartsMatcher_match" "', argument " "4"" of type '" "std::vector< std::vector< int > > &""'");  }
     if (!argp4) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBSmartsMatcher_match" "', argument " "4"" of type '" "std::vector< std::vector< int > > &""'"); }
     arg4 = reinterpret_cast< std::vector< std::vector< int > > * >(argp4);
    result = (bool)(arg1)->match(*arg2,(OpenBabel::Pattern const *)arg3,*arg4);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBSmartsMatcher_match) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 4) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBSmartsMatcher, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_OpenBabel__Pattern, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(3), &vptr, SWIGTYPE_p_std__vectorT_std__vectorT_int_t_t, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 5) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBSmartsMatcher, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_OpenBabel__Pattern, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(3), &vptr, SWIGTYPE_p_std__vectorT_std__vectorT_int_t_t, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(4), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBSmartsMatcher_match__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBSmartsMatcher_match__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBSmartsMatcher_match'"); XSRETURN(0); }
XS(_wrap_new_OBSSMatch) { { OpenBabel::OBMol *arg1 = 0 ; OpenBabel::Pattern *arg2 = (OpenBabel::Pattern *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; OpenBabel::OBSSMatch *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: new_OBSSMatch(OpenBabel::OBMol &,OpenBabel::Pattern const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBSSMatch" "', argument " "1"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBSSMatch" "', argument " "1"" of type '" "OpenBabel::OBMol &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__Pattern, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_OBSSMatch" "', argument " "2"" of type '" "OpenBabel::Pattern const *""'");  }
     arg2 = reinterpret_cast< OpenBabel::Pattern * >(argp2);
    result = (OpenBabel::OBSSMatch *)new OpenBabel::OBSSMatch(*arg1,(OpenBabel::Pattern const *)arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBSSMatch, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBSSMatch) { { OpenBabel::OBSSMatch *arg1 = (OpenBabel::OBSSMatch *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBSSMatch(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSSMatch, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBSSMatch" "', argument " "1"" of type '" "OpenBabel::OBSSMatch *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSSMatch * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBSSMatch_Match__SWIG_0) { { OpenBabel::OBSSMatch *arg1 = (OpenBabel::OBSSMatch *) 0 ;
    std::vector< std::vector< int > > *arg2 = 0 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int val3 ; int ecode3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBSSMatch_Match(self,v,bidx);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSSMatch, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSSMatch_Match" "', argument " "1"" of type '" "OpenBabel::OBSSMatch *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSSMatch * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_std__vectorT_int_t_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBSSMatch_Match" "', argument " "2"" of type '" "std::vector< std::vector< int > > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBSSMatch_Match" "', argument " "2"" of type '" "std::vector< std::vector< int > > &""'"); }
     arg2 = reinterpret_cast< std::vector< std::vector< int > > * >(argp2);
    ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBSSMatch_Match" "', argument " "3"" of type '" "int""'"); }  
    arg3 = static_cast< int >(val3); (arg1)->Match(*arg2,arg3); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBSSMatch_Match__SWIG_1) { { OpenBabel::OBSSMatch *arg1 = (OpenBabel::OBSSMatch *) 0 ;
    std::vector< std::vector< int > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBSSMatch_Match(self,v);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBSSMatch, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBSSMatch_Match" "', argument " "1"" of type '" "OpenBabel::OBSSMatch *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBSSMatch * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_std__vectorT_int_t_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBSSMatch_Match" "', argument " "2"" of type '" "std::vector< std::vector< int > > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBSSMatch_Match" "', argument " "2"" of type '" "std::vector< std::vector< int > > &""'"); }
     arg2 = reinterpret_cast< std::vector< std::vector< int > > * >(argp2); (arg1)->Match(*arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBSSMatch_Match) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBSSMatch, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_std__vectorT_std__vectorT_int_t_t, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBSSMatch, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_std__vectorT_std__vectorT_int_t_t, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBSSMatch_Match__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBSSMatch_Match__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBSSMatch_Match'"); XSRETURN(0); }
XS(_wrap_SmartsLexReplace) { { std::string *arg1 = 0 ; std::vector< std::pair< std::string,std::string > > *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: SmartsLexReplace(std::string &,std::vector< std::pair< std::string,std::string > > &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_std__string,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SmartsLexReplace" "', argument " "1"" of type '" "std::string &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SmartsLexReplace" "', argument " "1"" of type '" "std::string &""'"); }
     arg1 = reinterpret_cast< std::string * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_std__pairT_std__string_std__string_t_t,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SmartsLexReplace" "', argument " "2"" of type '" "std::vector< std::pair< std::string,std::string > > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SmartsLexReplace" "', argument " "2"" of type '" "std::vector< std::pair< std::string,std::string > > &""'"); }
     arg2 = reinterpret_cast< std::vector< std::pair< std::string,std::string > > * >(argp2);
    OpenBabel::SmartsLexReplace(*arg1,*arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_AliasData) { { int argvi = 0; OpenBabel::AliasData *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_AliasData();"); }  result = (OpenBabel::AliasData *)new OpenBabel::AliasData();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__AliasData, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_AliasData_SetAlias__SWIG_0) { { OpenBabel::AliasData *arg1 = (OpenBabel::AliasData *) 0 ; std::string *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: AliasData_SetAlias(self,alias);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__AliasData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AliasData_SetAlias" "', argument " "1"" of type '" "OpenBabel::AliasData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::AliasData * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AliasData_SetAlias" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AliasData_SetAlias" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  (arg1)->SetAlias((std::string const &)*arg2); ST(argvi) = sv_newmortal();
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap_AliasData_SetAlias__SWIG_1) { { OpenBabel::AliasData *arg1 = (OpenBabel::AliasData *) 0 ; char *arg2 = (char *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: AliasData_SetAlias(self,alias);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__AliasData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AliasData_SetAlias" "', argument " "1"" of type '" "OpenBabel::AliasData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::AliasData * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AliasData_SetAlias" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); (arg1)->SetAlias((char const *)arg2); ST(argvi) = sv_newmortal();
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap_AliasData_SetAlias) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__AliasData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__AliasData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_AliasData_SetAlias__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_AliasData_SetAlias__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'AliasData_SetAlias'"); XSRETURN(0); }
XS(_wrap_AliasData_GetAlias__SWIG_0) { { OpenBabel::AliasData *arg1 = (OpenBabel::AliasData *) 0 ; bool arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; std::string result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: AliasData_GetAlias(self,rightAligned);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__AliasData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AliasData_GetAlias" "', argument " "1"" of type '" "OpenBabel::AliasData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::AliasData * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AliasData_GetAlias" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = ((OpenBabel::AliasData const *)arg1)->GetAlias(arg2);
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_AliasData_GetAlias__SWIG_1) { { OpenBabel::AliasData *arg1 = (OpenBabel::AliasData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::string result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: AliasData_GetAlias(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__AliasData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AliasData_GetAlias" "', argument " "1"" of type '" "OpenBabel::AliasData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::AliasData * >(argp1); result = ((OpenBabel::AliasData const *)arg1)->GetAlias();
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_AliasData_GetAlias) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__AliasData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__AliasData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_AliasData_GetAlias__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_AliasData_GetAlias__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'AliasData_GetAlias'"); XSRETURN(0); }
XS(_wrap_AliasData_GetColor) { { OpenBabel::AliasData *arg1 = (OpenBabel::AliasData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; std::string result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: AliasData_GetColor(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__AliasData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AliasData_GetColor" "', argument " "1"" of type '" "OpenBabel::AliasData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::AliasData * >(argp1); result = ((OpenBabel::AliasData const *)arg1)->GetColor();
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_AliasData_SetColor) { { OpenBabel::AliasData *arg1 = (OpenBabel::AliasData *) 0 ; std::string arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: AliasData_SetColor(self,color);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__AliasData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AliasData_SetColor" "', argument " "1"" of type '" "OpenBabel::AliasData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::AliasData * >(argp1); { std::string *ptr = (std::string *)0;
      int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "AliasData_SetColor" "', argument " "2"" of type '" "std::string""'");  }
       arg2 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; }  (arg1)->SetColor(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_AliasData_IsExpanded) { { OpenBabel::AliasData *arg1 = (OpenBabel::AliasData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: AliasData_IsExpanded(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__AliasData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AliasData_IsExpanded" "', argument " "1"" of type '" "OpenBabel::AliasData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::AliasData * >(argp1);
    result = (bool)((OpenBabel::AliasData const *)arg1)->IsExpanded();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_AliasData_RevertToAliasForm) { { OpenBabel::OBMol *arg1 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: AliasData_RevertToAliasForm(mol);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AliasData_RevertToAliasForm" "', argument " "1"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AliasData_RevertToAliasForm" "', argument " "1"" of type '" "OpenBabel::OBMol &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); OpenBabel::AliasData::RevertToAliasForm(*arg1);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_AliasData_Expand) { { OpenBabel::AliasData *arg1 = (OpenBabel::AliasData *) 0 ; OpenBabel::OBMol *arg2 = 0 ;
    unsigned int arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; unsigned int val3 ; int ecode3 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: AliasData_Expand(self,mol,atomindex);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__AliasData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AliasData_Expand" "', argument " "1"" of type '" "OpenBabel::AliasData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::AliasData * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AliasData_Expand" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AliasData_Expand" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2);
    ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AliasData_Expand" "', argument " "3"" of type '" "unsigned int""'"); }
      arg3 = static_cast< unsigned int >(val3); result = (bool)(arg1)->Expand(*arg2,arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_delete_AliasData) { { OpenBabel::AliasData *arg1 = (OpenBabel::AliasData *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_AliasData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__AliasData, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AliasData" "', argument " "1"" of type '" "OpenBabel::AliasData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::AliasData * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_new_OBAtomClassData) { { int argvi = 0; OpenBabel::OBAtomClassData *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_OBAtomClassData();"); } 
    result = (OpenBabel::OBAtomClassData *)new OpenBabel::OBAtomClassData();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtomClassData, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtomClassData_Clear) { { OpenBabel::OBAtomClassData *arg1 = (OpenBabel::OBAtomClassData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBAtomClassData_Clear(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomClassData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtomClassData_Clear" "', argument " "1"" of type '" "OpenBabel::OBAtomClassData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomClassData * >(argp1); (arg1)->Clear(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtomClassData_Add) { { OpenBabel::OBAtomClassData *arg1 = (OpenBabel::OBAtomClassData *) 0 ; int arg2 ; int arg3 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBAtomClassData_Add(self,indx,cl);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomClassData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtomClassData_Add" "', argument " "1"" of type '" "OpenBabel::OBAtomClassData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomClassData * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBAtomClassData_Add" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBAtomClassData_Add" "', argument " "3"" of type '" "int""'"); }
      arg3 = static_cast< int >(val3); (arg1)->Add(arg2,arg3); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtomClassData_HasClass) { { OpenBabel::OBAtomClassData *arg1 = (OpenBabel::OBAtomClassData *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBAtomClassData_HasClass(self,indx);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomClassData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtomClassData_HasClass" "', argument " "1"" of type '" "OpenBabel::OBAtomClassData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomClassData * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBAtomClassData_HasClass" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (bool)((OpenBabel::OBAtomClassData const *)arg1)->HasClass(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtomClassData_GetClass) { { OpenBabel::OBAtomClassData *arg1 = (OpenBabel::OBAtomClassData *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; int result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBAtomClassData_GetClass(self,indx);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomClassData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtomClassData_GetClass" "', argument " "1"" of type '" "OpenBabel::OBAtomClassData const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomClassData * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBAtomClassData_GetClass" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (int)((OpenBabel::OBAtomClassData const *)arg1)->GetClass(arg2);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBAtomClassData_GetClassString) { { OpenBabel::OBAtomClassData *arg1 = (OpenBabel::OBAtomClassData *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; std::string result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBAtomClassData_GetClassString(self,indx);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomClassData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtomClassData_GetClassString" "', argument " "1"" of type '" "OpenBabel::OBAtomClassData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomClassData * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBAtomClassData_GetClassString" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (arg1)->GetClassString(arg2);
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBAtomClassData_size) { { OpenBabel::OBAtomClassData *arg1 = (OpenBabel::OBAtomClassData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBAtomClassData_size(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomClassData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBAtomClassData_size" "', argument " "1"" of type '" "OpenBabel::OBAtomClassData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomClassData * >(argp1); result = (int)(arg1)->size();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_delete_OBAtomClassData) { { OpenBabel::OBAtomClassData *arg1 = (OpenBabel::OBAtomClassData *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: delete_OBAtomClassData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomClassData, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBAtomClassData" "', argument " "1"" of type '" "OpenBabel::OBAtomClassData *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomClassData * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBFingerprint_Default) { { int argvi = 0; OpenBabel::OBFingerprint **result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: OBFingerprint_Default();"); } 
    result = (OpenBabel::OBFingerprint **) &OpenBabel::OBFingerprint::Default();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_OpenBabel__OBFingerprint, 0 | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFingerprint_FindType) { { char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int argvi = 0;
    OpenBabel::OBFingerprint *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFingerprint_FindType(ID);"); }  res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFingerprint_FindType" "', argument " "1"" of type '" "char const *""'"); }
     arg1 = reinterpret_cast< char * >(buf1);
    result = (OpenBabel::OBFingerprint *)OpenBabel::OBFingerprint::FindType((char const *)arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBFingerprint, 0 | SWIG_SHADOW); argvi++ ;
    if (alloc1 == SWIG_NEWOBJ) delete[] buf1; XSRETURN(argvi); fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
    SWIG_croak_null(); }  }
XS(_wrap_delete_OBFingerprint) { { OpenBabel::OBFingerprint *arg1 = (OpenBabel::OBFingerprint *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBFingerprint(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFingerprint, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBFingerprint" "', argument " "1"" of type '" "OpenBabel::OBFingerprint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFingerprint * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBFingerprint_SetBit) { { OpenBabel::OBFingerprint *arg1 = (OpenBabel::OBFingerprint *) 0 ;
    std::vector< unsigned int > *arg2 = 0 ; unsigned int arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; unsigned int val3 ; int ecode3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBFingerprint_SetBit(self,vec,n);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFingerprint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFingerprint_SetBit" "', argument " "1"" of type '" "OpenBabel::OBFingerprint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFingerprint * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_unsigned_int_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFingerprint_SetBit" "', argument " "2"" of type '" "std::vector< unsigned int > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBFingerprint_SetBit" "', argument " "2"" of type '" "std::vector< unsigned int > &""'"); }
     arg2 = reinterpret_cast< std::vector< unsigned int > * >(argp2);
    ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBFingerprint_SetBit" "', argument " "3"" of type '" "unsigned int""'"); }
      arg3 = static_cast< unsigned int >(val3); (arg1)->SetBit(*arg2,arg3); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFingerprint_GetBit) { { OpenBabel::OBFingerprint *arg1 = (OpenBabel::OBFingerprint *) 0 ;
    std::vector< unsigned int > *arg2 = 0 ; unsigned int arg3 ; void *argp1 = 0 ; int res1 = 0 ;
    std::vector< unsigned int > temp2 ; std::vector< unsigned int > *v2 ; unsigned int val3 ; int ecode3 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBFingerprint_GetBit(self,vec,n);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFingerprint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFingerprint_GetBit" "', argument " "1"" of type '" "OpenBabel::OBFingerprint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFingerprint * >(argp1); { if (SWIG_ConvertPtr(ST(1),(void **) &v2, 
      SWIGTYPE_p_std__vectorT_unsigned_int_t,1) != -1) { arg2 = v2; }  else if (SvROK(ST(1))) { AV *av = (AV *)SvRV(ST(1));
        if (SvTYPE(av) != SVt_PVAV) SWIG_croak("Type error in argument 2 of OBFingerprint_GetBit. "
        "Expected an array of ""unsigned int"); SV **tv; I32 len = av_len(av) + 1; for (int i=0; i<len; i++) {
          tv = av_fetch(av, i, 0); if (SvIOK(*tv)) { temp2.push_back((unsigned int)SvIVX(*tv)); }  else {
            SWIG_croak("Type error in argument 2 of " "OBFingerprint_GetBit. " "Expected an array of ""unsigned int"); }  } 
        arg2 = &temp2; }  else { SWIG_croak("Type error in argument 2 of OBFingerprint_GetBit. "
        "Expected an array of ""unsigned int"); }  }  ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBFingerprint_GetBit" "', argument " "3"" of type '" "unsigned int""'"); }
      arg3 = static_cast< unsigned int >(val3); result = (bool)(arg1)->GetBit((std::vector< unsigned int > const &)*arg2,arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFingerprint_Fold) { { OpenBabel::OBFingerprint *arg1 = (OpenBabel::OBFingerprint *) 0 ;
    std::vector< unsigned int > *arg2 = 0 ; unsigned int arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; unsigned int val3 ; int ecode3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBFingerprint_Fold(self,vec,nbits);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFingerprint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFingerprint_Fold" "', argument " "1"" of type '" "OpenBabel::OBFingerprint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFingerprint * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_unsigned_int_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFingerprint_Fold" "', argument " "2"" of type '" "std::vector< unsigned int > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBFingerprint_Fold" "', argument " "2"" of type '" "std::vector< unsigned int > &""'"); }
     arg2 = reinterpret_cast< std::vector< unsigned int > * >(argp2);
    ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBFingerprint_Fold" "', argument " "3"" of type '" "unsigned int""'"); }
      arg3 = static_cast< unsigned int >(val3); (arg1)->Fold(*arg2,arg3); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFingerprint_GetFingerprint__SWIG_0) { { OpenBabel::OBFingerprint *arg1 = (OpenBabel::OBFingerprint *) 0 ;
    OpenBabel::OBBase *arg2 = (OpenBabel::OBBase *) 0 ; std::vector< unsigned int > *arg3 = 0 ; int arg4 ; void *argp1 = 0 ;
    int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int val4 ; int ecode4 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: OBFingerprint_GetFingerprint(self,pOb,fp,nbits);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFingerprint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFingerprint_GetFingerprint" "', argument " "1"" of type '" "OpenBabel::OBFingerprint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFingerprint * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFingerprint_GetFingerprint" "', argument " "2"" of type '" "OpenBabel::OBBase *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBase * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_std__vectorT_unsigned_int_t,  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBFingerprint_GetFingerprint" "', argument " "3"" of type '" "std::vector< unsigned int > &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBFingerprint_GetFingerprint" "', argument " "3"" of type '" "std::vector< unsigned int > &""'"); }
     arg3 = reinterpret_cast< std::vector< unsigned int > * >(argp3);
    ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4); if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBFingerprint_GetFingerprint" "', argument " "4"" of type '" "int""'"); }
      arg4 = static_cast< int >(val4); result = (bool)(arg1)->GetFingerprint(arg2,*arg3,arg4);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFingerprint_GetFingerprint__SWIG_1) { { OpenBabel::OBFingerprint *arg1 = (OpenBabel::OBFingerprint *) 0 ;
    OpenBabel::OBBase *arg2 = (OpenBabel::OBBase *) 0 ; std::vector< unsigned int > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
    void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBFingerprint_GetFingerprint(self,pOb,fp);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFingerprint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFingerprint_GetFingerprint" "', argument " "1"" of type '" "OpenBabel::OBFingerprint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFingerprint * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFingerprint_GetFingerprint" "', argument " "2"" of type '" "OpenBabel::OBBase *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBase * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_std__vectorT_unsigned_int_t,  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBFingerprint_GetFingerprint" "', argument " "3"" of type '" "std::vector< unsigned int > &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBFingerprint_GetFingerprint" "', argument " "3"" of type '" "std::vector< unsigned int > &""'"); }
     arg3 = reinterpret_cast< std::vector< unsigned int > * >(argp3); result = (bool)(arg1)->GetFingerprint(arg2,*arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFingerprint_GetFingerprint) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBFingerprint, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_std__vectorT_unsigned_int_t, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 4) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBFingerprint, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_std__vectorT_unsigned_int_t, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBFingerprint_GetFingerprint__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBFingerprint_GetFingerprint__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBFingerprint_GetFingerprint'"); XSRETURN(0); }
XS(_wrap_OBFingerprint_Flags) { { OpenBabel::OBFingerprint *arg1 = (OpenBabel::OBFingerprint *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFingerprint_Flags(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFingerprint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFingerprint_Flags" "', argument " "1"" of type '" "OpenBabel::OBFingerprint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFingerprint * >(argp1); result = (unsigned int)(arg1)->Flags();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFingerprint_SetFlags) { { OpenBabel::OBFingerprint *arg1 = (OpenBabel::OBFingerprint *) 0 ; unsigned int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFingerprint_SetFlags(self,unsigned int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFingerprint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFingerprint_SetFlags" "', argument " "1"" of type '" "OpenBabel::OBFingerprint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFingerprint * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFingerprint_SetFlags" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); (arg1)->SetFlags(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFingerprint_DescribeBits__SWIG_0) { { OpenBabel::OBFingerprint *arg1 = (OpenBabel::OBFingerprint *) 0 ;
    std::vector< unsigned int > arg2 ; bool arg3 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< unsigned int > *v2 ;
    bool val3 ; int ecode3 = 0 ; int argvi = 0; std::string result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBFingerprint_DescribeBits(self,std::vector< unsigned int > const,bool);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFingerprint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFingerprint_DescribeBits" "', argument " "1"" of type '" "OpenBabel::OBFingerprint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFingerprint * >(argp1); { if (SWIG_ConvertPtr(ST(1),(void **) &v2, 
      SWIGTYPE_p_std__vectorT_unsigned_int_t,1) != -1){ arg2 = *v2; }  else if (SvROK(ST(1))) { AV *av = (AV *)SvRV(ST(1));
        if (SvTYPE(av) != SVt_PVAV) SWIG_croak("Type error in argument 2 of OBFingerprint_DescribeBits. "
        "Expected an array of ""unsigned int"); SV **tv; I32 len = av_len(av) + 1; for (int i=0; i<len; i++) {
          tv = av_fetch(av, i, 0); if (SvIOK(*tv)) { (&arg2)->push_back((unsigned int)SvIVX(*tv)); }  else {
            SWIG_croak("Type error in argument 2 of " "OBFingerprint_DescribeBits. " "Expected an array of ""unsigned int"); }  }
         }  else { SWIG_croak("Type error in argument 2 of OBFingerprint_DescribeBits. "
        "Expected an array of ""unsigned int"); }  }  ecode3 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBFingerprint_DescribeBits" "', argument " "3"" of type '" "bool""'"); }
      arg3 = static_cast< bool >(val3); result = (arg1)->DescribeBits(arg2,arg3);
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBFingerprint_DescribeBits__SWIG_1) { { OpenBabel::OBFingerprint *arg1 = (OpenBabel::OBFingerprint *) 0 ;
    std::vector< unsigned int > arg2 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< unsigned int > *v2 ; int argvi = 0;
    std::string result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBFingerprint_DescribeBits(self,std::vector< unsigned int > const);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFingerprint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFingerprint_DescribeBits" "', argument " "1"" of type '" "OpenBabel::OBFingerprint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFingerprint * >(argp1); { if (SWIG_ConvertPtr(ST(1),(void **) &v2, 
      SWIGTYPE_p_std__vectorT_unsigned_int_t,1) != -1){ arg2 = *v2; }  else if (SvROK(ST(1))) { AV *av = (AV *)SvRV(ST(1));
        if (SvTYPE(av) != SVt_PVAV) SWIG_croak("Type error in argument 2 of OBFingerprint_DescribeBits. "
        "Expected an array of ""unsigned int"); SV **tv; I32 len = av_len(av) + 1; for (int i=0; i<len; i++) {
          tv = av_fetch(av, i, 0); if (SvIOK(*tv)) { (&arg2)->push_back((unsigned int)SvIVX(*tv)); }  else {
            SWIG_croak("Type error in argument 2 of " "OBFingerprint_DescribeBits. " "Expected an array of ""unsigned int"); }  }
         }  else { SWIG_croak("Type error in argument 2 of OBFingerprint_DescribeBits. "
        "Expected an array of ""unsigned int"); }  }  result = (arg1)->DescribeBits(arg2);
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBFingerprint_DescribeBits) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBFingerprint, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { {  std::vector<unsigned int >* v;
            if (SWIG_ConvertPtr(ST(1),(void **) &v,  SWIGTYPE_p_std__vectorT_unsigned_int_t,0) != -1) { _v = 1; }
             else if (SvROK(ST(1))) {  AV *av = (AV *)SvRV(ST(1)); if (SvTYPE(av) == SVt_PVAV) { I32 len = av_len(av) + 1;
                if (len == 0) {  _v = 1; }  else {  SV **tv = av_fetch(av, 0, 0); if (SvIOK(*tv)) _v = 1; else _v = 0; }  }  }
             else { _v = 0; }  }  } }  if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1:
    if (items == 3) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBFingerprint, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { {  std::vector<unsigned int >* v;
            if (SWIG_ConvertPtr(ST(1),(void **) &v,  SWIGTYPE_p_std__vectorT_unsigned_int_t,0) != -1) { _v = 1; }
             else if (SvROK(ST(1))) {  AV *av = (AV *)SvRV(ST(1)); if (SvTYPE(av) == SVt_PVAV) { I32 len = av_len(av) + 1;
                if (len == 0) {  _v = 1; }  else {  SV **tv = av_fetch(av, 0, 0); if (SvIOK(*tv)) _v = 1; else _v = 0; }  }  }
             else { _v = 0; }  }  } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBFingerprint_DescribeBits__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBFingerprint_DescribeBits__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBFingerprint_DescribeBits'"); XSRETURN(0); }
XS(_wrap_OBFingerprint_Tanimoto__SWIG_0) { { std::vector< unsigned int > *arg1 = 0 ; std::vector< unsigned int > *arg2 = 0 ;
    std::vector< unsigned int > temp1 ; std::vector< unsigned int > *v1 ; std::vector< unsigned int > temp2 ;
    std::vector< unsigned int > *v2 ; int argvi = 0; double result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBFingerprint_Tanimoto(vec1,vec2);"); }  { if (SWIG_ConvertPtr(ST(0),(void **) &v1, 
      SWIGTYPE_p_std__vectorT_unsigned_int_t,1) != -1) { arg1 = v1; }  else if (SvROK(ST(0))) { AV *av = (AV *)SvRV(ST(0));
        if (SvTYPE(av) != SVt_PVAV) SWIG_croak("Type error in argument 1 of OBFingerprint_Tanimoto. "
        "Expected an array of ""unsigned int"); SV **tv; I32 len = av_len(av) + 1; for (int i=0; i<len; i++) {
          tv = av_fetch(av, i, 0); if (SvIOK(*tv)) { temp1.push_back((unsigned int)SvIVX(*tv)); }  else {
            SWIG_croak("Type error in argument 1 of " "OBFingerprint_Tanimoto. " "Expected an array of ""unsigned int"); }  } 
        arg1 = &temp1; }  else { SWIG_croak("Type error in argument 1 of OBFingerprint_Tanimoto. "
        "Expected an array of ""unsigned int"); }  }  { if (SWIG_ConvertPtr(ST(1),(void **) &v2, 
      SWIGTYPE_p_std__vectorT_unsigned_int_t,1) != -1) { arg2 = v2; }  else if (SvROK(ST(1))) { AV *av = (AV *)SvRV(ST(1));
        if (SvTYPE(av) != SVt_PVAV) SWIG_croak("Type error in argument 2 of OBFingerprint_Tanimoto. "
        "Expected an array of ""unsigned int"); SV **tv; I32 len = av_len(av) + 1; for (int i=0; i<len; i++) {
          tv = av_fetch(av, i, 0); if (SvIOK(*tv)) { temp2.push_back((unsigned int)SvIVX(*tv)); }  else {
            SWIG_croak("Type error in argument 2 of " "OBFingerprint_Tanimoto. " "Expected an array of ""unsigned int"); }  } 
        arg2 = &temp2; }  else { SWIG_croak("Type error in argument 2 of OBFingerprint_Tanimoto. "
        "Expected an array of ""unsigned int"); }  } 
    result = (double)OpenBabel::OBFingerprint::Tanimoto((std::vector< unsigned int > const &)*arg1,(std::vector< unsigned int > const &)*arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFingerprint_Tanimoto__SWIG_1) { { std::vector< unsigned int > *arg1 = 0 ; unsigned int *arg2 = (unsigned int *) 0 ;
    std::vector< unsigned int > temp1 ; std::vector< unsigned int > *v1 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    double result; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFingerprint_Tanimoto(vec1,p2);"); }  {
      if (SWIG_ConvertPtr(ST(0),(void **) &v1,  SWIGTYPE_p_std__vectorT_unsigned_int_t,1) != -1) { arg1 = v1; }
       else if (SvROK(ST(0))) { AV *av = (AV *)SvRV(ST(0)); if (SvTYPE(av) != SVt_PVAV)
        SWIG_croak("Type error in argument 1 of OBFingerprint_Tanimoto. " "Expected an array of ""unsigned int"); SV **tv;
        I32 len = av_len(av) + 1; for (int i=0; i<len; i++) { tv = av_fetch(av, i, 0); if (SvIOK(*tv)) {
            temp1.push_back((unsigned int)SvIVX(*tv)); }  else { SWIG_croak("Type error in argument 1 of "
            "OBFingerprint_Tanimoto. " "Expected an array of ""unsigned int"); }  }  arg1 = &temp1; }  else {
        SWIG_croak("Type error in argument 1 of OBFingerprint_Tanimoto. " "Expected an array of ""unsigned int"); }  } 
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_unsigned_int, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFingerprint_Tanimoto" "', argument " "2"" of type '" "unsigned int const *""'");  }
     arg2 = reinterpret_cast< unsigned int * >(argp2);
    result = (double)OpenBabel::OBFingerprint::Tanimoto((std::vector< unsigned int > const &)*arg1,(unsigned int const *)arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFingerprint_Tanimoto) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { { { 
            std::vector<unsigned int >* v; if (SWIG_ConvertPtr(ST(0),(void **) &v, 
            SWIGTYPE_p_std__vectorT_unsigned_int_t,0) != -1) { _v = 1; }  else if (SvROK(ST(0))) {  AV *av = (AV *)SvRV(ST(0));
              if (SvTYPE(av) == SVt_PVAV) { I32 len = av_len(av) + 1; if (len == 0) {  _v = 1; }  else { 
                  SV **tv = av_fetch(av, 0, 0); if (SvIOK(*tv)) _v = 1; else _v = 0; }  }  }  else { _v = 0; }  }  } } 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_unsigned_int, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { { {  std::vector<unsigned int >* v; if (SWIG_ConvertPtr(ST(0),(void **) &v, 
            SWIGTYPE_p_std__vectorT_unsigned_int_t,0) != -1) { _v = 1; }  else if (SvROK(ST(0))) {  AV *av = (AV *)SvRV(ST(0));
              if (SvTYPE(av) == SVt_PVAV) { I32 len = av_len(av) + 1; if (len == 0) {  _v = 1; }  else { 
                  SV **tv = av_fetch(av, 0, 0); if (SvIOK(*tv)) _v = 1; else _v = 0; }  }  }  else { _v = 0; }  }  } } 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { {  std::vector<unsigned int >* v;
            if (SWIG_ConvertPtr(ST(1),(void **) &v,  SWIGTYPE_p_std__vectorT_unsigned_int_t,0) != -1) { _v = 1; }
             else if (SvROK(ST(1))) {  AV *av = (AV *)SvRV(ST(1)); if (SvTYPE(av) == SVt_PVAV) { I32 len = av_len(av) + 1;
                if (len == 0) {  _v = 1; }  else {  SV **tv = av_fetch(av, 0, 0); if (SvIOK(*tv)) _v = 1; else _v = 0; }  }  }
             else { _v = 0; }  }  } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    dispatch: switch(_index) { case 1: ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBFingerprint_Tanimoto__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBFingerprint_Tanimoto__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBFingerprint_Tanimoto'"); XSRETURN(0); }
XS(_wrap_OBFingerprint_Getbitsperint) { { int argvi = 0; unsigned int result; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: OBFingerprint_Getbitsperint();"); }  result = (unsigned int)OpenBabel::OBFingerprint::Getbitsperint();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFingerprint_FindFingerprint) { { char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ;
    int argvi = 0; OpenBabel::OBFingerprint *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFingerprint_FindFingerprint(ID);"); }  res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFingerprint_FindFingerprint" "', argument " "1"" of type '" "char const *""'"); }
     arg1 = reinterpret_cast< char * >(buf1);
    result = (OpenBabel::OBFingerprint *)OpenBabel::OBFingerprint::FindFingerprint((char const *)arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBFingerprint, 0 | SWIG_SHADOW); argvi++ ;
    if (alloc1 == SWIG_NEWOBJ) delete[] buf1; XSRETURN(argvi); fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
    SWIG_croak_null(); }  }
XS(_wrap_FptIndexHeader_headerlength_set) { { OpenBabel::FptIndexHeader *arg1 = (OpenBabel::FptIndexHeader *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: FptIndexHeader_headerlength_set(self,headerlength);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__FptIndexHeader, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FptIndexHeader_headerlength_set" "', argument " "1"" of type '" "OpenBabel::FptIndexHeader *""'");  }
     arg1 = reinterpret_cast< OpenBabel::FptIndexHeader * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FptIndexHeader_headerlength_set" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); if (arg1) (arg1)->headerlength = arg2; ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_FptIndexHeader_headerlength_get) { { OpenBabel::FptIndexHeader *arg1 = (OpenBabel::FptIndexHeader *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: FptIndexHeader_headerlength_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__FptIndexHeader, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FptIndexHeader_headerlength_get" "', argument " "1"" of type '" "OpenBabel::FptIndexHeader *""'");  }
     arg1 = reinterpret_cast< OpenBabel::FptIndexHeader * >(argp1); result = (unsigned int) ((arg1)->headerlength);
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_FptIndexHeader_nEntries_set) { { OpenBabel::FptIndexHeader *arg1 = (OpenBabel::FptIndexHeader *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: FptIndexHeader_nEntries_set(self,nEntries);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__FptIndexHeader, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FptIndexHeader_nEntries_set" "', argument " "1"" of type '" "OpenBabel::FptIndexHeader *""'");  }
     arg1 = reinterpret_cast< OpenBabel::FptIndexHeader * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FptIndexHeader_nEntries_set" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); if (arg1) (arg1)->nEntries = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_FptIndexHeader_nEntries_get) { { OpenBabel::FptIndexHeader *arg1 = (OpenBabel::FptIndexHeader *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: FptIndexHeader_nEntries_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__FptIndexHeader, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FptIndexHeader_nEntries_get" "', argument " "1"" of type '" "OpenBabel::FptIndexHeader *""'");  }
     arg1 = reinterpret_cast< OpenBabel::FptIndexHeader * >(argp1); result = (unsigned int) ((arg1)->nEntries);
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_FptIndexHeader_words_set) { { OpenBabel::FptIndexHeader *arg1 = (OpenBabel::FptIndexHeader *) 0 ; unsigned int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: FptIndexHeader_words_set(self,words);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__FptIndexHeader, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FptIndexHeader_words_set" "', argument " "1"" of type '" "OpenBabel::FptIndexHeader *""'");  }
     arg1 = reinterpret_cast< OpenBabel::FptIndexHeader * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FptIndexHeader_words_set" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); if (arg1) (arg1)->words = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_FptIndexHeader_words_get) { { OpenBabel::FptIndexHeader *arg1 = (OpenBabel::FptIndexHeader *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: FptIndexHeader_words_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__FptIndexHeader, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FptIndexHeader_words_get" "', argument " "1"" of type '" "OpenBabel::FptIndexHeader *""'");  }
     arg1 = reinterpret_cast< OpenBabel::FptIndexHeader * >(argp1); result = (unsigned int) ((arg1)->words);
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_FptIndexHeader_fpid_set) { { OpenBabel::FptIndexHeader *arg1 = (OpenBabel::FptIndexHeader *) 0 ; char *arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; char temp2[16] ; int res2 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: FptIndexHeader_fpid_set(self,fpid);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__FptIndexHeader, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FptIndexHeader_fpid_set" "', argument " "1"" of type '" "OpenBabel::FptIndexHeader *""'");  }
     arg1 = reinterpret_cast< OpenBabel::FptIndexHeader * >(argp1); res2 = SWIG_AsCharArray(ST(1), temp2, 16);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FptIndexHeader_fpid_set" "', argument " "2"" of type '" "char [16]""'"); }
     arg2 = reinterpret_cast< char * >(temp2); if (arg2) memcpy(arg1->fpid,arg2,16*sizeof(char));
    else memset(arg1->fpid,0,16*sizeof(char)); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_FptIndexHeader_fpid_get) { { OpenBabel::FptIndexHeader *arg1 = (OpenBabel::FptIndexHeader *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: FptIndexHeader_fpid_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__FptIndexHeader, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FptIndexHeader_fpid_get" "', argument " "1"" of type '" "OpenBabel::FptIndexHeader *""'");  }
     arg1 = reinterpret_cast< OpenBabel::FptIndexHeader * >(argp1); result = (char *)(char *) ((arg1)->fpid); {
      size_t size = 16; while (size && (result[size - 1] == '\0')) --size;
      ST(argvi) = SWIG_FromCharPtrAndSize(result, size); argvi++ ; }  XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_FptIndexHeader_datafilename_set) { { OpenBabel::FptIndexHeader *arg1 = (OpenBabel::FptIndexHeader *) 0 ; char *arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; char temp2[256] ; int res2 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: FptIndexHeader_datafilename_set(self,datafilename);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__FptIndexHeader, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FptIndexHeader_datafilename_set" "', argument " "1"" of type '" "OpenBabel::FptIndexHeader *""'");  }
     arg1 = reinterpret_cast< OpenBabel::FptIndexHeader * >(argp1); res2 = SWIG_AsCharArray(ST(1), temp2, 256);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FptIndexHeader_datafilename_set" "', argument " "2"" of type '" "char [256]""'"); }
     arg2 = reinterpret_cast< char * >(temp2); if (arg2) memcpy(arg1->datafilename,arg2,256*sizeof(char));
    else memset(arg1->datafilename,0,256*sizeof(char)); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }
   }
XS(_wrap_FptIndexHeader_datafilename_get) { { OpenBabel::FptIndexHeader *arg1 = (OpenBabel::FptIndexHeader *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: FptIndexHeader_datafilename_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__FptIndexHeader, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FptIndexHeader_datafilename_get" "', argument " "1"" of type '" "OpenBabel::FptIndexHeader *""'");  }
     arg1 = reinterpret_cast< OpenBabel::FptIndexHeader * >(argp1); result = (char *)(char *) ((arg1)->datafilename); {
      size_t size = 256; while (size && (result[size - 1] == '\0')) --size;
      ST(argvi) = SWIG_FromCharPtrAndSize(result, size); argvi++ ; }  XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_FptIndexHeader) { { int argvi = 0; OpenBabel::FptIndexHeader *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_FptIndexHeader();"); } 
    result = (OpenBabel::FptIndexHeader *)new OpenBabel::FptIndexHeader();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__FptIndexHeader, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_FptIndexHeader) { { OpenBabel::FptIndexHeader *arg1 = (OpenBabel::FptIndexHeader *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_FptIndexHeader(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__FptIndexHeader, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FptIndexHeader" "', argument " "1"" of type '" "OpenBabel::FptIndexHeader *""'");  }
     arg1 = reinterpret_cast< OpenBabel::FptIndexHeader * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_FptIndex_header_set) { { OpenBabel::FptIndex *arg1 = (OpenBabel::FptIndex *) 0 ; OpenBabel::FptIndexHeader *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: FptIndex_header_set(self,header);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__FptIndex, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FptIndex_header_set" "', argument " "1"" of type '" "OpenBabel::FptIndex *""'");  }
     arg1 = reinterpret_cast< OpenBabel::FptIndex * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__FptIndexHeader,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FptIndex_header_set" "', argument " "2"" of type '" "OpenBabel::FptIndexHeader const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FptIndex_header_set" "', argument " "2"" of type '" "OpenBabel::FptIndexHeader const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::FptIndexHeader * >(argp2); if (arg1) (arg1)->header = *arg2;
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_FptIndex_header_get) { { OpenBabel::FptIndex *arg1 = (OpenBabel::FptIndex *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::FptIndexHeader *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: FptIndex_header_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__FptIndex, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FptIndex_header_get" "', argument " "1"" of type '" "OpenBabel::FptIndex *""'");  }
     arg1 = reinterpret_cast< OpenBabel::FptIndex * >(argp1); result = (OpenBabel::FptIndexHeader *) & ((arg1)->header);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__FptIndexHeader, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_FptIndex_fptdata_set) { { OpenBabel::FptIndex *arg1 = (OpenBabel::FptIndex *) 0 ;
    std::vector< unsigned int > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< unsigned int > temp2 ;
    std::vector< unsigned int > *v2 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: FptIndex_fptdata_set(self,fptdata);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__FptIndex, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FptIndex_fptdata_set" "', argument " "1"" of type '" "OpenBabel::FptIndex *""'");  }
     arg1 = reinterpret_cast< OpenBabel::FptIndex * >(argp1); { if (SWIG_ConvertPtr(ST(1),(void **) &v2, 
      SWIGTYPE_p_std__vectorT_unsigned_int_t,1) != -1) { arg2 = v2; }  else if (SvROK(ST(1))) { AV *av = (AV *)SvRV(ST(1));
        if (SvTYPE(av) != SVt_PVAV) SWIG_croak("Type error in argument 2 of FptIndex_fptdata_set. "
        "Expected an array of ""unsigned int"); SV **tv; I32 len = av_len(av) + 1; for (int i=0; i<len; i++) {
          tv = av_fetch(av, i, 0); if (SvIOK(*tv)) { temp2.push_back((unsigned int)SvIVX(*tv)); }  else {
            SWIG_croak("Type error in argument 2 of " "FptIndex_fptdata_set. " "Expected an array of ""unsigned int"); }  } 
        arg2 = &temp2; }  else { SWIG_croak("Type error in argument 2 of FptIndex_fptdata_set. "
        "Expected an array of ""unsigned int"); }  }  if (arg1) (arg1)->fptdata = *arg2; ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_FptIndex_fptdata_get) { { OpenBabel::FptIndex *arg1 = (OpenBabel::FptIndex *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; std::vector< unsigned int > *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: FptIndex_fptdata_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__FptIndex, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FptIndex_fptdata_get" "', argument " "1"" of type '" "OpenBabel::FptIndex *""'");  }
     arg1 = reinterpret_cast< OpenBabel::FptIndex * >(argp1); result = (std::vector< unsigned int > *) & ((arg1)->fptdata);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_FptIndex_seekdata_set) { { OpenBabel::FptIndex *arg1 = (OpenBabel::FptIndex *) 0 ;
    std::vector< unsigned int > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< unsigned int > temp2 ;
    std::vector< unsigned int > *v2 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: FptIndex_seekdata_set(self,seekdata);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__FptIndex, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FptIndex_seekdata_set" "', argument " "1"" of type '" "OpenBabel::FptIndex *""'");  }
     arg1 = reinterpret_cast< OpenBabel::FptIndex * >(argp1); { if (SWIG_ConvertPtr(ST(1),(void **) &v2, 
      SWIGTYPE_p_std__vectorT_unsigned_int_t,1) != -1) { arg2 = v2; }  else if (SvROK(ST(1))) { AV *av = (AV *)SvRV(ST(1));
        if (SvTYPE(av) != SVt_PVAV) SWIG_croak("Type error in argument 2 of FptIndex_seekdata_set. "
        "Expected an array of ""unsigned int"); SV **tv; I32 len = av_len(av) + 1; for (int i=0; i<len; i++) {
          tv = av_fetch(av, i, 0); if (SvIOK(*tv)) { temp2.push_back((unsigned int)SvIVX(*tv)); }  else {
            SWIG_croak("Type error in argument 2 of " "FptIndex_seekdata_set. " "Expected an array of ""unsigned int"); }  } 
        arg2 = &temp2; }  else { SWIG_croak("Type error in argument 2 of FptIndex_seekdata_set. "
        "Expected an array of ""unsigned int"); }  }  if (arg1) (arg1)->seekdata = *arg2; ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_FptIndex_seekdata_get) { { OpenBabel::FptIndex *arg1 = (OpenBabel::FptIndex *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; std::vector< unsigned int > *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: FptIndex_seekdata_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__FptIndex, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FptIndex_seekdata_get" "', argument " "1"" of type '" "OpenBabel::FptIndex *""'");  }
     arg1 = reinterpret_cast< OpenBabel::FptIndex * >(argp1); result = (std::vector< unsigned int > *) & ((arg1)->seekdata);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_FptIndex_Read) { { OpenBabel::FptIndex *arg1 = (OpenBabel::FptIndex *) 0 ; std::istream *arg2 = (std::istream *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: FptIndex_Read(self,pIndexstream);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__FptIndex, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FptIndex_Read" "', argument " "1"" of type '" "OpenBabel::FptIndex *""'");  }
     arg1 = reinterpret_cast< OpenBabel::FptIndex * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_std__istream, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FptIndex_Read" "', argument " "2"" of type '" "std::istream *""'");  }
     arg2 = reinterpret_cast< std::istream * >(argp2); result = (bool)(arg1)->Read(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_FptIndex_ReadIndex) { { OpenBabel::FptIndex *arg1 = (OpenBabel::FptIndex *) 0 ;
    std::istream *arg2 = (std::istream *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: FptIndex_ReadIndex(self,pIndexstream);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__FptIndex, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FptIndex_ReadIndex" "', argument " "1"" of type '" "OpenBabel::FptIndex *""'");  }
     arg1 = reinterpret_cast< OpenBabel::FptIndex * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_std__istream, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FptIndex_ReadIndex" "', argument " "2"" of type '" "std::istream *""'");  }
     arg2 = reinterpret_cast< std::istream * >(argp2); result = (bool)(arg1)->ReadIndex(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_FptIndex_ReadHeader) { { OpenBabel::FptIndex *arg1 = (OpenBabel::FptIndex *) 0 ;
    std::istream *arg2 = (std::istream *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: FptIndex_ReadHeader(self,pIndexstream);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__FptIndex, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FptIndex_ReadHeader" "', argument " "1"" of type '" "OpenBabel::FptIndex *""'");  }
     arg1 = reinterpret_cast< OpenBabel::FptIndex * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_std__istream, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FptIndex_ReadHeader" "', argument " "2"" of type '" "std::istream *""'");  }
     arg2 = reinterpret_cast< std::istream * >(argp2); result = (bool)(arg1)->ReadHeader(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_FptIndex_CheckFP) { { OpenBabel::FptIndex *arg1 = (OpenBabel::FptIndex *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBFingerprint *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: FptIndex_CheckFP(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__FptIndex, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FptIndex_CheckFP" "', argument " "1"" of type '" "OpenBabel::FptIndex *""'");  }
     arg1 = reinterpret_cast< OpenBabel::FptIndex * >(argp1); result = (OpenBabel::OBFingerprint *)(arg1)->CheckFP();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBFingerprint, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_FptIndex) { { int argvi = 0; OpenBabel::FptIndex *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_FptIndex();"); }  result = (OpenBabel::FptIndex *)new OpenBabel::FptIndex();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__FptIndex, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_FptIndex) { { OpenBabel::FptIndex *arg1 = (OpenBabel::FptIndex *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_FptIndex(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__FptIndex, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FptIndex" "', argument " "1"" of type '" "OpenBabel::FptIndex *""'");  }
     arg1 = reinterpret_cast< OpenBabel::FptIndex * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_FastSearch_ReadIndexFile) { { OpenBabel::FastSearch *arg1 = (OpenBabel::FastSearch *) 0 ; std::string arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; std::string result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: FastSearch_ReadIndexFile(self,IndexFilename);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__FastSearch, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FastSearch_ReadIndexFile" "', argument " "1"" of type '" "OpenBabel::FastSearch *""'");  }
     arg1 = reinterpret_cast< OpenBabel::FastSearch * >(argp1); { std::string *ptr = (std::string *)0;
      int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "FastSearch_ReadIndexFile" "', argument " "2"" of type '" "std::string""'");  }
       arg2 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; }  result = (arg1)->ReadIndexFile(arg2);
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_FastSearch_ReadIndex) { { OpenBabel::FastSearch *arg1 = (OpenBabel::FastSearch *) 0 ;
    std::istream *arg2 = (std::istream *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    std::string result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: FastSearch_ReadIndex(self,pIndexstream);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__FastSearch, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FastSearch_ReadIndex" "', argument " "1"" of type '" "OpenBabel::FastSearch *""'");  }
     arg1 = reinterpret_cast< OpenBabel::FastSearch * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_std__istream, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FastSearch_ReadIndex" "', argument " "2"" of type '" "std::istream *""'");  }
     arg2 = reinterpret_cast< std::istream * >(argp2); result = (arg1)->ReadIndex(arg2);
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_delete_FastSearch) { { OpenBabel::FastSearch *arg1 = (OpenBabel::FastSearch *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_FastSearch(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__FastSearch, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FastSearch" "', argument " "1"" of type '" "OpenBabel::FastSearch *""'");  }
     arg1 = reinterpret_cast< OpenBabel::FastSearch * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_FastSearch_Find) { { OpenBabel::FastSearch *arg1 = (OpenBabel::FastSearch *) 0 ;
    OpenBabel::OBBase *arg2 = (OpenBabel::OBBase *) 0 ; std::vector< unsigned int > *arg3 = 0 ; unsigned int arg4 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; unsigned int val4 ;
    int ecode4 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: FastSearch_Find(self,pOb,SeekPositions,MaxCandidates);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__FastSearch, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FastSearch_Find" "', argument " "1"" of type '" "OpenBabel::FastSearch *""'");  }
     arg1 = reinterpret_cast< OpenBabel::FastSearch * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FastSearch_Find" "', argument " "2"" of type '" "OpenBabel::OBBase *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBase * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_std__vectorT_unsigned_int_t,  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FastSearch_Find" "', argument " "3"" of type '" "std::vector< unsigned int > &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FastSearch_Find" "', argument " "3"" of type '" "std::vector< unsigned int > &""'"); }
     arg3 = reinterpret_cast< std::vector< unsigned int > * >(argp3);
    ecode4 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4); if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FastSearch_Find" "', argument " "4"" of type '" "unsigned int""'"); }
      arg4 = static_cast< unsigned int >(val4); result = (bool)(arg1)->Find(arg2,*arg3,arg4);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_FastSearch_FindMatch) { { OpenBabel::FastSearch *arg1 = (OpenBabel::FastSearch *) 0 ;
    OpenBabel::OBBase *arg2 = (OpenBabel::OBBase *) 0 ; std::vector< unsigned int > *arg3 = 0 ; unsigned int arg4 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; unsigned int val4 ;
    int ecode4 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: FastSearch_FindMatch(self,pOb,SeekPositions,MaxCandidates);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__FastSearch, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FastSearch_FindMatch" "', argument " "1"" of type '" "OpenBabel::FastSearch *""'");  }
     arg1 = reinterpret_cast< OpenBabel::FastSearch * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FastSearch_FindMatch" "', argument " "2"" of type '" "OpenBabel::OBBase *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBase * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_std__vectorT_unsigned_int_t,  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FastSearch_FindMatch" "', argument " "3"" of type '" "std::vector< unsigned int > &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FastSearch_FindMatch" "', argument " "3"" of type '" "std::vector< unsigned int > &""'"); }
     arg3 = reinterpret_cast< std::vector< unsigned int > * >(argp3);
    ecode4 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4); if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FastSearch_FindMatch" "', argument " "4"" of type '" "unsigned int""'"); }
      arg4 = static_cast< unsigned int >(val4); result = (bool)(arg1)->FindMatch(arg2,*arg3,arg4);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_FastSearch_FindSimilar__SWIG_0) { { OpenBabel::FastSearch *arg1 = (OpenBabel::FastSearch *) 0 ;
    OpenBabel::OBBase *arg2 = (OpenBabel::OBBase *) 0 ; std::multimap< double,unsigned int > *arg3 = 0 ; double arg4 ;
    double arg5 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ;
    double val4 ; int ecode4 = 0 ; double val5 ; int ecode5 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 5) || (items > 5)) { SWIG_croak("Usage: FastSearch_FindSimilar(self,pOb,SeekposMap,MinTani,MaxTani);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__FastSearch, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FastSearch_FindSimilar" "', argument " "1"" of type '" "OpenBabel::FastSearch *""'");  }
     arg1 = reinterpret_cast< OpenBabel::FastSearch * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FastSearch_FindSimilar" "', argument " "2"" of type '" "OpenBabel::OBBase *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBase * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_std__multimapT_double_unsigned_int_t,  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FastSearch_FindSimilar" "', argument " "3"" of type '" "std::multimap< double,unsigned int > &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FastSearch_FindSimilar" "', argument " "3"" of type '" "std::multimap< double,unsigned int > &""'"); }
     arg3 = reinterpret_cast< std::multimap< double,unsigned int > * >(argp3);
    ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4); if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FastSearch_FindSimilar" "', argument " "4"" of type '" "double""'"); }
      arg4 = static_cast< double >(val4); ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FastSearch_FindSimilar" "', argument " "5"" of type '" "double""'"); }
      arg5 = static_cast< double >(val5); result = (bool)(arg1)->FindSimilar(arg2,*arg3,arg4,arg5);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_FastSearch_FindSimilar__SWIG_1) { { OpenBabel::FastSearch *arg1 = (OpenBabel::FastSearch *) 0 ;
    OpenBabel::OBBase *arg2 = (OpenBabel::OBBase *) 0 ; std::multimap< double,unsigned int > *arg3 = 0 ; double arg4 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; double val4 ;
    int ecode4 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: FastSearch_FindSimilar(self,pOb,SeekposMap,MinTani);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__FastSearch, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FastSearch_FindSimilar" "', argument " "1"" of type '" "OpenBabel::FastSearch *""'");  }
     arg1 = reinterpret_cast< OpenBabel::FastSearch * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FastSearch_FindSimilar" "', argument " "2"" of type '" "OpenBabel::OBBase *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBase * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_std__multimapT_double_unsigned_int_t,  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FastSearch_FindSimilar" "', argument " "3"" of type '" "std::multimap< double,unsigned int > &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FastSearch_FindSimilar" "', argument " "3"" of type '" "std::multimap< double,unsigned int > &""'"); }
     arg3 = reinterpret_cast< std::multimap< double,unsigned int > * >(argp3);
    ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4); if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FastSearch_FindSimilar" "', argument " "4"" of type '" "double""'"); }
      arg4 = static_cast< double >(val4); result = (bool)(arg1)->FindSimilar(arg2,*arg3,arg4);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_FastSearch_FindSimilar__SWIG_2) { { OpenBabel::FastSearch *arg1 = (OpenBabel::FastSearch *) 0 ;
    OpenBabel::OBBase *arg2 = (OpenBabel::OBBase *) 0 ; std::multimap< double,unsigned int > *arg3 = 0 ; int arg4 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int val4 ;
    int ecode4 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: FastSearch_FindSimilar(self,pOb,SeekposMap,nCandidates);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__FastSearch, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FastSearch_FindSimilar" "', argument " "1"" of type '" "OpenBabel::FastSearch *""'");  }
     arg1 = reinterpret_cast< OpenBabel::FastSearch * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FastSearch_FindSimilar" "', argument " "2"" of type '" "OpenBabel::OBBase *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBase * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_std__multimapT_double_unsigned_int_t,  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FastSearch_FindSimilar" "', argument " "3"" of type '" "std::multimap< double,unsigned int > &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FastSearch_FindSimilar" "', argument " "3"" of type '" "std::multimap< double,unsigned int > &""'"); }
     arg3 = reinterpret_cast< std::multimap< double,unsigned int > * >(argp3);
    ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4); if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FastSearch_FindSimilar" "', argument " "4"" of type '" "int""'"); }
      arg4 = static_cast< int >(val4); result = (bool)(arg1)->FindSimilar(arg2,*arg3,arg4);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_FastSearch_FindSimilar__SWIG_3) { { OpenBabel::FastSearch *arg1 = (OpenBabel::FastSearch *) 0 ;
    OpenBabel::OBBase *arg2 = (OpenBabel::OBBase *) 0 ; std::multimap< double,unsigned int > *arg3 = 0 ; void *argp1 = 0 ;
    int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: FastSearch_FindSimilar(self,pOb,SeekposMap);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__FastSearch, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FastSearch_FindSimilar" "', argument " "1"" of type '" "OpenBabel::FastSearch *""'");  }
     arg1 = reinterpret_cast< OpenBabel::FastSearch * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FastSearch_FindSimilar" "', argument " "2"" of type '" "OpenBabel::OBBase *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBase * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_std__multimapT_double_unsigned_int_t,  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FastSearch_FindSimilar" "', argument " "3"" of type '" "std::multimap< double,unsigned int > &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FastSearch_FindSimilar" "', argument " "3"" of type '" "std::multimap< double,unsigned int > &""'"); }
     arg3 = reinterpret_cast< std::multimap< double,unsigned int > * >(argp3); result = (bool)(arg1)->FindSimilar(arg2,*arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_FastSearch_FindSimilar) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__FastSearch, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_std__multimapT_double_unsigned_int_t, 0); _v = SWIG_CheckState(res);}
       if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 4) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__FastSearch, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_std__multimapT_double_unsigned_int_t, 0); _v = SWIG_CheckState(res);}
       if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 4) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__FastSearch, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_std__multimapT_double_unsigned_int_t, 0); _v = SWIG_CheckState(res);}
       if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 5) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__FastSearch, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_std__multimapT_double_unsigned_int_t, 0); _v = SWIG_CheckState(res);}
       if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_4;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_4;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 4;
        if (_rank == _rankm) goto dispatch; }  }  check_4: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_FastSearch_FindSimilar__SWIG_3); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_FastSearch_FindSimilar__SWIG_2); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_FastSearch_FindSimilar__SWIG_1); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_FastSearch_FindSimilar__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'FastSearch_FindSimilar'"); XSRETURN(0); }
XS(_wrap_FastSearch_GetFingerprint) { { OpenBabel::FastSearch *arg1 = (OpenBabel::FastSearch *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBFingerprint *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: FastSearch_GetFingerprint(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__FastSearch, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FastSearch_GetFingerprint" "', argument " "1"" of type '" "OpenBabel::FastSearch const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::FastSearch * >(argp1);
    result = (OpenBabel::OBFingerprint *)((OpenBabel::FastSearch const *)arg1)->GetFingerprint();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBFingerprint, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_FastSearch_GetIndexHeader) { { OpenBabel::FastSearch *arg1 = (OpenBabel::FastSearch *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::FptIndexHeader *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: FastSearch_GetIndexHeader(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__FastSearch, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FastSearch_GetIndexHeader" "', argument " "1"" of type '" "OpenBabel::FastSearch const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::FastSearch * >(argp1);
    result = (OpenBabel::FptIndexHeader *) &((OpenBabel::FastSearch const *)arg1)->GetIndexHeader();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__FptIndexHeader, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_FastSearch) { { int argvi = 0; OpenBabel::FastSearch *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_FastSearch();"); }  result = (OpenBabel::FastSearch *)new OpenBabel::FastSearch();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__FastSearch, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_FastSearchIndexer__SWIG_0) { { std::string *arg1 = 0 ; std::ostream *arg2 = (std::ostream *) 0 ;
    std::string *arg3 = 0 ; int arg4 ; int arg5 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    void *argp3 = 0 ; int res3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int argvi = 0;
    OpenBabel::FastSearchIndexer *result = 0 ; dXSARGS; if ((items < 5) || (items > 5)) {
      SWIG_croak("Usage: new_FastSearchIndexer(datafilename,os,fpid,FptBits,nmols);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_std__string,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FastSearchIndexer" "', argument " "1"" of type '" "std::string &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FastSearchIndexer" "', argument " "1"" of type '" "std::string &""'"); }
     arg1 = reinterpret_cast< std::string * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_std__ostream, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FastSearchIndexer" "', argument " "2"" of type '" "std::ostream *""'");  }
     arg2 = reinterpret_cast< std::ostream * >(argp2); res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_std__string,  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FastSearchIndexer" "', argument " "3"" of type '" "std::string &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FastSearchIndexer" "', argument " "3"" of type '" "std::string &""'"); }
     arg3 = reinterpret_cast< std::string * >(argp3); ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FastSearchIndexer" "', argument " "4"" of type '" "int""'"); }
      arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5); if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_FastSearchIndexer" "', argument " "5"" of type '" "int""'"); }
      arg5 = static_cast< int >(val5);
    result = (OpenBabel::FastSearchIndexer *)new OpenBabel::FastSearchIndexer(*arg1,arg2,*arg3,arg4,arg5);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__FastSearchIndexer, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_FastSearchIndexer__SWIG_1) { { std::string *arg1 = 0 ; std::ostream *arg2 = (std::ostream *) 0 ;
    std::string *arg3 = 0 ; int arg4 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ;
    int res3 = 0 ; int val4 ; int ecode4 = 0 ; int argvi = 0; OpenBabel::FastSearchIndexer *result = 0 ; dXSARGS;
    if ((items < 4) || (items > 4)) { SWIG_croak("Usage: new_FastSearchIndexer(datafilename,os,fpid,FptBits);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_std__string,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FastSearchIndexer" "', argument " "1"" of type '" "std::string &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FastSearchIndexer" "', argument " "1"" of type '" "std::string &""'"); }
     arg1 = reinterpret_cast< std::string * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_std__ostream, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FastSearchIndexer" "', argument " "2"" of type '" "std::ostream *""'");  }
     arg2 = reinterpret_cast< std::ostream * >(argp2); res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_std__string,  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FastSearchIndexer" "', argument " "3"" of type '" "std::string &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FastSearchIndexer" "', argument " "3"" of type '" "std::string &""'"); }
     arg3 = reinterpret_cast< std::string * >(argp3); ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FastSearchIndexer" "', argument " "4"" of type '" "int""'"); }
      arg4 = static_cast< int >(val4);
    result = (OpenBabel::FastSearchIndexer *)new OpenBabel::FastSearchIndexer(*arg1,arg2,*arg3,arg4);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__FastSearchIndexer, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_FastSearchIndexer__SWIG_2) { { std::string *arg1 = 0 ; std::ostream *arg2 = (std::ostream *) 0 ;
    std::string *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ;
    int argvi = 0; OpenBabel::FastSearchIndexer *result = 0 ; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: new_FastSearchIndexer(datafilename,os,fpid);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_std__string,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FastSearchIndexer" "', argument " "1"" of type '" "std::string &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FastSearchIndexer" "', argument " "1"" of type '" "std::string &""'"); }
     arg1 = reinterpret_cast< std::string * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_std__ostream, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FastSearchIndexer" "', argument " "2"" of type '" "std::ostream *""'");  }
     arg2 = reinterpret_cast< std::ostream * >(argp2); res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_std__string,  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FastSearchIndexer" "', argument " "3"" of type '" "std::string &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FastSearchIndexer" "', argument " "3"" of type '" "std::string &""'"); }
     arg3 = reinterpret_cast< std::string * >(argp3);
    result = (OpenBabel::FastSearchIndexer *)new OpenBabel::FastSearchIndexer(*arg1,arg2,*arg3);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__FastSearchIndexer, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_FastSearchIndexer__SWIG_3) { { OpenBabel::FptIndex *arg1 = (OpenBabel::FptIndex *) 0 ;
    std::ostream *arg2 = (std::ostream *) 0 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int val3 ; int ecode3 = 0 ; int argvi = 0; OpenBabel::FastSearchIndexer *result = 0 ; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: new_FastSearchIndexer(pindex,os,nmols);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__FptIndex, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FastSearchIndexer" "', argument " "1"" of type '" "OpenBabel::FptIndex *""'");  }
     arg1 = reinterpret_cast< OpenBabel::FptIndex * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_std__ostream, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FastSearchIndexer" "', argument " "2"" of type '" "std::ostream *""'");  }
     arg2 = reinterpret_cast< std::ostream * >(argp2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FastSearchIndexer" "', argument " "3"" of type '" "int""'"); }
      arg3 = static_cast< int >(val3);
    result = (OpenBabel::FastSearchIndexer *)new OpenBabel::FastSearchIndexer(arg1,arg2,arg3);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__FastSearchIndexer, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_FastSearchIndexer__SWIG_4) { { OpenBabel::FptIndex *arg1 = (OpenBabel::FptIndex *) 0 ;
    std::ostream *arg2 = (std::ostream *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    OpenBabel::FastSearchIndexer *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: new_FastSearchIndexer(pindex,os);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__FptIndex, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FastSearchIndexer" "', argument " "1"" of type '" "OpenBabel::FptIndex *""'");  }
     arg1 = reinterpret_cast< OpenBabel::FptIndex * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_std__ostream, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FastSearchIndexer" "', argument " "2"" of type '" "std::ostream *""'");  }
     arg2 = reinterpret_cast< std::ostream * >(argp2);
    result = (OpenBabel::FastSearchIndexer *)new OpenBabel::FastSearchIndexer(arg1,arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__FastSearchIndexer, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_FastSearchIndexer) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__FptIndex, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_std__ostream, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__FptIndex, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_std__ostream, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    if (items == 3) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_std__string, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_std__ostream, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_std__string, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 4) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0; int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_std__string, 0);
        _v = SWIG_CheckState(res);}  if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        void *vptr = 0; int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_std__ostream, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_std__string, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_4;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4:
    if (items == 5) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_std__string, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_5;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_std__ostream, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_5;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_std__string, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_5;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_5; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_5;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 5;
        if (_rank == _rankm) goto dispatch; }  }  check_5: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_FastSearchIndexer__SWIG_4); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_FastSearchIndexer__SWIG_3); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_FastSearchIndexer__SWIG_2); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_FastSearchIndexer__SWIG_1); return; case 5:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_FastSearchIndexer__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'new_FastSearchIndexer'"); XSRETURN(0); }
XS(_wrap_delete_FastSearchIndexer) { { OpenBabel::FastSearchIndexer *arg1 = (OpenBabel::FastSearchIndexer *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: delete_FastSearchIndexer(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__FastSearchIndexer, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FastSearchIndexer" "', argument " "1"" of type '" "OpenBabel::FastSearchIndexer *""'");  }
     arg1 = reinterpret_cast< OpenBabel::FastSearchIndexer * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_FastSearchIndexer_Add) { { OpenBabel::FastSearchIndexer *arg1 = (OpenBabel::FastSearchIndexer *) 0 ;
    OpenBabel::OBBase *arg2 = (OpenBabel::OBBase *) 0 ; std::streampos arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; void *argp3 ; int res3 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: FastSearchIndexer_Add(self,pOb,seekpos);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__FastSearchIndexer, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FastSearchIndexer_Add" "', argument " "1"" of type '" "OpenBabel::FastSearchIndexer *""'");  }
     arg1 = reinterpret_cast< OpenBabel::FastSearchIndexer * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FastSearchIndexer_Add" "', argument " "2"" of type '" "OpenBabel::OBBase *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBase * >(argp2); {
      res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_std__streampos,  0 ); if (!SWIG_IsOK(res3)) {
        SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FastSearchIndexer_Add" "', argument " "3"" of type '" "std::streampos""'");  }
         if (!argp3) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FastSearchIndexer_Add" "', argument " "3"" of type '" "std::streampos""'"); }
       else { arg3 = *(reinterpret_cast< std::streampos * >(argp3)); }  }  result = (bool)(arg1)->Add(arg2,arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBDescriptor_Default) { { int argvi = 0; OpenBabel::OBDescriptor **result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: OBDescriptor_Default();"); } 
    result = (OpenBabel::OBDescriptor **) &OpenBabel::OBDescriptor::Default();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_OpenBabel__OBDescriptor, 0 | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBDescriptor__SWIG_0) { { char *arg1 = (char *) 0 ; bool arg2 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ;
    bool val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::OBDescriptor *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: new_OBDescriptor(ID,IsDefault);"); }  res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBDescriptor" "', argument " "1"" of type '" "char const *""'"); }
     arg1 = reinterpret_cast< char * >(buf1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_OBDescriptor" "', argument " "2"" of type '" "bool""'"); }  
    arg2 = static_cast< bool >(val2); result = (OpenBabel::OBDescriptor *)new OpenBabel::OBDescriptor((char const *)arg1,arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBDescriptor, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    if (alloc1 == SWIG_NEWOBJ) delete[] buf1; XSRETURN(argvi); fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
    SWIG_croak_null(); }  }
XS(_wrap_new_OBDescriptor__SWIG_1) { { char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int argvi = 0;
    OpenBabel::OBDescriptor *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new_OBDescriptor(ID);"); }  res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBDescriptor" "', argument " "1"" of type '" "char const *""'"); }
     arg1 = reinterpret_cast< char * >(buf1);
    result = (OpenBabel::OBDescriptor *)new OpenBabel::OBDescriptor((char const *)arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBDescriptor, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    if (alloc1 == SWIG_NEWOBJ) delete[] buf1; XSRETURN(argvi); fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
    SWIG_croak_null(); }  }
XS(_wrap_new_OBDescriptor) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; {
        int res = SWIG_AsCharPtrAndSize(ST(0), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { int res = SWIG_AsCharPtrAndSize(ST(0), 0, NULL, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBDescriptor__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBDescriptor__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'new_OBDescriptor'"); XSRETURN(0); }
XS(_wrap_OBDescriptor_FindType) { { char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int argvi = 0;
    OpenBabel::OBDescriptor *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBDescriptor_FindType(ID);"); }  res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBDescriptor_FindType" "', argument " "1"" of type '" "char const *""'"); }
     arg1 = reinterpret_cast< char * >(buf1);
    result = (OpenBabel::OBDescriptor *)OpenBabel::OBDescriptor::FindType((char const *)arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBDescriptor, 0 | SWIG_SHADOW); argvi++ ;
    if (alloc1 == SWIG_NEWOBJ) delete[] buf1; XSRETURN(argvi); fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
    SWIG_croak_null(); }  }
XS(_wrap_OBDescriptor_Predict__SWIG_0) { { OpenBabel::OBDescriptor *arg1 = (OpenBabel::OBDescriptor *) 0 ;
    OpenBabel::OBBase *arg2 = (OpenBabel::OBBase *) 0 ; std::string *arg3 = (std::string *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBDescriptor_Predict(self,OpenBabel::OBBase *,std::string *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBDescriptor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBDescriptor_Predict" "', argument " "1"" of type '" "OpenBabel::OBDescriptor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBDescriptor * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBDescriptor_Predict" "', argument " "2"" of type '" "OpenBabel::OBBase *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBase * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_std__string, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBDescriptor_Predict" "', argument " "3"" of type '" "std::string *""'");  }
     arg3 = reinterpret_cast< std::string * >(argp3); result = (double)(arg1)->Predict(arg2,arg3);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBDescriptor_Predict__SWIG_1) { { OpenBabel::OBDescriptor *arg1 = (OpenBabel::OBDescriptor *) 0 ;
    OpenBabel::OBBase *arg2 = (OpenBabel::OBBase *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBDescriptor_Predict(self,OpenBabel::OBBase *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBDescriptor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBDescriptor_Predict" "', argument " "1"" of type '" "OpenBabel::OBDescriptor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBDescriptor * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBDescriptor_Predict" "', argument " "2"" of type '" "OpenBabel::OBBase *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBase * >(argp2); result = (double)(arg1)->Predict(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBDescriptor_Predict) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBDescriptor, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBDescriptor, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBDescriptor_Predict__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBDescriptor_Predict__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBDescriptor_Predict'"); XSRETURN(0); }
XS(_wrap_OBDescriptor_PredictAndSave__SWIG_0) { { OpenBabel::OBDescriptor *arg1 = (OpenBabel::OBDescriptor *) 0 ;
    OpenBabel::OBBase *arg2 = (OpenBabel::OBBase *) 0 ; std::string *arg3 = (std::string *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBDescriptor_PredictAndSave(self,pOb,param);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBDescriptor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBDescriptor_PredictAndSave" "', argument " "1"" of type '" "OpenBabel::OBDescriptor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBDescriptor * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBDescriptor_PredictAndSave" "', argument " "2"" of type '" "OpenBabel::OBBase *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBase * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_std__string, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBDescriptor_PredictAndSave" "', argument " "3"" of type '" "std::string *""'");  }
     arg3 = reinterpret_cast< std::string * >(argp3); result = (double)(arg1)->PredictAndSave(arg2,arg3);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBDescriptor_PredictAndSave__SWIG_1) { { OpenBabel::OBDescriptor *arg1 = (OpenBabel::OBDescriptor *) 0 ;
    OpenBabel::OBBase *arg2 = (OpenBabel::OBBase *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBDescriptor_PredictAndSave(self,pOb);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBDescriptor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBDescriptor_PredictAndSave" "', argument " "1"" of type '" "OpenBabel::OBDescriptor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBDescriptor * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBDescriptor_PredictAndSave" "', argument " "2"" of type '" "OpenBabel::OBBase *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBase * >(argp2); result = (double)(arg1)->PredictAndSave(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBDescriptor_PredictAndSave) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBDescriptor, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBDescriptor, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBDescriptor_PredictAndSave__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBDescriptor_PredictAndSave__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBDescriptor_PredictAndSave'"); XSRETURN(0); }
XS(_wrap_OBDescriptor_GetStringValue__SWIG_0) { { OpenBabel::OBDescriptor *arg1 = (OpenBabel::OBDescriptor *) 0 ;
    OpenBabel::OBBase *arg2 = (OpenBabel::OBBase *) 0 ; std::string *arg3 = 0 ; std::string *arg4 = (std::string *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ;
    int res4 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: OBDescriptor_GetStringValue(self,pOb,svalue,param);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBDescriptor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBDescriptor_GetStringValue" "', argument " "1"" of type '" "OpenBabel::OBDescriptor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBDescriptor * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBDescriptor_GetStringValue" "', argument " "2"" of type '" "OpenBabel::OBBase *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBase * >(argp2); res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_std__string,  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBDescriptor_GetStringValue" "', argument " "3"" of type '" "std::string &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBDescriptor_GetStringValue" "', argument " "3"" of type '" "std::string &""'"); }
     arg3 = reinterpret_cast< std::string * >(argp3); res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_std__string, 0 |  0 );
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBDescriptor_GetStringValue" "', argument " "4"" of type '" "std::string *""'");  }
     arg4 = reinterpret_cast< std::string * >(argp4); result = (double)(arg1)->GetStringValue(arg2,*arg3,arg4);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBDescriptor_GetStringValue__SWIG_1) { { OpenBabel::OBDescriptor *arg1 = (OpenBabel::OBDescriptor *) 0 ;
    OpenBabel::OBBase *arg2 = (OpenBabel::OBBase *) 0 ; std::string *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
    void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBDescriptor_GetStringValue(self,pOb,svalue);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBDescriptor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBDescriptor_GetStringValue" "', argument " "1"" of type '" "OpenBabel::OBDescriptor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBDescriptor * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBDescriptor_GetStringValue" "', argument " "2"" of type '" "OpenBabel::OBBase *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBase * >(argp2); res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_std__string,  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBDescriptor_GetStringValue" "', argument " "3"" of type '" "std::string &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBDescriptor_GetStringValue" "', argument " "3"" of type '" "std::string &""'"); }
     arg3 = reinterpret_cast< std::string * >(argp3); result = (double)(arg1)->GetStringValue(arg2,*arg3);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBDescriptor_GetStringValue) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBDescriptor, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_std__string, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 4) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBDescriptor, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_std__string, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(3), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBDescriptor_GetStringValue__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBDescriptor_GetStringValue__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBDescriptor_GetStringValue'"); XSRETURN(0); }
XS(_wrap_OBDescriptor_Compare__SWIG_0) { { OpenBabel::OBDescriptor *arg1 = (OpenBabel::OBDescriptor *) 0 ;
    OpenBabel::OBBase *arg2 = (OpenBabel::OBBase *) 0 ; std::istream *arg3 = 0 ; bool arg4 ;
    std::string *arg5 = (std::string *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ;
    int res3 = 0 ; bool val4 ; int ecode4 = 0 ; void *argp5 = 0 ; int res5 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 5) || (items > 5)) { SWIG_croak("Usage: OBDescriptor_Compare(self,pOb,ss,noEval,param);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBDescriptor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBDescriptor_Compare" "', argument " "1"" of type '" "OpenBabel::OBDescriptor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBDescriptor * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBDescriptor_Compare" "', argument " "2"" of type '" "OpenBabel::OBBase *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBase * >(argp2); res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_std__istream,  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBDescriptor_Compare" "', argument " "3"" of type '" "std::istream &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBDescriptor_Compare" "', argument " "3"" of type '" "std::istream &""'"); }
     arg3 = reinterpret_cast< std::istream * >(argp3); ecode4 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBDescriptor_Compare" "', argument " "4"" of type '" "bool""'"); }
      arg4 = static_cast< bool >(val4); res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_std__string, 0 |  0 );
    if (!SWIG_IsOK(res5)) {
      SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "OBDescriptor_Compare" "', argument " "5"" of type '" "std::string *""'");  }
     arg5 = reinterpret_cast< std::string * >(argp5); result = (bool)(arg1)->Compare(arg2,*arg3,arg4,arg5);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBDescriptor_Compare__SWIG_1) { { OpenBabel::OBDescriptor *arg1 = (OpenBabel::OBDescriptor *) 0 ;
    OpenBabel::OBBase *arg2 = (OpenBabel::OBBase *) 0 ; std::istream *arg3 = 0 ; bool arg4 ; void *argp1 = 0 ; int res1 = 0 ;
    void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; bool val4 ; int ecode4 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 4) || (items > 4)) { SWIG_croak("Usage: OBDescriptor_Compare(self,pOb,ss,noEval);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBDescriptor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBDescriptor_Compare" "', argument " "1"" of type '" "OpenBabel::OBDescriptor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBDescriptor * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBDescriptor_Compare" "', argument " "2"" of type '" "OpenBabel::OBBase *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBase * >(argp2); res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_std__istream,  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBDescriptor_Compare" "', argument " "3"" of type '" "std::istream &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBDescriptor_Compare" "', argument " "3"" of type '" "std::istream &""'"); }
     arg3 = reinterpret_cast< std::istream * >(argp3); ecode4 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBDescriptor_Compare" "', argument " "4"" of type '" "bool""'"); }
      arg4 = static_cast< bool >(val4); result = (bool)(arg1)->Compare(arg2,*arg3,arg4);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBDescriptor_Compare) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 4) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBDescriptor, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_std__istream, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 5) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBDescriptor, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_std__istream, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(4), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBDescriptor_Compare__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBDescriptor_Compare__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBDescriptor_Compare'"); XSRETURN(0); }
XS(_wrap_OBDescriptor_Display__SWIG_0) { { OpenBabel::OBDescriptor *arg1 = (OpenBabel::OBDescriptor *) 0 ;
    std::string *arg2 = 0 ; char *arg3 = (char *) 0 ; char *arg4 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    void *argp2 = 0 ; int res2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; int res4 ; char *buf4 = 0 ; int alloc4 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: OBDescriptor_Display(self,txt,param,ID);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBDescriptor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBDescriptor_Display" "', argument " "1"" of type '" "OpenBabel::OBDescriptor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBDescriptor * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__string,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBDescriptor_Display" "', argument " "2"" of type '" "std::string &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBDescriptor_Display" "', argument " "2"" of type '" "std::string &""'"); }
     arg2 = reinterpret_cast< std::string * >(argp2); res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBDescriptor_Display" "', argument " "3"" of type '" "char const *""'"); }
     arg3 = reinterpret_cast< char * >(buf3); res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4); if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBDescriptor_Display" "', argument " "4"" of type '" "char const *""'"); }
     arg4 = reinterpret_cast< char * >(buf4); result = (bool)(arg1)->Display(*arg2,(char const *)arg3,(char const *)arg4);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (alloc3 == SWIG_NEWOBJ) delete[] buf3; if (alloc4 == SWIG_NEWOBJ) delete[] buf4; XSRETURN(argvi); fail:
    if (alloc3 == SWIG_NEWOBJ) delete[] buf3; if (alloc4 == SWIG_NEWOBJ) delete[] buf4; SWIG_croak_null(); }  }
XS(_wrap_OBDescriptor_Display__SWIG_1) { { OpenBabel::OBDescriptor *arg1 = (OpenBabel::OBDescriptor *) 0 ;
    std::string *arg2 = 0 ; char *arg3 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBDescriptor_Display(self,txt,param);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBDescriptor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBDescriptor_Display" "', argument " "1"" of type '" "OpenBabel::OBDescriptor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBDescriptor * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__string,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBDescriptor_Display" "', argument " "2"" of type '" "std::string &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBDescriptor_Display" "', argument " "2"" of type '" "std::string &""'"); }
     arg2 = reinterpret_cast< std::string * >(argp2); res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBDescriptor_Display" "', argument " "3"" of type '" "char const *""'"); }
     arg3 = reinterpret_cast< char * >(buf3); result = (bool)(arg1)->Display(*arg2,(char const *)arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (alloc3 == SWIG_NEWOBJ) delete[] buf3; XSRETURN(argvi); fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
    SWIG_croak_null(); }  }
XS(_wrap_OBDescriptor_Display) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBDescriptor, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_std__string, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { int res = SWIG_AsCharPtrAndSize(ST(2), 0, NULL, 0);
        _v = SWIG_CheckState(res);}  if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1:
    if (items == 4) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBDescriptor, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_std__string, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { int res = SWIG_AsCharPtrAndSize(ST(2), 0, NULL, 0);
        _v = SWIG_CheckState(res);}  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(3), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBDescriptor_Display__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBDescriptor_Display__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBDescriptor_Display'"); XSRETURN(0); }
XS(_wrap_OBDescriptor_Order__SWIG_0) { { OpenBabel::OBDescriptor *arg1 = (OpenBabel::OBDescriptor *) 0 ; double arg2 ;
    double arg3 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBDescriptor_Order(self,p1,p2);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBDescriptor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBDescriptor_Order" "', argument " "1"" of type '" "OpenBabel::OBDescriptor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBDescriptor * >(argp1);
    ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBDescriptor_Order" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBDescriptor_Order" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); result = (bool)(arg1)->Order(arg2,arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBDescriptor_Order__SWIG_1) { { OpenBabel::OBDescriptor *arg1 = (OpenBabel::OBDescriptor *) 0 ; std::string arg2 ;
    std::string arg3 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBDescriptor_Order(self,s1,s2);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBDescriptor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBDescriptor_Order" "', argument " "1"" of type '" "OpenBabel::OBDescriptor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBDescriptor * >(argp1); { std::string *ptr = (std::string *)0;
      int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "OBDescriptor_Order" "', argument " "2"" of type '" "std::string""'");  }
       arg2 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; }  { std::string *ptr = (std::string *)0;
      int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), &ptr); if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "OBDescriptor_Order" "', argument " "3"" of type '" "std::string""'");  }
       arg3 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; }  result = (bool)(arg1)->Order(arg2,arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBDescriptor_Order) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBDescriptor, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBDescriptor, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBDescriptor_Order__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBDescriptor_Order__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBDescriptor_Order'"); XSRETURN(0); }
XS(_wrap_OBDescriptor_FilterCompare) { { OpenBabel::OBBase *arg1 = (OpenBabel::OBBase *) 0 ; std::istream *arg2 = 0 ;
    bool arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; bool val3 ; int ecode3 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBDescriptor_FilterCompare(pOb,ss,noEval);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBDescriptor_FilterCompare" "', argument " "1"" of type '" "OpenBabel::OBBase *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBase * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__istream,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBDescriptor_FilterCompare" "', argument " "2"" of type '" "std::istream &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBDescriptor_FilterCompare" "', argument " "2"" of type '" "std::istream &""'"); }
     arg2 = reinterpret_cast< std::istream * >(argp2); ecode3 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBDescriptor_FilterCompare" "', argument " "3"" of type '" "bool""'"); }
      arg3 = static_cast< bool >(val3); result = (bool)OpenBabel::OBDescriptor::FilterCompare(arg1,*arg2,arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBDescriptor_AddProperties) { { OpenBabel::OBBase *arg1 = (OpenBabel::OBBase *) 0 ; std::string *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBDescriptor_AddProperties(pOb,DescrList);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBDescriptor_AddProperties" "', argument " "1"" of type '" "OpenBabel::OBBase *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBase * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBDescriptor_AddProperties" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBDescriptor_AddProperties" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  OpenBabel::OBDescriptor::AddProperties(arg1,(std::string const &)*arg2); ST(argvi) = sv_newmortal();
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap_OBDescriptor_DeleteProperties) { { OpenBabel::OBBase *arg1 = (OpenBabel::OBBase *) 0 ; std::string *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBDescriptor_DeleteProperties(pOb,DescrList);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBDescriptor_DeleteProperties" "', argument " "1"" of type '" "OpenBabel::OBBase *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBase * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBDescriptor_DeleteProperties" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBDescriptor_DeleteProperties" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  OpenBabel::OBDescriptor::DeleteProperties(arg1,(std::string const &)*arg2); ST(argvi) = sv_newmortal();
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap_OBDescriptor_GetValues) { { OpenBabel::OBBase *arg1 = (OpenBabel::OBBase *) 0 ; std::string *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; std::string result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBDescriptor_GetValues(pOb,DescrList);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBDescriptor_GetValues" "', argument " "1"" of type '" "OpenBabel::OBBase *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBase * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBDescriptor_GetValues" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBDescriptor_GetValues" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  result = OpenBabel::OBDescriptor::GetValues(arg1,(std::string const &)*arg2);
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap_OBDescriptor_GetIdentifier) { { std::istream *arg1 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    SwigValueWrapper< std::pair< std::string,std::string > > result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBDescriptor_GetIdentifier(optionText);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_std__istream,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBDescriptor_GetIdentifier" "', argument " "1"" of type '" "std::istream &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBDescriptor_GetIdentifier" "', argument " "1"" of type '" "std::istream &""'"); }
     arg1 = reinterpret_cast< std::istream * >(argp1); result = OpenBabel::OBDescriptor::GetIdentifier(*arg1);
    ST(argvi) = SWIG_NewPointerObj((new std::pair< std::string,std::string >(static_cast< const std::pair< std::string,std::string >& >(result))), SWIGTYPE_p_std__pairT_std__string_std__string_t, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBDescriptor) { { OpenBabel::OBDescriptor *arg1 = (OpenBabel::OBDescriptor *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBDescriptor(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBDescriptor, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBDescriptor" "', argument " "1"" of type '" "OpenBabel::OBDescriptor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBDescriptor * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_new_LineSearchType) { { int argvi = 0; OpenBabel::LineSearchType *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_LineSearchType();"); } 
    result = (OpenBabel::LineSearchType *)new OpenBabel::LineSearchType();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__LineSearchType, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_LineSearchType) { { OpenBabel::LineSearchType *arg1 = (OpenBabel::LineSearchType *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_LineSearchType(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__LineSearchType, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LineSearchType" "', argument " "1"" of type '" "OpenBabel::LineSearchType *""'");  }
     arg1 = reinterpret_cast< OpenBabel::LineSearchType * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFParameter_a_set) { { OpenBabel::OBFFParameter *arg1 = (OpenBabel::OBFFParameter *) 0 ; int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBFFParameter_a_set(self,a);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFParameter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFParameter_a_set" "', argument " "1"" of type '" "OpenBabel::OBFFParameter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFParameter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFParameter_a_set" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); if (arg1) (arg1)->a = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFParameter_a_get) { { OpenBabel::OBFFParameter *arg1 = (OpenBabel::OBFFParameter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFParameter_a_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFParameter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFParameter_a_get" "', argument " "1"" of type '" "OpenBabel::OBFFParameter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFParameter * >(argp1); result = (int) ((arg1)->a);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFParameter_b_set) { { OpenBabel::OBFFParameter *arg1 = (OpenBabel::OBFFParameter *) 0 ; int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBFFParameter_b_set(self,b);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFParameter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFParameter_b_set" "', argument " "1"" of type '" "OpenBabel::OBFFParameter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFParameter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFParameter_b_set" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); if (arg1) (arg1)->b = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFParameter_b_get) { { OpenBabel::OBFFParameter *arg1 = (OpenBabel::OBFFParameter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFParameter_b_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFParameter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFParameter_b_get" "', argument " "1"" of type '" "OpenBabel::OBFFParameter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFParameter * >(argp1); result = (int) ((arg1)->b);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFParameter_c_set) { { OpenBabel::OBFFParameter *arg1 = (OpenBabel::OBFFParameter *) 0 ; int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBFFParameter_c_set(self,c);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFParameter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFParameter_c_set" "', argument " "1"" of type '" "OpenBabel::OBFFParameter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFParameter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFParameter_c_set" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); if (arg1) (arg1)->c = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFParameter_c_get) { { OpenBabel::OBFFParameter *arg1 = (OpenBabel::OBFFParameter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFParameter_c_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFParameter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFParameter_c_get" "', argument " "1"" of type '" "OpenBabel::OBFFParameter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFParameter * >(argp1); result = (int) ((arg1)->c);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFParameter_d_set) { { OpenBabel::OBFFParameter *arg1 = (OpenBabel::OBFFParameter *) 0 ; int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBFFParameter_d_set(self,d);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFParameter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFParameter_d_set" "', argument " "1"" of type '" "OpenBabel::OBFFParameter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFParameter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFParameter_d_set" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); if (arg1) (arg1)->d = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFParameter_d_get) { { OpenBabel::OBFFParameter *arg1 = (OpenBabel::OBFFParameter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFParameter_d_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFParameter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFParameter_d_get" "', argument " "1"" of type '" "OpenBabel::OBFFParameter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFParameter * >(argp1); result = (int) ((arg1)->d);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFParameter__a_set) { { OpenBabel::OBFFParameter *arg1 = (OpenBabel::OBFFParameter *) 0 ; std::string *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBFFParameter__a_set(self,_a);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFParameter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFParameter__a_set" "', argument " "1"" of type '" "OpenBabel::OBFFParameter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFParameter * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFFParameter__a_set" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBFFParameter__a_set" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  if (arg1) (arg1)->_a = *arg2; ST(argvi) = sv_newmortal(); if (SWIG_IsNewObj(res2)) delete arg2;
    XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap_OBFFParameter__a_get) { { OpenBabel::OBFFParameter *arg1 = (OpenBabel::OBFFParameter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::string *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFParameter__a_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFParameter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFParameter__a_get" "', argument " "1"" of type '" "OpenBabel::OBFFParameter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFParameter * >(argp1); result = (std::string *) & ((arg1)->_a);
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(*result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFParameter__b_set) { { OpenBabel::OBFFParameter *arg1 = (OpenBabel::OBFFParameter *) 0 ; std::string *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBFFParameter__b_set(self,_b);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFParameter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFParameter__b_set" "', argument " "1"" of type '" "OpenBabel::OBFFParameter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFParameter * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFFParameter__b_set" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBFFParameter__b_set" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  if (arg1) (arg1)->_b = *arg2; ST(argvi) = sv_newmortal(); if (SWIG_IsNewObj(res2)) delete arg2;
    XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap_OBFFParameter__b_get) { { OpenBabel::OBFFParameter *arg1 = (OpenBabel::OBFFParameter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::string *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFParameter__b_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFParameter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFParameter__b_get" "', argument " "1"" of type '" "OpenBabel::OBFFParameter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFParameter * >(argp1); result = (std::string *) & ((arg1)->_b);
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(*result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFParameter__c_set) { { OpenBabel::OBFFParameter *arg1 = (OpenBabel::OBFFParameter *) 0 ; std::string *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBFFParameter__c_set(self,_c);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFParameter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFParameter__c_set" "', argument " "1"" of type '" "OpenBabel::OBFFParameter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFParameter * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFFParameter__c_set" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBFFParameter__c_set" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  if (arg1) (arg1)->_c = *arg2; ST(argvi) = sv_newmortal(); if (SWIG_IsNewObj(res2)) delete arg2;
    XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap_OBFFParameter__c_get) { { OpenBabel::OBFFParameter *arg1 = (OpenBabel::OBFFParameter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::string *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFParameter__c_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFParameter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFParameter__c_get" "', argument " "1"" of type '" "OpenBabel::OBFFParameter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFParameter * >(argp1); result = (std::string *) & ((arg1)->_c);
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(*result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFParameter__d_set) { { OpenBabel::OBFFParameter *arg1 = (OpenBabel::OBFFParameter *) 0 ; std::string *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBFFParameter__d_set(self,_d);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFParameter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFParameter__d_set" "', argument " "1"" of type '" "OpenBabel::OBFFParameter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFParameter * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFFParameter__d_set" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBFFParameter__d_set" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  if (arg1) (arg1)->_d = *arg2; ST(argvi) = sv_newmortal(); if (SWIG_IsNewObj(res2)) delete arg2;
    XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap_OBFFParameter__d_get) { { OpenBabel::OBFFParameter *arg1 = (OpenBabel::OBFFParameter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::string *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFParameter__d_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFParameter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFParameter__d_get" "', argument " "1"" of type '" "OpenBabel::OBFFParameter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFParameter * >(argp1); result = (std::string *) & ((arg1)->_d);
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(*result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFParameter__ipar_set) { { OpenBabel::OBFFParameter *arg1 = (OpenBabel::OBFFParameter *) 0 ;
    std::vector< int > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< int > temp2 ; std::vector< int > *v2 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFParameter__ipar_set(self,_ipar);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFParameter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFParameter__ipar_set" "', argument " "1"" of type '" "OpenBabel::OBFFParameter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFParameter * >(argp1); { if (SWIG_ConvertPtr(ST(1),(void **) &v2, 
      SWIGTYPE_p_std__vectorT_int_t,1) != -1) { arg2 = v2; }  else if (SvROK(ST(1))) { AV *av = (AV *)SvRV(ST(1));
        if (SvTYPE(av) != SVt_PVAV) SWIG_croak("Type error in argument 2 of OBFFParameter__ipar_set. "
        "Expected an array of ""int"); SV **tv; I32 len = av_len(av) + 1; for (int i=0; i<len; i++) { tv = av_fetch(av, i, 0);
          if (SvIOK(*tv)) { temp2.push_back((int)SvIVX(*tv)); }  else { SWIG_croak("Type error in argument 2 of "
            "OBFFParameter__ipar_set. " "Expected an array of ""int"); }  }  arg2 = &temp2; }  else {
        SWIG_croak("Type error in argument 2 of OBFFParameter__ipar_set. " "Expected an array of ""int"); }  } 
    if (arg1) (arg1)->_ipar = *arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFParameter__ipar_get) { { OpenBabel::OBFFParameter *arg1 = (OpenBabel::OBFFParameter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::vector< int > *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFParameter__ipar_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFParameter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFParameter__ipar_get" "', argument " "1"" of type '" "OpenBabel::OBFFParameter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFParameter * >(argp1); result = (std::vector< int > *) & ((arg1)->_ipar);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_t, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFParameter__dpar_set) { { OpenBabel::OBFFParameter *arg1 = (OpenBabel::OBFFParameter *) 0 ;
    std::vector< double > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< double > temp2 ; std::vector< double > *v2 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFParameter__dpar_set(self,_dpar);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFParameter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFParameter__dpar_set" "', argument " "1"" of type '" "OpenBabel::OBFFParameter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFParameter * >(argp1); { if (SWIG_ConvertPtr(ST(1),(void **) &v2, 
      SWIGTYPE_p_std__vectorT_double_t,1) != -1) { arg2 = v2; }  else if (SvROK(ST(1))) { AV *av = (AV *)SvRV(ST(1));
        if (SvTYPE(av) != SVt_PVAV) SWIG_croak("Type error in argument 2 of OBFFParameter__dpar_set. "
        "Expected an array of ""double"); SV **tv; I32 len = av_len(av) + 1; for (int i=0; i<len; i++) {
          tv = av_fetch(av, i, 0); if (SvNIOK(*tv)) { temp2.push_back((double)SwigSvToNumber(*tv)); }  else {
            SWIG_croak("Type error in argument 2 of " "OBFFParameter__dpar_set. " "Expected an array of ""double"); }  } 
        arg2 = &temp2; }  else { SWIG_croak("Type error in argument 2 of OBFFParameter__dpar_set. "
        "Expected an array of ""double"); }  }  if (arg1) (arg1)->_dpar = *arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFParameter__dpar_get) { { OpenBabel::OBFFParameter *arg1 = (OpenBabel::OBFFParameter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::vector< double > *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFParameter__dpar_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFParameter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFParameter__dpar_get" "', argument " "1"" of type '" "OpenBabel::OBFFParameter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFParameter * >(argp1); result = (std::vector< double > *) & ((arg1)->_dpar);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_t, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFParameter_clear) { { OpenBabel::OBFFParameter *arg1 = (OpenBabel::OBFFParameter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBFFParameter_clear(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFParameter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFParameter_clear" "', argument " "1"" of type '" "OpenBabel::OBFFParameter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFParameter * >(argp1); (arg1)->clear(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBFFParameter) { { int argvi = 0; OpenBabel::OBFFParameter *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_OBFFParameter();"); }  result = (OpenBabel::OBFFParameter *)new OpenBabel::OBFFParameter();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBFFParameter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBFFParameter) { { OpenBabel::OBFFParameter *arg1 = (OpenBabel::OBFFParameter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBFFParameter(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFParameter, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBFFParameter" "', argument " "1"" of type '" "OpenBabel::OBFFParameter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFParameter * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFCalculation2_energy_set) { { OpenBabel::OBFFCalculation2 *arg1 = (OpenBabel::OBFFCalculation2 *) 0 ; double arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBFFCalculation2_energy_set(self,energy);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation2, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFCalculation2_energy_set" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation2 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation2 * >(argp1);
    ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFCalculation2_energy_set" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); if (arg1) (arg1)->energy = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFCalculation2_energy_get) { { OpenBabel::OBFFCalculation2 *arg1 = (OpenBabel::OBFFCalculation2 *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFCalculation2_energy_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation2, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFCalculation2_energy_get" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation2 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation2 * >(argp1); result = (double) ((arg1)->energy);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFCalculation2_a_set) { { OpenBabel::OBFFCalculation2 *arg1 = (OpenBabel::OBFFCalculation2 *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFCalculation2_a_set(self,a);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation2, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFCalculation2_a_set" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation2 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation2 * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFFCalculation2_a_set" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); if (arg1) (arg1)->a = arg2; ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFCalculation2_a_get) { { OpenBabel::OBFFCalculation2 *arg1 = (OpenBabel::OBFFCalculation2 *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFCalculation2_a_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation2, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFCalculation2_a_get" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation2 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation2 * >(argp1); result = (OpenBabel::OBAtom *) ((arg1)->a);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFCalculation2_b_set) { { OpenBabel::OBFFCalculation2 *arg1 = (OpenBabel::OBFFCalculation2 *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFCalculation2_b_set(self,b);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation2, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFCalculation2_b_set" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation2 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation2 * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFFCalculation2_b_set" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); if (arg1) (arg1)->b = arg2; ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFCalculation2_b_get) { { OpenBabel::OBFFCalculation2 *arg1 = (OpenBabel::OBFFCalculation2 *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFCalculation2_b_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation2, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFCalculation2_b_get" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation2 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation2 * >(argp1); result = (OpenBabel::OBAtom *) ((arg1)->b);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFCalculation2_idx_a_set) { { OpenBabel::OBFFCalculation2 *arg1 = (OpenBabel::OBFFCalculation2 *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBFFCalculation2_idx_a_set(self,idx_a);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation2, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFCalculation2_idx_a_set" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation2 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation2 * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFCalculation2_idx_a_set" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); if (arg1) (arg1)->idx_a = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFCalculation2_idx_a_get) { { OpenBabel::OBFFCalculation2 *arg1 = (OpenBabel::OBFFCalculation2 *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFCalculation2_idx_a_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation2, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFCalculation2_idx_a_get" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation2 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation2 * >(argp1); result = (int) ((arg1)->idx_a);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFCalculation2_idx_b_set) { { OpenBabel::OBFFCalculation2 *arg1 = (OpenBabel::OBFFCalculation2 *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBFFCalculation2_idx_b_set(self,idx_b);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation2, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFCalculation2_idx_b_set" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation2 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation2 * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFCalculation2_idx_b_set" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); if (arg1) (arg1)->idx_b = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFCalculation2_idx_b_get) { { OpenBabel::OBFFCalculation2 *arg1 = (OpenBabel::OBFFCalculation2 *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFCalculation2_idx_b_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation2, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFCalculation2_idx_b_get" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation2 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation2 * >(argp1); result = (int) ((arg1)->idx_b);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFCalculation2_pos_a_set) { { OpenBabel::OBFFCalculation2 *arg1 = (OpenBabel::OBFFCalculation2 *) 0 ;
    double *arg2 = (double *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFCalculation2_pos_a_set(self,pos_a);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation2, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFCalculation2_pos_a_set" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation2 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation2 * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFFCalculation2_pos_a_set" "', argument " "2"" of type '" "double *""'");  }
     arg2 = reinterpret_cast< double * >(argp2); if (arg1) (arg1)->pos_a = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFCalculation2_pos_a_get) { { OpenBabel::OBFFCalculation2 *arg1 = (OpenBabel::OBFFCalculation2 *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFCalculation2_pos_a_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation2, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFCalculation2_pos_a_get" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation2 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation2 * >(argp1); result = (double *) ((arg1)->pos_a);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFCalculation2_pos_b_set) { { OpenBabel::OBFFCalculation2 *arg1 = (OpenBabel::OBFFCalculation2 *) 0 ;
    double *arg2 = (double *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFCalculation2_pos_b_set(self,pos_b);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation2, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFCalculation2_pos_b_set" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation2 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation2 * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFFCalculation2_pos_b_set" "', argument " "2"" of type '" "double *""'");  }
     arg2 = reinterpret_cast< double * >(argp2); if (arg1) (arg1)->pos_b = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFCalculation2_pos_b_get) { { OpenBabel::OBFFCalculation2 *arg1 = (OpenBabel::OBFFCalculation2 *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFCalculation2_pos_b_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation2, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFCalculation2_pos_b_get" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation2 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation2 * >(argp1); result = (double *) ((arg1)->pos_b);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFCalculation2_force_a_set) { { OpenBabel::OBFFCalculation2 *arg1 = (OpenBabel::OBFFCalculation2 *) 0 ;
    double *arg2 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFCalculation2_force_a_set(self,force_a);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation2, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFCalculation2_force_a_set" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation2 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation2 * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFFCalculation2_force_a_set" "', argument " "2"" of type '" "double [3]""'");  }
      arg2 = reinterpret_cast< double * >(argp2); { if (arg2) { size_t ii = 0;
        for (; ii < (size_t)3; ++ii) arg1->force_a[ii] = arg2[ii]; }  else {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""force_a""' of type '""double [3]""'"); }
       }  ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFCalculation2_force_a_get) { { OpenBabel::OBFFCalculation2 *arg1 = (OpenBabel::OBFFCalculation2 *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFCalculation2_force_a_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation2, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFCalculation2_force_a_get" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation2 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation2 * >(argp1); result = (double *)(double *) ((arg1)->force_a);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFCalculation2_force_b_set) { { OpenBabel::OBFFCalculation2 *arg1 = (OpenBabel::OBFFCalculation2 *) 0 ;
    double *arg2 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFCalculation2_force_b_set(self,force_b);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation2, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFCalculation2_force_b_set" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation2 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation2 * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFFCalculation2_force_b_set" "', argument " "2"" of type '" "double [3]""'");  }
      arg2 = reinterpret_cast< double * >(argp2); { if (arg2) { size_t ii = 0;
        for (; ii < (size_t)3; ++ii) arg1->force_b[ii] = arg2[ii]; }  else {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""force_b""' of type '""double [3]""'"); }
       }  ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFCalculation2_force_b_get) { { OpenBabel::OBFFCalculation2 *arg1 = (OpenBabel::OBFFCalculation2 *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFCalculation2_force_b_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation2, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFCalculation2_force_b_get" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation2 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation2 * >(argp1); result = (double *)(double *) ((arg1)->force_b);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_delete_OBFFCalculation2) { { OpenBabel::OBFFCalculation2 *arg1 = (OpenBabel::OBFFCalculation2 *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: delete_OBFFCalculation2(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation2, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBFFCalculation2" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation2 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation2 * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFCalculation2_SetupPointers) { { OpenBabel::OBFFCalculation2 *arg1 = (OpenBabel::OBFFCalculation2 *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFCalculation2_SetupPointers(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation2, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFCalculation2_SetupPointers" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation2 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation2 * >(argp1); (arg1)->SetupPointers(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBFFCalculation2) { { int argvi = 0; OpenBabel::OBFFCalculation2 *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_OBFFCalculation2();"); } 
    result = (OpenBabel::OBFFCalculation2 *)new OpenBabel::OBFFCalculation2();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBFFCalculation2, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFCalculation3_c_set) { { OpenBabel::OBFFCalculation3 *arg1 = (OpenBabel::OBFFCalculation3 *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFCalculation3_c_set(self,c);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFCalculation3_c_set" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation3 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation3 * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFFCalculation3_c_set" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); if (arg1) (arg1)->c = arg2; ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFCalculation3_c_get) { { OpenBabel::OBFFCalculation3 *arg1 = (OpenBabel::OBFFCalculation3 *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFCalculation3_c_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFCalculation3_c_get" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation3 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation3 * >(argp1); result = (OpenBabel::OBAtom *) ((arg1)->c);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFCalculation3_idx_c_set) { { OpenBabel::OBFFCalculation3 *arg1 = (OpenBabel::OBFFCalculation3 *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBFFCalculation3_idx_c_set(self,idx_c);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFCalculation3_idx_c_set" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation3 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation3 * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFCalculation3_idx_c_set" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); if (arg1) (arg1)->idx_c = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFCalculation3_idx_c_get) { { OpenBabel::OBFFCalculation3 *arg1 = (OpenBabel::OBFFCalculation3 *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFCalculation3_idx_c_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFCalculation3_idx_c_get" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation3 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation3 * >(argp1); result = (int) ((arg1)->idx_c);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFCalculation3_pos_c_set) { { OpenBabel::OBFFCalculation3 *arg1 = (OpenBabel::OBFFCalculation3 *) 0 ;
    double *arg2 = (double *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFCalculation3_pos_c_set(self,pos_c);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFCalculation3_pos_c_set" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation3 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation3 * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFFCalculation3_pos_c_set" "', argument " "2"" of type '" "double *""'");  }
     arg2 = reinterpret_cast< double * >(argp2); if (arg1) (arg1)->pos_c = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFCalculation3_pos_c_get) { { OpenBabel::OBFFCalculation3 *arg1 = (OpenBabel::OBFFCalculation3 *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFCalculation3_pos_c_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFCalculation3_pos_c_get" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation3 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation3 * >(argp1); result = (double *) ((arg1)->pos_c);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFCalculation3_force_c_set) { { OpenBabel::OBFFCalculation3 *arg1 = (OpenBabel::OBFFCalculation3 *) 0 ;
    double *arg2 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFCalculation3_force_c_set(self,force_c);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFCalculation3_force_c_set" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation3 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation3 * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFFCalculation3_force_c_set" "', argument " "2"" of type '" "double [3]""'");  }
      arg2 = reinterpret_cast< double * >(argp2); { if (arg2) { size_t ii = 0;
        for (; ii < (size_t)3; ++ii) arg1->force_c[ii] = arg2[ii]; }  else {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""force_c""' of type '""double [3]""'"); }
       }  ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFCalculation3_force_c_get) { { OpenBabel::OBFFCalculation3 *arg1 = (OpenBabel::OBFFCalculation3 *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFCalculation3_force_c_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation3, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFCalculation3_force_c_get" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation3 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation3 * >(argp1); result = (double *)(double *) ((arg1)->force_c);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_delete_OBFFCalculation3) { { OpenBabel::OBFFCalculation3 *arg1 = (OpenBabel::OBFFCalculation3 *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: delete_OBFFCalculation3(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation3, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBFFCalculation3" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation3 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation3 * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBFFCalculation3) { { int argvi = 0; OpenBabel::OBFFCalculation3 *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_OBFFCalculation3();"); } 
    result = (OpenBabel::OBFFCalculation3 *)new OpenBabel::OBFFCalculation3();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBFFCalculation3, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFCalculation4_d_set) { { OpenBabel::OBFFCalculation4 *arg1 = (OpenBabel::OBFFCalculation4 *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFCalculation4_d_set(self,d);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation4, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFCalculation4_d_set" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation4 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation4 * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFFCalculation4_d_set" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); if (arg1) (arg1)->d = arg2; ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFCalculation4_d_get) { { OpenBabel::OBFFCalculation4 *arg1 = (OpenBabel::OBFFCalculation4 *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFCalculation4_d_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation4, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFCalculation4_d_get" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation4 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation4 * >(argp1); result = (OpenBabel::OBAtom *) ((arg1)->d);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFCalculation4_idx_d_set) { { OpenBabel::OBFFCalculation4 *arg1 = (OpenBabel::OBFFCalculation4 *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBFFCalculation4_idx_d_set(self,idx_d);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation4, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFCalculation4_idx_d_set" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation4 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation4 * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFCalculation4_idx_d_set" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); if (arg1) (arg1)->idx_d = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFCalculation4_idx_d_get) { { OpenBabel::OBFFCalculation4 *arg1 = (OpenBabel::OBFFCalculation4 *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFCalculation4_idx_d_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation4, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFCalculation4_idx_d_get" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation4 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation4 * >(argp1); result = (int) ((arg1)->idx_d);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFCalculation4_pos_d_set) { { OpenBabel::OBFFCalculation4 *arg1 = (OpenBabel::OBFFCalculation4 *) 0 ;
    double *arg2 = (double *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFCalculation4_pos_d_set(self,pos_d);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation4, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFCalculation4_pos_d_set" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation4 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation4 * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFFCalculation4_pos_d_set" "', argument " "2"" of type '" "double *""'");  }
     arg2 = reinterpret_cast< double * >(argp2); if (arg1) (arg1)->pos_d = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFCalculation4_pos_d_get) { { OpenBabel::OBFFCalculation4 *arg1 = (OpenBabel::OBFFCalculation4 *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFCalculation4_pos_d_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation4, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFCalculation4_pos_d_get" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation4 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation4 * >(argp1); result = (double *) ((arg1)->pos_d);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFCalculation4_force_d_set) { { OpenBabel::OBFFCalculation4 *arg1 = (OpenBabel::OBFFCalculation4 *) 0 ;
    double *arg2 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFCalculation4_force_d_set(self,force_d);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation4, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFCalculation4_force_d_set" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation4 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation4 * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFFCalculation4_force_d_set" "', argument " "2"" of type '" "double [3]""'");  }
      arg2 = reinterpret_cast< double * >(argp2); { if (arg2) { size_t ii = 0;
        for (; ii < (size_t)3; ++ii) arg1->force_d[ii] = arg2[ii]; }  else {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""force_d""' of type '""double [3]""'"); }
       }  ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFCalculation4_force_d_get) { { OpenBabel::OBFFCalculation4 *arg1 = (OpenBabel::OBFFCalculation4 *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFCalculation4_force_d_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation4, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFCalculation4_force_d_get" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation4 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation4 * >(argp1); result = (double *)(double *) ((arg1)->force_d);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_delete_OBFFCalculation4) { { OpenBabel::OBFFCalculation4 *arg1 = (OpenBabel::OBFFCalculation4 *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: delete_OBFFCalculation4(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFCalculation4, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBFFCalculation4" "', argument " "1"" of type '" "OpenBabel::OBFFCalculation4 *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFCalculation4 * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBFFCalculation4) { { int argvi = 0; OpenBabel::OBFFCalculation4 *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_OBFFCalculation4();"); } 
    result = (OpenBabel::OBFFCalculation4 *)new OpenBabel::OBFFCalculation4();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBFFCalculation4, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraint_factor_set) { { OpenBabel::OBFFConstraint *arg1 = (OpenBabel::OBFFConstraint *) 0 ; double arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBFFConstraint_factor_set(self,factor);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraint_factor_set" "', argument " "1"" of type '" "OpenBabel::OBFFConstraint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraint * >(argp1);
    ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFConstraint_factor_set" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); if (arg1) (arg1)->factor = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraint_factor_get) { { OpenBabel::OBFFConstraint *arg1 = (OpenBabel::OBFFConstraint *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFConstraint_factor_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraint_factor_get" "', argument " "1"" of type '" "OpenBabel::OBFFConstraint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraint * >(argp1); result = (double) ((arg1)->factor);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraint_constraint_value_set) { { OpenBabel::OBFFConstraint *arg1 = (OpenBabel::OBFFConstraint *) 0 ;
    double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFConstraint_constraint_value_set(self,constraint_value);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraint_constraint_value_set" "', argument " "1"" of type '" "OpenBabel::OBFFConstraint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraint * >(argp1);
    ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFConstraint_constraint_value_set" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); if (arg1) (arg1)->constraint_value = arg2; ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraint_constraint_value_get) { { OpenBabel::OBFFConstraint *arg1 = (OpenBabel::OBFFConstraint *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFConstraint_constraint_value_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraint_constraint_value_get" "', argument " "1"" of type '" "OpenBabel::OBFFConstraint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraint * >(argp1); result = (double) ((arg1)->constraint_value);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraint_rab0_set) { { OpenBabel::OBFFConstraint *arg1 = (OpenBabel::OBFFConstraint *) 0 ; double arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBFFConstraint_rab0_set(self,rab0);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraint_rab0_set" "', argument " "1"" of type '" "OpenBabel::OBFFConstraint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraint * >(argp1);
    ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFConstraint_rab0_set" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); if (arg1) (arg1)->rab0 = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraint_rab0_get) { { OpenBabel::OBFFConstraint *arg1 = (OpenBabel::OBFFConstraint *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFConstraint_rab0_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraint_rab0_get" "', argument " "1"" of type '" "OpenBabel::OBFFConstraint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraint * >(argp1); result = (double) ((arg1)->rab0);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraint_rbc0_set) { { OpenBabel::OBFFConstraint *arg1 = (OpenBabel::OBFFConstraint *) 0 ; double arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBFFConstraint_rbc0_set(self,rbc0);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraint_rbc0_set" "', argument " "1"" of type '" "OpenBabel::OBFFConstraint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraint * >(argp1);
    ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFConstraint_rbc0_set" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); if (arg1) (arg1)->rbc0 = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraint_rbc0_get) { { OpenBabel::OBFFConstraint *arg1 = (OpenBabel::OBFFConstraint *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFConstraint_rbc0_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraint_rbc0_get" "', argument " "1"" of type '" "OpenBabel::OBFFConstraint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraint * >(argp1); result = (double) ((arg1)->rbc0);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraint_type_set) { { OpenBabel::OBFFConstraint *arg1 = (OpenBabel::OBFFConstraint *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBFFConstraint_type_set(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraint_type_set" "', argument " "1"" of type '" "OpenBabel::OBFFConstraint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraint * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFConstraint_type_set" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); if (arg1) (arg1)->type = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraint_type_get) { { OpenBabel::OBFFConstraint *arg1 = (OpenBabel::OBFFConstraint *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFConstraint_type_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraint_type_get" "', argument " "1"" of type '" "OpenBabel::OBFFConstraint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraint * >(argp1); result = (int) ((arg1)->type);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraint_ia_set) { { OpenBabel::OBFFConstraint *arg1 = (OpenBabel::OBFFConstraint *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBFFConstraint_ia_set(self,ia);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraint_ia_set" "', argument " "1"" of type '" "OpenBabel::OBFFConstraint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraint * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFConstraint_ia_set" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); if (arg1) (arg1)->ia = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraint_ia_get) { { OpenBabel::OBFFConstraint *arg1 = (OpenBabel::OBFFConstraint *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFConstraint_ia_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraint_ia_get" "', argument " "1"" of type '" "OpenBabel::OBFFConstraint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraint * >(argp1); result = (int) ((arg1)->ia);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraint_ib_set) { { OpenBabel::OBFFConstraint *arg1 = (OpenBabel::OBFFConstraint *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBFFConstraint_ib_set(self,ib);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraint_ib_set" "', argument " "1"" of type '" "OpenBabel::OBFFConstraint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraint * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFConstraint_ib_set" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); if (arg1) (arg1)->ib = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraint_ib_get) { { OpenBabel::OBFFConstraint *arg1 = (OpenBabel::OBFFConstraint *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFConstraint_ib_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraint_ib_get" "', argument " "1"" of type '" "OpenBabel::OBFFConstraint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraint * >(argp1); result = (int) ((arg1)->ib);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraint_ic_set) { { OpenBabel::OBFFConstraint *arg1 = (OpenBabel::OBFFConstraint *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBFFConstraint_ic_set(self,ic);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraint_ic_set" "', argument " "1"" of type '" "OpenBabel::OBFFConstraint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraint * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFConstraint_ic_set" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); if (arg1) (arg1)->ic = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraint_ic_get) { { OpenBabel::OBFFConstraint *arg1 = (OpenBabel::OBFFConstraint *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFConstraint_ic_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraint_ic_get" "', argument " "1"" of type '" "OpenBabel::OBFFConstraint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraint * >(argp1); result = (int) ((arg1)->ic);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraint_id_set) { { OpenBabel::OBFFConstraint *arg1 = (OpenBabel::OBFFConstraint *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBFFConstraint_id_set(self,id);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraint_id_set" "', argument " "1"" of type '" "OpenBabel::OBFFConstraint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraint * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFConstraint_id_set" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); if (arg1) (arg1)->id = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraint_id_get) { { OpenBabel::OBFFConstraint *arg1 = (OpenBabel::OBFFConstraint *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFConstraint_id_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraint_id_get" "', argument " "1"" of type '" "OpenBabel::OBFFConstraint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraint * >(argp1); result = (int) ((arg1)->id);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraint_a_set) { { OpenBabel::OBFFConstraint *arg1 = (OpenBabel::OBFFConstraint *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFConstraint_a_set(self,a);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraint_a_set" "', argument " "1"" of type '" "OpenBabel::OBFFConstraint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraint * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFFConstraint_a_set" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); if (arg1) (arg1)->a = arg2; ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraint_a_get) { { OpenBabel::OBFFConstraint *arg1 = (OpenBabel::OBFFConstraint *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFConstraint_a_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraint_a_get" "', argument " "1"" of type '" "OpenBabel::OBFFConstraint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraint * >(argp1); result = (OpenBabel::OBAtom *) ((arg1)->a);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraint_b_set) { { OpenBabel::OBFFConstraint *arg1 = (OpenBabel::OBFFConstraint *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFConstraint_b_set(self,b);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraint_b_set" "', argument " "1"" of type '" "OpenBabel::OBFFConstraint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraint * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFFConstraint_b_set" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); if (arg1) (arg1)->b = arg2; ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraint_b_get) { { OpenBabel::OBFFConstraint *arg1 = (OpenBabel::OBFFConstraint *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFConstraint_b_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraint_b_get" "', argument " "1"" of type '" "OpenBabel::OBFFConstraint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraint * >(argp1); result = (OpenBabel::OBAtom *) ((arg1)->b);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraint_c_set) { { OpenBabel::OBFFConstraint *arg1 = (OpenBabel::OBFFConstraint *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFConstraint_c_set(self,c);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraint_c_set" "', argument " "1"" of type '" "OpenBabel::OBFFConstraint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraint * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFFConstraint_c_set" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); if (arg1) (arg1)->c = arg2; ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraint_c_get) { { OpenBabel::OBFFConstraint *arg1 = (OpenBabel::OBFFConstraint *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFConstraint_c_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraint_c_get" "', argument " "1"" of type '" "OpenBabel::OBFFConstraint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraint * >(argp1); result = (OpenBabel::OBAtom *) ((arg1)->c);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraint_d_set) { { OpenBabel::OBFFConstraint *arg1 = (OpenBabel::OBFFConstraint *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFConstraint_d_set(self,d);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraint_d_set" "', argument " "1"" of type '" "OpenBabel::OBFFConstraint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraint * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFFConstraint_d_set" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); if (arg1) (arg1)->d = arg2; ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraint_d_get) { { OpenBabel::OBFFConstraint *arg1 = (OpenBabel::OBFFConstraint *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFConstraint_d_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraint_d_get" "', argument " "1"" of type '" "OpenBabel::OBFFConstraint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraint * >(argp1); result = (OpenBabel::OBAtom *) ((arg1)->d);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraint_grada_set) { { OpenBabel::OBFFConstraint *arg1 = (OpenBabel::OBFFConstraint *) 0 ;
    OpenBabel::vector3 *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFConstraint_grada_set(self,grada);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraint_grada_set" "', argument " "1"" of type '" "OpenBabel::OBFFConstraint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraint * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFFConstraint_grada_set" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBFFConstraint_grada_set" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2); if (arg1) (arg1)->grada = *arg2; ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraint_grada_get) { { OpenBabel::OBFFConstraint *arg1 = (OpenBabel::OBFFConstraint *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::vector3 *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFConstraint_grada_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraint_grada_get" "', argument " "1"" of type '" "OpenBabel::OBFFConstraint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraint * >(argp1); result = (OpenBabel::vector3 *) & ((arg1)->grada);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__vector3, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraint_gradb_set) { { OpenBabel::OBFFConstraint *arg1 = (OpenBabel::OBFFConstraint *) 0 ;
    OpenBabel::vector3 *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFConstraint_gradb_set(self,gradb);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraint_gradb_set" "', argument " "1"" of type '" "OpenBabel::OBFFConstraint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraint * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFFConstraint_gradb_set" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBFFConstraint_gradb_set" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2); if (arg1) (arg1)->gradb = *arg2; ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraint_gradb_get) { { OpenBabel::OBFFConstraint *arg1 = (OpenBabel::OBFFConstraint *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::vector3 *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFConstraint_gradb_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraint_gradb_get" "', argument " "1"" of type '" "OpenBabel::OBFFConstraint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraint * >(argp1); result = (OpenBabel::vector3 *) & ((arg1)->gradb);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__vector3, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraint_gradc_set) { { OpenBabel::OBFFConstraint *arg1 = (OpenBabel::OBFFConstraint *) 0 ;
    OpenBabel::vector3 *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFConstraint_gradc_set(self,gradc);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraint_gradc_set" "', argument " "1"" of type '" "OpenBabel::OBFFConstraint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraint * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFFConstraint_gradc_set" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBFFConstraint_gradc_set" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2); if (arg1) (arg1)->gradc = *arg2; ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraint_gradc_get) { { OpenBabel::OBFFConstraint *arg1 = (OpenBabel::OBFFConstraint *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::vector3 *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFConstraint_gradc_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraint_gradc_get" "', argument " "1"" of type '" "OpenBabel::OBFFConstraint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraint * >(argp1); result = (OpenBabel::vector3 *) & ((arg1)->gradc);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__vector3, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraint_gradd_set) { { OpenBabel::OBFFConstraint *arg1 = (OpenBabel::OBFFConstraint *) 0 ;
    OpenBabel::vector3 *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFConstraint_gradd_set(self,gradd);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraint_gradd_set" "', argument " "1"" of type '" "OpenBabel::OBFFConstraint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraint * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFFConstraint_gradd_set" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBFFConstraint_gradd_set" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2); if (arg1) (arg1)->gradd = *arg2; ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraint_gradd_get) { { OpenBabel::OBFFConstraint *arg1 = (OpenBabel::OBFFConstraint *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::vector3 *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFConstraint_gradd_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraint_gradd_get" "', argument " "1"" of type '" "OpenBabel::OBFFConstraint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraint * >(argp1); result = (OpenBabel::vector3 *) & ((arg1)->gradd);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__vector3, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBFFConstraint) { { int argvi = 0; OpenBabel::OBFFConstraint *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_OBFFConstraint();"); } 
    result = (OpenBabel::OBFFConstraint *)new OpenBabel::OBFFConstraint();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBFFConstraint, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBFFConstraint) { { OpenBabel::OBFFConstraint *arg1 = (OpenBabel::OBFFConstraint *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBFFConstraint(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraint, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBFFConstraint" "', argument " "1"" of type '" "OpenBabel::OBFFConstraint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraint * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraint_GetGradient) { { OpenBabel::OBFFConstraint *arg1 = (OpenBabel::OBFFConstraint *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::vector3 result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFConstraint_GetGradient(self,a);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraint_GetGradient" "', argument " "1"" of type '" "OpenBabel::OBFFConstraint *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraint * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFConstraint_GetGradient" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (arg1)->GetGradient(arg2);
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::vector3(static_cast< const OpenBabel::vector3& >(result))), SWIGTYPE_p_OpenBabel__vector3, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBFFConstraints) { { int argvi = 0; OpenBabel::OBFFConstraints *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_OBFFConstraints();"); } 
    result = (OpenBabel::OBFFConstraints *)new OpenBabel::OBFFConstraints();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBFFConstraints, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBFFConstraints) { { OpenBabel::OBFFConstraints *arg1 = (OpenBabel::OBFFConstraints *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: delete_OBFFConstraints(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraints, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBFFConstraints" "', argument " "1"" of type '" "OpenBabel::OBFFConstraints *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraints * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraints_Clear) { { OpenBabel::OBFFConstraints *arg1 = (OpenBabel::OBFFConstraints *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBFFConstraints_Clear(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraints, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraints_Clear" "', argument " "1"" of type '" "OpenBabel::OBFFConstraints *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraints * >(argp1); (arg1)->Clear(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraints_GetConstraintEnergy) { { OpenBabel::OBFFConstraints *arg1 = (OpenBabel::OBFFConstraints *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFConstraints_GetConstraintEnergy(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraints, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraints_GetConstraintEnergy" "', argument " "1"" of type '" "OpenBabel::OBFFConstraints *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraints * >(argp1); result = (double)(arg1)->GetConstraintEnergy();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraints_GetGradient) { { OpenBabel::OBFFConstraints *arg1 = (OpenBabel::OBFFConstraints *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::vector3 result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFConstraints_GetGradient(self,a);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraints, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraints_GetGradient" "', argument " "1"" of type '" "OpenBabel::OBFFConstraints *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraints * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFConstraints_GetGradient" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (arg1)->GetGradient(arg2);
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::vector3(static_cast< const OpenBabel::vector3& >(result))), SWIGTYPE_p_OpenBabel__vector3, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraints_Setup) { { OpenBabel::OBFFConstraints *arg1 = (OpenBabel::OBFFConstraints *) 0 ;
    OpenBabel::OBMol *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFConstraints_Setup(self,mol);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraints, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraints_Setup" "', argument " "1"" of type '" "OpenBabel::OBFFConstraints *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraints * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBFFConstraints_Setup" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBFFConstraints_Setup" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); (arg1)->Setup(*arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraints_SetFactor) { { OpenBabel::OBFFConstraints *arg1 = (OpenBabel::OBFFConstraints *) 0 ; double arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBFFConstraints_SetFactor(self,factor);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraints, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraints_SetFactor" "', argument " "1"" of type '" "OpenBabel::OBFFConstraints *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraints * >(argp1);
    ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFConstraints_SetFactor" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); (arg1)->SetFactor(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraints_AddIgnore) { { OpenBabel::OBFFConstraints *arg1 = (OpenBabel::OBFFConstraints *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBFFConstraints_AddIgnore(self,a);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraints, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraints_AddIgnore" "', argument " "1"" of type '" "OpenBabel::OBFFConstraints *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraints * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFConstraints_AddIgnore" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (arg1)->AddIgnore(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraints_AddAtomConstraint) { { OpenBabel::OBFFConstraints *arg1 = (OpenBabel::OBFFConstraints *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBFFConstraints_AddAtomConstraint(self,a);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraints, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraints_AddAtomConstraint" "', argument " "1"" of type '" "OpenBabel::OBFFConstraints *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraints * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFConstraints_AddAtomConstraint" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (arg1)->AddAtomConstraint(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraints_AddAtomXConstraint) { { OpenBabel::OBFFConstraints *arg1 = (OpenBabel::OBFFConstraints *) 0 ;
    int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFConstraints_AddAtomXConstraint(self,a);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraints, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraints_AddAtomXConstraint" "', argument " "1"" of type '" "OpenBabel::OBFFConstraints *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraints * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFConstraints_AddAtomXConstraint" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (arg1)->AddAtomXConstraint(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraints_AddAtomYConstraint) { { OpenBabel::OBFFConstraints *arg1 = (OpenBabel::OBFFConstraints *) 0 ;
    int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFConstraints_AddAtomYConstraint(self,a);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraints, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraints_AddAtomYConstraint" "', argument " "1"" of type '" "OpenBabel::OBFFConstraints *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraints * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFConstraints_AddAtomYConstraint" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (arg1)->AddAtomYConstraint(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraints_AddAtomZConstraint) { { OpenBabel::OBFFConstraints *arg1 = (OpenBabel::OBFFConstraints *) 0 ;
    int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFConstraints_AddAtomZConstraint(self,a);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraints, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraints_AddAtomZConstraint" "', argument " "1"" of type '" "OpenBabel::OBFFConstraints *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraints * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFConstraints_AddAtomZConstraint" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (arg1)->AddAtomZConstraint(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraints_AddDistanceConstraint) { { OpenBabel::OBFFConstraints *arg1 = (OpenBabel::OBFFConstraints *) 0 ;
    int arg2 ; int arg3 ; double arg4 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ;
    double val4 ; int ecode4 = 0 ; int argvi = 0; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: OBFFConstraints_AddDistanceConstraint(self,a,b,length);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraints, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraints_AddDistanceConstraint" "', argument " "1"" of type '" "OpenBabel::OBFFConstraints *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraints * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFConstraints_AddDistanceConstraint" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBFFConstraints_AddDistanceConstraint" "', argument " "3"" of type '" "int""'"); }
      arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4); if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBFFConstraints_AddDistanceConstraint" "', argument " "4"" of type '" "double""'"); }
      arg4 = static_cast< double >(val4); (arg1)->AddDistanceConstraint(arg2,arg3,arg4); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraints_AddAngleConstraint) { { OpenBabel::OBFFConstraints *arg1 = (OpenBabel::OBFFConstraints *) 0 ;
    int arg2 ; int arg3 ; int arg4 ; double arg5 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ;
    int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; double val5 ; int ecode5 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 5) || (items > 5)) { SWIG_croak("Usage: OBFFConstraints_AddAngleConstraint(self,a,b,c,angle);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraints, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraints_AddAngleConstraint" "', argument " "1"" of type '" "OpenBabel::OBFFConstraints *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraints * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFConstraints_AddAngleConstraint" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBFFConstraints_AddAngleConstraint" "', argument " "3"" of type '" "int""'"); }
      arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4); if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBFFConstraints_AddAngleConstraint" "', argument " "4"" of type '" "int""'"); }
      arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5); if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "OBFFConstraints_AddAngleConstraint" "', argument " "5"" of type '" "double""'"); }
      arg5 = static_cast< double >(val5); (arg1)->AddAngleConstraint(arg2,arg3,arg4,arg5); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraints_AddTorsionConstraint) { { OpenBabel::OBFFConstraints *arg1 = (OpenBabel::OBFFConstraints *) 0 ;
    int arg2 ; int arg3 ; int arg4 ; int arg5 ; double arg6 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
    int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; double val6 ; int ecode6 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 6) || (items > 6)) {
      SWIG_croak("Usage: OBFFConstraints_AddTorsionConstraint(self,a,b,c,d,torsion);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraints, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraints_AddTorsionConstraint" "', argument " "1"" of type '" "OpenBabel::OBFFConstraints *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraints * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFConstraints_AddTorsionConstraint" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBFFConstraints_AddTorsionConstraint" "', argument " "3"" of type '" "int""'"); }
      arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4); if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBFFConstraints_AddTorsionConstraint" "', argument " "4"" of type '" "int""'"); }
      arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5); if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "OBFFConstraints_AddTorsionConstraint" "', argument " "5"" of type '" "int""'"); }
      arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(5), &val6); if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "OBFFConstraints_AddTorsionConstraint" "', argument " "6"" of type '" "double""'"); }
      arg6 = static_cast< double >(val6); (arg1)->AddTorsionConstraint(arg2,arg3,arg4,arg5,arg6); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraints_DeleteConstraint) { { OpenBabel::OBFFConstraints *arg1 = (OpenBabel::OBFFConstraints *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBFFConstraints_DeleteConstraint(self,index);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraints, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraints_DeleteConstraint" "', argument " "1"" of type '" "OpenBabel::OBFFConstraints *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraints * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFConstraints_DeleteConstraint" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (arg1)->DeleteConstraint(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraints_GetFactor) { { OpenBabel::OBFFConstraints *arg1 = (OpenBabel::OBFFConstraints *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFConstraints_GetFactor(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraints, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraints_GetFactor" "', argument " "1"" of type '" "OpenBabel::OBFFConstraints *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraints * >(argp1); result = (double)(arg1)->GetFactor();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraints_Size) { { OpenBabel::OBFFConstraints *arg1 = (OpenBabel::OBFFConstraints *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFConstraints_Size(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraints, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraints_Size" "', argument " "1"" of type '" "OpenBabel::OBFFConstraints const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraints * >(argp1);
    result = (int)((OpenBabel::OBFFConstraints const *)arg1)->Size();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraints_GetConstraintType) { { OpenBabel::OBFFConstraints *arg1 = (OpenBabel::OBFFConstraints *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; int result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFConstraints_GetConstraintType(self,index);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraints, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraints_GetConstraintType" "', argument " "1"" of type '" "OpenBabel::OBFFConstraints const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraints * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFConstraints_GetConstraintType" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (int)((OpenBabel::OBFFConstraints const *)arg1)->GetConstraintType(arg2);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraints_GetConstraintValue) { { OpenBabel::OBFFConstraints *arg1 = (OpenBabel::OBFFConstraints *) 0 ;
    int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFConstraints_GetConstraintValue(self,index);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraints, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraints_GetConstraintValue" "', argument " "1"" of type '" "OpenBabel::OBFFConstraints const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraints * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFConstraints_GetConstraintValue" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (double)((OpenBabel::OBFFConstraints const *)arg1)->GetConstraintValue(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraints_GetConstraintAtomA) { { OpenBabel::OBFFConstraints *arg1 = (OpenBabel::OBFFConstraints *) 0 ;
    int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; int result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFConstraints_GetConstraintAtomA(self,index);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraints, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraints_GetConstraintAtomA" "', argument " "1"" of type '" "OpenBabel::OBFFConstraints const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraints * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFConstraints_GetConstraintAtomA" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (int)((OpenBabel::OBFFConstraints const *)arg1)->GetConstraintAtomA(arg2);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraints_GetConstraintAtomB) { { OpenBabel::OBFFConstraints *arg1 = (OpenBabel::OBFFConstraints *) 0 ;
    int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; int result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFConstraints_GetConstraintAtomB(self,index);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraints, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraints_GetConstraintAtomB" "', argument " "1"" of type '" "OpenBabel::OBFFConstraints const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraints * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFConstraints_GetConstraintAtomB" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (int)((OpenBabel::OBFFConstraints const *)arg1)->GetConstraintAtomB(arg2);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraints_GetConstraintAtomC) { { OpenBabel::OBFFConstraints *arg1 = (OpenBabel::OBFFConstraints *) 0 ;
    int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; int result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFConstraints_GetConstraintAtomC(self,index);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraints, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraints_GetConstraintAtomC" "', argument " "1"" of type '" "OpenBabel::OBFFConstraints const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraints * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFConstraints_GetConstraintAtomC" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (int)((OpenBabel::OBFFConstraints const *)arg1)->GetConstraintAtomC(arg2);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraints_GetConstraintAtomD) { { OpenBabel::OBFFConstraints *arg1 = (OpenBabel::OBFFConstraints *) 0 ;
    int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; int result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFConstraints_GetConstraintAtomD(self,index);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraints, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraints_GetConstraintAtomD" "', argument " "1"" of type '" "OpenBabel::OBFFConstraints const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraints * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFConstraints_GetConstraintAtomD" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (int)((OpenBabel::OBFFConstraints const *)arg1)->GetConstraintAtomD(arg2);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraints_IsIgnored) { { OpenBabel::OBFFConstraints *arg1 = (OpenBabel::OBFFConstraints *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFConstraints_IsIgnored(self,a);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraints, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraints_IsIgnored" "', argument " "1"" of type '" "OpenBabel::OBFFConstraints *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraints * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFConstraints_IsIgnored" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (bool)(arg1)->IsIgnored(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraints_IsFixed) { { OpenBabel::OBFFConstraints *arg1 = (OpenBabel::OBFFConstraints *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFConstraints_IsFixed(self,a);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraints, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraints_IsFixed" "', argument " "1"" of type '" "OpenBabel::OBFFConstraints *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraints * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFConstraints_IsFixed" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (bool)(arg1)->IsFixed(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraints_IsXFixed) { { OpenBabel::OBFFConstraints *arg1 = (OpenBabel::OBFFConstraints *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFConstraints_IsXFixed(self,a);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraints, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraints_IsXFixed" "', argument " "1"" of type '" "OpenBabel::OBFFConstraints *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraints * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFConstraints_IsXFixed" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (bool)(arg1)->IsXFixed(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraints_IsYFixed) { { OpenBabel::OBFFConstraints *arg1 = (OpenBabel::OBFFConstraints *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFConstraints_IsYFixed(self,a);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraints, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraints_IsYFixed" "', argument " "1"" of type '" "OpenBabel::OBFFConstraints *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraints * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFConstraints_IsYFixed" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (bool)(arg1)->IsYFixed(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraints_IsZFixed) { { OpenBabel::OBFFConstraints *arg1 = (OpenBabel::OBFFConstraints *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBFFConstraints_IsZFixed(self,a);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraints, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraints_IsZFixed" "', argument " "1"" of type '" "OpenBabel::OBFFConstraints *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraints * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBFFConstraints_IsZFixed" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (bool)(arg1)->IsZFixed(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraints_GetIgnoredBitVec) { { OpenBabel::OBFFConstraints *arg1 = (OpenBabel::OBFFConstraints *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::OBBitVec result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFConstraints_GetIgnoredBitVec(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraints, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraints_GetIgnoredBitVec" "', argument " "1"" of type '" "OpenBabel::OBFFConstraints *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraints * >(argp1); result = (arg1)->GetIgnoredBitVec();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBBitVec(static_cast< const OpenBabel::OBBitVec& >(result))), SWIGTYPE_p_OpenBabel__OBBitVec, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBFFConstraints_GetFixedBitVec) { { OpenBabel::OBFFConstraints *arg1 = (OpenBabel::OBFFConstraints *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::OBBitVec result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBFFConstraints_GetFixedBitVec(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBFFConstraints, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBFFConstraints_GetFixedBitVec" "', argument " "1"" of type '" "OpenBabel::OBFFConstraints *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBFFConstraints * >(argp1); result = (arg1)->GetFixedBitVec();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBBitVec(static_cast< const OpenBabel::OBBitVec& >(result))), SWIGTYPE_p_OpenBabel__OBBitVec, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_Default) { { int argvi = 0; OpenBabel::OBForceField **result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: OBForceField_Default();"); } 
    result = (OpenBabel::OBForceField **) &OpenBabel::OBForceField::Default();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_OpenBabel__OBForceField, 0 | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_FindType) { { char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int argvi = 0;
    OpenBabel::OBForceField *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_FindType(ID);"); }  res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_FindType" "', argument " "1"" of type '" "char const *""'"); }
     arg1 = reinterpret_cast< char * >(buf1);
    result = (OpenBabel::OBForceField *)OpenBabel::OBForceField::FindType((char const *)arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBForceField, 0 | SWIG_SHADOW); argvi++ ;
    if (alloc1 == SWIG_NEWOBJ) delete[] buf1; XSRETURN(argvi); fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_MakeNewInstance) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBForceField *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_MakeNewInstance(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_MakeNewInstance" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); result = (OpenBabel::OBForceField *)(arg1)->MakeNewInstance();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBForceField, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBForceField) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBForceField(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBForceField" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_FindForceField__SWIG_0) { { std::string *arg1 = 0 ; int res1 = SWIG_OLDOBJ ; int argvi = 0;
    OpenBabel::OBForceField *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_FindForceField(ID);"); }  { std::string *ptr = (std::string *)0;
      res1 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(0), &ptr); if (!SWIG_IsOK(res1)) {
        SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_FindForceField" "', argument " "1"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBForceField_FindForceField" "', argument " "1"" of type '" "std::string const &""'"); }
       arg1 = ptr; }  result = (OpenBabel::OBForceField *)OpenBabel::OBForceField::FindForceField((std::string const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBForceField, 0 | SWIG_SHADOW); argvi++ ;
    if (SWIG_IsNewObj(res1)) delete arg1; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res1)) delete arg1; SWIG_croak_null(); }  }
XS(_wrap_OBForceField_FindForceField__SWIG_1) { { char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ;
    int argvi = 0; OpenBabel::OBForceField *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_FindForceField(ID);"); }  res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_FindForceField" "', argument " "1"" of type '" "char const *""'"); }
     arg1 = reinterpret_cast< char * >(buf1);
    result = (OpenBabel::OBForceField *)OpenBabel::OBForceField::FindForceField((char const *)arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBForceField, 0 | SWIG_SHADOW); argvi++ ;
    if (alloc1 == SWIG_NEWOBJ) delete[] buf1; XSRETURN(argvi); fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_FindForceField) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(0), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; {
        int res = SWIG_AsCharPtrAndSize(ST(0), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_FindForceField__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_FindForceField__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBForceField_FindForceField'"); XSRETURN(0); }
XS(_wrap_OBForceField_SetParameterFile) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBForceField_SetParameterFile(self,filename);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_SetParameterFile" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_SetParameterFile" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBForceField_SetParameterFile" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  (arg1)->SetParameterFile((std::string const &)*arg2); ST(argvi) = sv_newmortal();
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap_OBForceField_GetUnit) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::string result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_GetUnit(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_GetUnit" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); result = (arg1)->GetUnit();
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_HasAnalyticalGradients) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_HasAnalyticalGradients(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_HasAnalyticalGradients" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); result = (bool)(arg1)->HasAnalyticalGradients();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_Setup__SWIG_0) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    OpenBabel::OBMol *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBForceField_Setup(self,mol);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_Setup" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_Setup" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBForceField_Setup" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); result = (bool)(arg1)->Setup(*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_Setup__SWIG_1) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    OpenBabel::OBMol *arg2 = 0 ; OpenBabel::OBFFConstraints *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBForceField_Setup(self,mol,constraints);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_Setup" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_Setup" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBForceField_Setup" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_OpenBabel__OBFFConstraints,  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBForceField_Setup" "', argument " "3"" of type '" "OpenBabel::OBFFConstraints &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBForceField_Setup" "', argument " "3"" of type '" "OpenBabel::OBFFConstraints &""'"); }
     arg3 = reinterpret_cast< OpenBabel::OBFFConstraints * >(argp3); result = (bool)(arg1)->Setup(*arg2,*arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_Setup) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_OpenBabel__OBFFConstraints, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_Setup__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_Setup__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBForceField_Setup'"); XSRETURN(0); }
XS(_wrap_OBForceField_ParseParamFile) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_ParseParamFile(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_ParseParamFile" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); result = (bool)(arg1)->ParseParamFile();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_SetTypes) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_SetTypes(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_SetTypes" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); result = (bool)(arg1)->SetTypes();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_SetFormalCharges) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_SetFormalCharges(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_SetFormalCharges" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); result = (bool)(arg1)->SetFormalCharges();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_SetPartialCharges) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_SetPartialCharges(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_SetPartialCharges" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); result = (bool)(arg1)->SetPartialCharges();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_SetupCalculations) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_SetupCalculations(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_SetupCalculations" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); result = (bool)(arg1)->SetupCalculations();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_SetupPointers) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_SetupPointers(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_SetupPointers" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); result = (bool)(arg1)->SetupPointers();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_IsSetupNeeded) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    OpenBabel::OBMol *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBForceField_IsSetupNeeded(self,mol);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_IsSetupNeeded" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_IsSetupNeeded" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBForceField_IsSetupNeeded" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); result = (bool)(arg1)->IsSetupNeeded(*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_GetAtomTypes) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    OpenBabel::OBMol *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBForceField_GetAtomTypes(self,mol);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_GetAtomTypes" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_GetAtomTypes" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBForceField_GetAtomTypes" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); result = (bool)(arg1)->GetAtomTypes(*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_GetPartialCharges) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    OpenBabel::OBMol *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBForceField_GetPartialCharges(self,mol);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_GetPartialCharges" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_GetPartialCharges" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBForceField_GetPartialCharges" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); result = (bool)(arg1)->GetPartialCharges(*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_GetCoordinates) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    OpenBabel::OBMol *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBForceField_GetCoordinates(self,mol);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_GetCoordinates" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_GetCoordinates" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBForceField_GetCoordinates" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); result = (bool)(arg1)->GetCoordinates(*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_UpdateCoordinates) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    OpenBabel::OBMol *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBForceField_UpdateCoordinates(self,mol);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_UpdateCoordinates" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_UpdateCoordinates" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBForceField_UpdateCoordinates" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); result = (bool)(arg1)->UpdateCoordinates(*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_GetConformers) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    OpenBabel::OBMol *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBForceField_GetConformers(self,mol);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_GetConformers" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_GetConformers" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBForceField_GetConformers" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); result = (bool)(arg1)->GetConformers(*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_UpdateConformers) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    OpenBabel::OBMol *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBForceField_UpdateConformers(self,mol);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_UpdateConformers" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_UpdateConformers" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBForceField_UpdateConformers" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); result = (bool)(arg1)->UpdateConformers(*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_SetCoordinates) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    OpenBabel::OBMol *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBForceField_SetCoordinates(self,mol);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_SetCoordinates" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_SetCoordinates" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBForceField_SetCoordinates" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); result = (bool)(arg1)->SetCoordinates(*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_SetConformers) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    OpenBabel::OBMol *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBForceField_SetConformers(self,mol);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_SetConformers" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_SetConformers" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBForceField_SetConformers" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); result = (bool)(arg1)->SetConformers(*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_GetGrid) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; double arg2 ; double arg3 ;
    char *arg4 = (char *) 0 ; double arg5 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; double val3 ;
    int ecode3 = 0 ; int res4 ; char *buf4 = 0 ; int alloc4 = 0 ; double val5 ; int ecode5 = 0 ; int argvi = 0;
    OpenBabel::OBGridData *result = 0 ; dXSARGS; if ((items < 5) || (items > 5)) {
      SWIG_croak("Usage: OBForceField_GetGrid(self,step,padding,type,pchg);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_GetGrid" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1);
    ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_GetGrid" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBForceField_GetGrid" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4); if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBForceField_GetGrid" "', argument " "4"" of type '" "char const *""'"); }
     arg4 = reinterpret_cast< char * >(buf4); ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "OBForceField_GetGrid" "', argument " "5"" of type '" "double""'"); }
      arg5 = static_cast< double >(val5); result = (OpenBabel::OBGridData *)(arg1)->GetGrid(arg2,arg3,(char const *)arg4,arg5);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGridData, 0 | SWIG_SHADOW); argvi++ ;
    if (alloc4 == SWIG_NEWOBJ) delete[] buf4; XSRETURN(argvi); fail: if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_AddIntraGroup) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    OpenBabel::OBBitVec *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBForceField_AddIntraGroup(self,group);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_AddIntraGroup" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBBitVec,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_AddIntraGroup" "', argument " "2"" of type '" "OpenBabel::OBBitVec &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBForceField_AddIntraGroup" "', argument " "2"" of type '" "OpenBabel::OBBitVec &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBitVec * >(argp2); (arg1)->AddIntraGroup(*arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_AddInterGroup) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    OpenBabel::OBBitVec *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBForceField_AddInterGroup(self,group);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_AddInterGroup" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBBitVec,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_AddInterGroup" "', argument " "2"" of type '" "OpenBabel::OBBitVec &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBForceField_AddInterGroup" "', argument " "2"" of type '" "OpenBabel::OBBitVec &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBitVec * >(argp2); (arg1)->AddInterGroup(*arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_AddInterGroups) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    OpenBabel::OBBitVec *arg2 = 0 ; OpenBabel::OBBitVec *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBForceField_AddInterGroups(self,group1,group2);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_AddInterGroups" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBBitVec,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_AddInterGroups" "', argument " "2"" of type '" "OpenBabel::OBBitVec &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBForceField_AddInterGroups" "', argument " "2"" of type '" "OpenBabel::OBBitVec &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBitVec * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_OpenBabel__OBBitVec,  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBForceField_AddInterGroups" "', argument " "3"" of type '" "OpenBabel::OBBitVec &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBForceField_AddInterGroups" "', argument " "3"" of type '" "OpenBabel::OBBitVec &""'"); }
     arg3 = reinterpret_cast< OpenBabel::OBBitVec * >(argp3); (arg1)->AddInterGroups(*arg2,*arg3); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_ClearGroups) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_ClearGroups(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_ClearGroups" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); (arg1)->ClearGroups(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_HasGroups) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_HasGroups(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_HasGroups" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); result = (bool)(arg1)->HasGroups();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_EnableCutOff) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; bool arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBForceField_EnableCutOff(self,enable);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_EnableCutOff" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_EnableCutOff" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); (arg1)->EnableCutOff(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_IsCutOffEnabled) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_IsCutOffEnabled(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_IsCutOffEnabled" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); result = (bool)(arg1)->IsCutOffEnabled();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_SetVDWCutOff) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; double arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBForceField_SetVDWCutOff(self,r);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_SetVDWCutOff" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1);
    ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_SetVDWCutOff" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); (arg1)->SetVDWCutOff(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_GetVDWCutOff) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_GetVDWCutOff(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_GetVDWCutOff" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); result = (double)(arg1)->GetVDWCutOff();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_SetElectrostaticCutOff) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; double arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBForceField_SetElectrostaticCutOff(self,r);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_SetElectrostaticCutOff" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1);
    ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_SetElectrostaticCutOff" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); (arg1)->SetElectrostaticCutOff(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_GetElectrostaticCutOff) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_GetElectrostaticCutOff(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_GetElectrostaticCutOff" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); result = (double)(arg1)->GetElectrostaticCutOff();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_SetUpdateFrequency) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBForceField_SetUpdateFrequency(self,f);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_SetUpdateFrequency" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_SetUpdateFrequency" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (arg1)->SetUpdateFrequency(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_GetUpdateFrequency) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_GetUpdateFrequency(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_GetUpdateFrequency" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); result = (int)(arg1)->GetUpdateFrequency();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_UpdatePairsSimple) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_UpdatePairsSimple(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_UpdatePairsSimple" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); (arg1)->UpdatePairsSimple(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_GetNumPairs) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_GetNumPairs(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_GetNumPairs" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); result = (unsigned int)(arg1)->GetNumPairs();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_EnableAllPairs) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_EnableAllPairs(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_EnableAllPairs" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); (arg1)->EnableAllPairs(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_Energy__SWIG_0) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; bool arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBForceField_Energy(self,gradients);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_Energy" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_Energy" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (double)(arg1)->Energy(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_Energy__SWIG_1) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_Energy(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_Energy" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); result = (double)(arg1)->Energy();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_Energy) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_Energy__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_Energy__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBForceField_Energy'"); XSRETURN(0); }
XS(_wrap_OBForceField_E_Bond__SWIG_0) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; bool arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBForceField_E_Bond(self,gradients);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_E_Bond" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_E_Bond" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (double)(arg1)->E_Bond(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_E_Bond__SWIG_1) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_E_Bond(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_E_Bond" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); result = (double)(arg1)->E_Bond();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_E_Bond) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_E_Bond__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_E_Bond__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBForceField_E_Bond'"); XSRETURN(0); }
XS(_wrap_OBForceField_E_Angle__SWIG_0) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; bool arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBForceField_E_Angle(self,gradients);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_E_Angle" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_E_Angle" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (double)(arg1)->E_Angle(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_E_Angle__SWIG_1) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_E_Angle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_E_Angle" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); result = (double)(arg1)->E_Angle();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_E_Angle) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_E_Angle__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_E_Angle__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBForceField_E_Angle'"); XSRETURN(0); }
XS(_wrap_OBForceField_E_StrBnd__SWIG_0) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; bool arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBForceField_E_StrBnd(self,gradients);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_E_StrBnd" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_E_StrBnd" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (double)(arg1)->E_StrBnd(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_E_StrBnd__SWIG_1) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_E_StrBnd(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_E_StrBnd" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); result = (double)(arg1)->E_StrBnd();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_E_StrBnd) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_E_StrBnd__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_E_StrBnd__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBForceField_E_StrBnd'"); XSRETURN(0); }
XS(_wrap_OBForceField_E_Torsion__SWIG_0) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; bool arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBForceField_E_Torsion(self,gradients);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_E_Torsion" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_E_Torsion" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (double)(arg1)->E_Torsion(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_E_Torsion__SWIG_1) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_E_Torsion(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_E_Torsion" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); result = (double)(arg1)->E_Torsion();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_E_Torsion) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_E_Torsion__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_E_Torsion__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBForceField_E_Torsion'"); XSRETURN(0); }
XS(_wrap_OBForceField_E_OOP__SWIG_0) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; bool arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBForceField_E_OOP(self,gradients);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_E_OOP" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_E_OOP" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (double)(arg1)->E_OOP(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_E_OOP__SWIG_1) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_E_OOP(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_E_OOP" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); result = (double)(arg1)->E_OOP();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_E_OOP) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_E_OOP__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_E_OOP__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBForceField_E_OOP'"); XSRETURN(0); }
XS(_wrap_OBForceField_E_VDW__SWIG_0) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; bool arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBForceField_E_VDW(self,gradients);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_E_VDW" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_E_VDW" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (double)(arg1)->E_VDW(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_E_VDW__SWIG_1) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_E_VDW(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_E_VDW" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); result = (double)(arg1)->E_VDW();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_E_VDW) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_E_VDW__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_E_VDW__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBForceField_E_VDW'"); XSRETURN(0); }
XS(_wrap_OBForceField_E_Electrostatic__SWIG_0) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; bool arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBForceField_E_Electrostatic(self,gradients);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_E_Electrostatic" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_E_Electrostatic" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (double)(arg1)->E_Electrostatic(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_E_Electrostatic__SWIG_1) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_E_Electrostatic(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_E_Electrostatic" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); result = (double)(arg1)->E_Electrostatic();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_E_Electrostatic) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_E_Electrostatic__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_E_Electrostatic__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBForceField_E_Electrostatic'"); XSRETURN(0); }
XS(_wrap_OBForceField_PrintTypes) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_PrintTypes(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_PrintTypes" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); (arg1)->PrintTypes(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_PrintFormalCharges) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_PrintFormalCharges(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_PrintFormalCharges" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); (arg1)->PrintFormalCharges(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_PrintPartialCharges) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_PrintPartialCharges(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_PrintPartialCharges" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); (arg1)->PrintPartialCharges(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_PrintVelocities) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_PrintVelocities(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_PrintVelocities" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); (arg1)->PrintVelocities(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_SetLogFile) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    std::ostream *arg2 = (std::ostream *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBForceField_SetLogFile(self,pos);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_SetLogFile" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_std__ostream, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_SetLogFile" "', argument " "2"" of type '" "std::ostream *""'");  }
     arg2 = reinterpret_cast< std::ostream * >(argp2); result = (bool)(arg1)->SetLogFile(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_SetLogLevel) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBForceField_SetLogLevel(self,level);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_SetLogLevel" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_SetLogLevel" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (bool)(arg1)->SetLogLevel(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_GetLogLevel) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_GetLogLevel(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_GetLogLevel" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); result = (int)(arg1)->GetLogLevel();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_OBFFLog__SWIG_0) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; std::string arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBForceField_OBFFLog(self,msg);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_OBFFLog" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); { std::string *ptr = (std::string *)0;
      int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "OBForceField_OBFFLog" "', argument " "2"" of type '" "std::string""'");  }
       arg2 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; }  (arg1)->OBFFLog(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_OBFFLog__SWIG_1) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBForceField_OBFFLog(self,msg);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_OBFFLog" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_OBFFLog" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); (arg1)->OBFFLog((char const *)arg2); ST(argvi) = sv_newmortal();
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_OBFFLog) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_OBFFLog__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_OBFFLog__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBForceField_OBFFLog'"); XSRETURN(0); }
XS(_wrap_OBForceField_DistanceGeometry) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_DistanceGeometry(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_DistanceGeometry" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); (arg1)->DistanceGeometry(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_SystematicRotorSearch__SWIG_0) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBForceField_SystematicRotorSearch(self,geomSteps);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_SystematicRotorSearch" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_SystematicRotorSearch" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); (arg1)->SystematicRotorSearch(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_SystematicRotorSearch__SWIG_1) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_SystematicRotorSearch(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_SystematicRotorSearch" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); (arg1)->SystematicRotorSearch(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_SystematicRotorSearch) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_SystematicRotorSearch__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_SystematicRotorSearch__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBForceField_SystematicRotorSearch'"); XSRETURN(0); }
XS(_wrap_OBForceField_SystematicRotorSearchInitialize__SWIG_0) { {
    OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ;
    unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBForceField_SystematicRotorSearchInitialize(self,geomSteps);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_SystematicRotorSearchInitialize" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_SystematicRotorSearchInitialize" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (int)(arg1)->SystematicRotorSearchInitialize(arg2);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_SystematicRotorSearchInitialize__SWIG_1) { {
    OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; int result;
    dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBForceField_SystematicRotorSearchInitialize(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_SystematicRotorSearchInitialize" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); result = (int)(arg1)->SystematicRotorSearchInitialize();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_SystematicRotorSearchInitialize) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0; 
    if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_SystematicRotorSearchInitialize__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_SystematicRotorSearchInitialize__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBForceField_SystematicRotorSearchInitialize'"); XSRETURN(0); }
XS(_wrap_OBForceField_SystematicRotorSearchNextConformer__SWIG_0) { {
    OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ;
    unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBForceField_SystematicRotorSearchNextConformer(self,geomSteps);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_SystematicRotorSearchNextConformer" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_SystematicRotorSearchNextConformer" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (bool)(arg1)->SystematicRotorSearchNextConformer(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_SystematicRotorSearchNextConformer__SWIG_1) { {
    OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBForceField_SystematicRotorSearchNextConformer(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_SystematicRotorSearchNextConformer" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); result = (bool)(arg1)->SystematicRotorSearchNextConformer();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_SystematicRotorSearchNextConformer) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0; 
    if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_SystematicRotorSearchNextConformer__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_SystematicRotorSearchNextConformer__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBForceField_SystematicRotorSearchNextConformer'"); XSRETURN(0); }
XS(_wrap_OBForceField_RandomRotorSearch__SWIG_0) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    unsigned int arg2 ; unsigned int arg3 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ;
    unsigned int val3 ; int ecode3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBForceField_RandomRotorSearch(self,conformers,geomSteps);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_RandomRotorSearch" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_RandomRotorSearch" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBForceField_RandomRotorSearch" "', argument " "3"" of type '" "unsigned int""'"); }
      arg3 = static_cast< unsigned int >(val3); (arg1)->RandomRotorSearch(arg2,arg3); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_RandomRotorSearch__SWIG_1) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBForceField_RandomRotorSearch(self,conformers);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_RandomRotorSearch" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_RandomRotorSearch" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); (arg1)->RandomRotorSearch(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_RandomRotorSearch) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_RandomRotorSearch__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_RandomRotorSearch__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBForceField_RandomRotorSearch'"); XSRETURN(0); }
XS(_wrap_OBForceField_RandomRotorSearchInitialize__SWIG_0) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    unsigned int arg2 ; unsigned int arg3 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ;
    unsigned int val3 ; int ecode3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBForceField_RandomRotorSearchInitialize(self,conformers,geomSteps);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_RandomRotorSearchInitialize" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_RandomRotorSearchInitialize" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBForceField_RandomRotorSearchInitialize" "', argument " "3"" of type '" "unsigned int""'"); }
      arg3 = static_cast< unsigned int >(val3); (arg1)->RandomRotorSearchInitialize(arg2,arg3); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_RandomRotorSearchInitialize__SWIG_1) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBForceField_RandomRotorSearchInitialize(self,conformers);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_RandomRotorSearchInitialize" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_RandomRotorSearchInitialize" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); (arg1)->RandomRotorSearchInitialize(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_RandomRotorSearchInitialize) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0; 
    if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_RandomRotorSearchInitialize__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_RandomRotorSearchInitialize__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBForceField_RandomRotorSearchInitialize'"); XSRETURN(0); }
XS(_wrap_OBForceField_RandomRotorSearchNextConformer__SWIG_0) { {
    OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ;
    unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBForceField_RandomRotorSearchNextConformer(self,geomSteps);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_RandomRotorSearchNextConformer" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_RandomRotorSearchNextConformer" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (bool)(arg1)->RandomRotorSearchNextConformer(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_RandomRotorSearchNextConformer__SWIG_1) { {
    OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBForceField_RandomRotorSearchNextConformer(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_RandomRotorSearchNextConformer" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); result = (bool)(arg1)->RandomRotorSearchNextConformer();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_RandomRotorSearchNextConformer) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0; 
    if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_RandomRotorSearchNextConformer__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_RandomRotorSearchNextConformer__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBForceField_RandomRotorSearchNextConformer'"); XSRETURN(0); }
XS(_wrap_OBForceField_WeightedRotorSearch) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    unsigned int arg2 ; unsigned int arg3 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ;
    unsigned int val3 ; int ecode3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBForceField_WeightedRotorSearch(self,conformers,geomSteps);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_WeightedRotorSearch" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_WeightedRotorSearch" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBForceField_WeightedRotorSearch" "', argument " "3"" of type '" "unsigned int""'"); }
      arg3 = static_cast< unsigned int >(val3); (arg1)->WeightedRotorSearch(arg2,arg3); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_SetLineSearchType) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBForceField_SetLineSearchType(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_SetLineSearchType" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_SetLineSearchType" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (arg1)->SetLineSearchType(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_GetLineSearchType) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_GetLineSearchType(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_GetLineSearchType" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); result = (int)(arg1)->GetLineSearchType();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_LineSearch__SWIG_0) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; OpenBabel::vector3 *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
    void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; OpenBabel::vector3 result; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBForceField_LineSearch(self,atom,direction);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_LineSearch" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_LineSearch" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBForceField_LineSearch" "', argument " "3"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBForceField_LineSearch" "', argument " "3"" of type '" "OpenBabel::vector3 &""'"); }
     arg3 = reinterpret_cast< OpenBabel::vector3 * >(argp3); result = (arg1)->LineSearch(arg2,*arg3);
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::vector3(static_cast< const OpenBabel::vector3& >(result))), SWIGTYPE_p_OpenBabel__vector3, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_LineSearch__SWIG_1) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    double *arg2 = (double *) 0 ; double *arg3 = (double *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBForceField_LineSearch(self,currentCoords,direction);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_LineSearch" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_LineSearch" "', argument " "2"" of type '" "double *""'");  }
     arg2 = reinterpret_cast< double * >(argp2); res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBForceField_LineSearch" "', argument " "3"" of type '" "double *""'");  }
     arg3 = reinterpret_cast< double * >(argp3); result = (double)(arg1)->LineSearch(arg2,arg3);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_LineSearch) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_LineSearch__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_LineSearch__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBForceField_LineSearch'"); XSRETURN(0); }
XS(_wrap_OBForceField_Newton2NumLineSearch) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    double *arg2 = (double *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    double result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBForceField_Newton2NumLineSearch(self,direction);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_Newton2NumLineSearch" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_Newton2NumLineSearch" "', argument " "2"" of type '" "double *""'");  }
     arg2 = reinterpret_cast< double * >(argp2); result = (double)(arg1)->Newton2NumLineSearch(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_LineSearchTakeStep) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    double *arg2 = (double *) 0 ; double *arg3 = (double *) 0 ; double arg4 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; double val4 ; int ecode4 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 4) || (items > 4)) { SWIG_croak("Usage: OBForceField_LineSearchTakeStep(self,origCoords,direction,step);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_LineSearchTakeStep" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_LineSearchTakeStep" "', argument " "2"" of type '" "double *""'");  }
     arg2 = reinterpret_cast< double * >(argp2); res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBForceField_LineSearchTakeStep" "', argument " "3"" of type '" "double *""'");  }
     arg3 = reinterpret_cast< double * >(argp3); ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBForceField_LineSearchTakeStep" "', argument " "4"" of type '" "double""'"); }
      arg4 = static_cast< double >(val4); (arg1)->LineSearchTakeStep(arg2,arg3,arg4); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_SteepestDescent__SWIG_0) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; int arg2 ;
    double arg3 ; int arg4 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 0 ;
    int val4 ; int ecode4 = 0 ; int argvi = 0; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: OBForceField_SteepestDescent(self,steps,econv,method);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_SteepestDescent" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_SteepestDescent" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBForceField_SteepestDescent" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4); if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBForceField_SteepestDescent" "', argument " "4"" of type '" "int""'"); }
      arg4 = static_cast< int >(val4); (arg1)->SteepestDescent(arg2,arg3,arg4); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_SteepestDescent__SWIG_1) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; int arg2 ;
    double arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBForceField_SteepestDescent(self,steps,econv);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_SteepestDescent" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_SteepestDescent" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBForceField_SteepestDescent" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); (arg1)->SteepestDescent(arg2,arg3); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_SteepestDescent__SWIG_2) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBForceField_SteepestDescent(self,steps);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_SteepestDescent" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_SteepestDescent" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (arg1)->SteepestDescent(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_SteepestDescent) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 4) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3:
    dispatch: switch(_index) { case 1: ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_SteepestDescent__SWIG_2); return;
      case 2: ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_SteepestDescent__SWIG_1); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_SteepestDescent__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBForceField_SteepestDescent'"); XSRETURN(0); }
XS(_wrap_OBForceField_SteepestDescentInitialize__SWIG_0) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    int arg2 ; double arg3 ; int arg4 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; double val3 ;
    int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int argvi = 0; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: OBForceField_SteepestDescentInitialize(self,steps,econv,method);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_SteepestDescentInitialize" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_SteepestDescentInitialize" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBForceField_SteepestDescentInitialize" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4); if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBForceField_SteepestDescentInitialize" "', argument " "4"" of type '" "int""'"); }
      arg4 = static_cast< int >(val4); (arg1)->SteepestDescentInitialize(arg2,arg3,arg4); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_SteepestDescentInitialize__SWIG_1) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    int arg2 ; double arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBForceField_SteepestDescentInitialize(self,steps,econv);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_SteepestDescentInitialize" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_SteepestDescentInitialize" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBForceField_SteepestDescentInitialize" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); (arg1)->SteepestDescentInitialize(arg2,arg3); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_SteepestDescentInitialize__SWIG_2) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBForceField_SteepestDescentInitialize(self,steps);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_SteepestDescentInitialize" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_SteepestDescentInitialize" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (arg1)->SteepestDescentInitialize(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_SteepestDescentInitialize__SWIG_3) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_SteepestDescentInitialize(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_SteepestDescentInitialize" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); (arg1)->SteepestDescentInitialize();
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_SteepestDescentInitialize) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0; 
    if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 3) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 4) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_4;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_4;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4:
    dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_SteepestDescentInitialize__SWIG_3); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_SteepestDescentInitialize__SWIG_2); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_SteepestDescentInitialize__SWIG_1); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_SteepestDescentInitialize__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBForceField_SteepestDescentInitialize'"); XSRETURN(0); }
XS(_wrap_OBForceField_SteepestDescentTakeNSteps) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBForceField_SteepestDescentTakeNSteps(self,n);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_SteepestDescentTakeNSteps" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_SteepestDescentTakeNSteps" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (bool)(arg1)->SteepestDescentTakeNSteps(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_ConjugateGradients__SWIG_0) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; int arg2 ;
    double arg3 ; int arg4 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 0 ;
    int val4 ; int ecode4 = 0 ; int argvi = 0; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: OBForceField_ConjugateGradients(self,steps,econv,method);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_ConjugateGradients" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_ConjugateGradients" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBForceField_ConjugateGradients" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4); if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBForceField_ConjugateGradients" "', argument " "4"" of type '" "int""'"); }
      arg4 = static_cast< int >(val4); (arg1)->ConjugateGradients(arg2,arg3,arg4); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_ConjugateGradients__SWIG_1) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; int arg2 ;
    double arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBForceField_ConjugateGradients(self,steps,econv);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_ConjugateGradients" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_ConjugateGradients" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBForceField_ConjugateGradients" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); (arg1)->ConjugateGradients(arg2,arg3); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_ConjugateGradients__SWIG_2) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBForceField_ConjugateGradients(self,steps);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_ConjugateGradients" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_ConjugateGradients" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (arg1)->ConjugateGradients(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_ConjugateGradients) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 4) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3:
    dispatch: switch(_index) { case 1: ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_ConjugateGradients__SWIG_2); return;
      case 2: ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_ConjugateGradients__SWIG_1); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_ConjugateGradients__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBForceField_ConjugateGradients'"); XSRETURN(0); }
XS(_wrap_OBForceField_ConjugateGradientsInitialize__SWIG_0) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    int arg2 ; double arg3 ; int arg4 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; double val3 ;
    int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int argvi = 0; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: OBForceField_ConjugateGradientsInitialize(self,steps,econv,method);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_ConjugateGradientsInitialize" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_ConjugateGradientsInitialize" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBForceField_ConjugateGradientsInitialize" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4); if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBForceField_ConjugateGradientsInitialize" "', argument " "4"" of type '" "int""'"); }
      arg4 = static_cast< int >(val4); (arg1)->ConjugateGradientsInitialize(arg2,arg3,arg4); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_ConjugateGradientsInitialize__SWIG_1) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    int arg2 ; double arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBForceField_ConjugateGradientsInitialize(self,steps,econv);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_ConjugateGradientsInitialize" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_ConjugateGradientsInitialize" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBForceField_ConjugateGradientsInitialize" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); (arg1)->ConjugateGradientsInitialize(arg2,arg3); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_ConjugateGradientsInitialize__SWIG_2) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBForceField_ConjugateGradientsInitialize(self,steps);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_ConjugateGradientsInitialize" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_ConjugateGradientsInitialize" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (arg1)->ConjugateGradientsInitialize(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_ConjugateGradientsInitialize__SWIG_3) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_ConjugateGradientsInitialize(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_ConjugateGradientsInitialize" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); (arg1)->ConjugateGradientsInitialize();
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_ConjugateGradientsInitialize) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0; 
    if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 3) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 4) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_4;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_4;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4:
    dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_ConjugateGradientsInitialize__SWIG_3); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_ConjugateGradientsInitialize__SWIG_2); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_ConjugateGradientsInitialize__SWIG_1); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_ConjugateGradientsInitialize__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBForceField_ConjugateGradientsInitialize'"); XSRETURN(0); }
XS(_wrap_OBForceField_ConjugateGradientsTakeNSteps) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBForceField_ConjugateGradientsTakeNSteps(self,n);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_ConjugateGradientsTakeNSteps" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_ConjugateGradientsTakeNSteps" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (bool)(arg1)->ConjugateGradientsTakeNSteps(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_GenerateVelocities) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_GenerateVelocities(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_GenerateVelocities" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); (arg1)->GenerateVelocities(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_CorrectVelocities) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_CorrectVelocities(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_CorrectVelocities" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); (arg1)->CorrectVelocities(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_MolecularDynamicsTakeNSteps__SWIG_0) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    int arg2 ; double arg3 ; double arg4 ; int arg5 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; double val3 ;
    int ecode3 = 0 ; double val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 5) || (items > 5)) { SWIG_croak("Usage: OBForceField_MolecularDynamicsTakeNSteps(self,n,T,timestep,method);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_MolecularDynamicsTakeNSteps" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_MolecularDynamicsTakeNSteps" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBForceField_MolecularDynamicsTakeNSteps" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBForceField_MolecularDynamicsTakeNSteps" "', argument " "4"" of type '" "double""'"); }
      arg4 = static_cast< double >(val4); ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5); if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "OBForceField_MolecularDynamicsTakeNSteps" "', argument " "5"" of type '" "int""'"); }
      arg5 = static_cast< int >(val5); (arg1)->MolecularDynamicsTakeNSteps(arg2,arg3,arg4,arg5); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_MolecularDynamicsTakeNSteps__SWIG_1) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    int arg2 ; double arg3 ; double arg4 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; double val3 ;
    int ecode3 = 0 ; double val4 ; int ecode4 = 0 ; int argvi = 0; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: OBForceField_MolecularDynamicsTakeNSteps(self,n,T,timestep);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_MolecularDynamicsTakeNSteps" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_MolecularDynamicsTakeNSteps" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBForceField_MolecularDynamicsTakeNSteps" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBForceField_MolecularDynamicsTakeNSteps" "', argument " "4"" of type '" "double""'"); }
      arg4 = static_cast< double >(val4); (arg1)->MolecularDynamicsTakeNSteps(arg2,arg3,arg4); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_MolecularDynamicsTakeNSteps__SWIG_2) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    int arg2 ; double arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBForceField_MolecularDynamicsTakeNSteps(self,n,T);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_MolecularDynamicsTakeNSteps" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_MolecularDynamicsTakeNSteps" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBForceField_MolecularDynamicsTakeNSteps" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); (arg1)->MolecularDynamicsTakeNSteps(arg2,arg3); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_MolecularDynamicsTakeNSteps) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0; 
    if (items == 3) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 4) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 5) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBForceField, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3:
    dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_MolecularDynamicsTakeNSteps__SWIG_2); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_MolecularDynamicsTakeNSteps__SWIG_1); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_MolecularDynamicsTakeNSteps__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBForceField_MolecularDynamicsTakeNSteps'"); XSRETURN(0); }
XS(_wrap_OBForceField_GetConstraints) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBFFConstraints *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_GetConstraints(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_GetConstraints" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1);
    result = (OpenBabel::OBFFConstraints *) &(arg1)->GetConstraints();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBFFConstraints, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_SetConstraints) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    OpenBabel::OBFFConstraints *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBForceField_SetConstraints(self,constraints);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_SetConstraints" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBFFConstraints,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_SetConstraints" "', argument " "2"" of type '" "OpenBabel::OBFFConstraints &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBForceField_SetConstraints" "', argument " "2"" of type '" "OpenBabel::OBFFConstraints &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBFFConstraints * >(argp2); (arg1)->SetConstraints(*arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_SetFixAtom) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBForceField_SetFixAtom(self,index);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_SetFixAtom" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_SetFixAtom" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (arg1)->SetFixAtom(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_UnsetFixAtom) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_UnsetFixAtom(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_UnsetFixAtom" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); (arg1)->UnsetFixAtom(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_SetIgnoreAtom) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBForceField_SetIgnoreAtom(self,index);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_SetIgnoreAtom" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_SetIgnoreAtom" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (arg1)->SetIgnoreAtom(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_UnsetIgnoreAtom) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_UnsetIgnoreAtom(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_UnsetIgnoreAtom" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); (arg1)->UnsetIgnoreAtom(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_IgnoreCalculation__SWIG_0) { { int arg1 ; int arg2 ; int val1 ; int ecode1 = 0 ; int val2 ;
    int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBForceField_IgnoreCalculation(a,b);"); }  ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
    if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "OBForceField_IgnoreCalculation" "', argument " "1"" of type '" "int""'"); }
      arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_IgnoreCalculation" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (bool)OpenBabel::OBForceField::IgnoreCalculation(arg1,arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_IgnoreCalculation__SWIG_1) { { int arg1 ; int arg2 ; int arg3 ; int val1 ; int ecode1 = 0 ; int val2 ;
    int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBForceField_IgnoreCalculation(a,b,c);"); } 
    ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1); if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "OBForceField_IgnoreCalculation" "', argument " "1"" of type '" "int""'"); }
      arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_IgnoreCalculation" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBForceField_IgnoreCalculation" "', argument " "3"" of type '" "int""'"); }
      arg3 = static_cast< int >(val3); result = (bool)OpenBabel::OBForceField::IgnoreCalculation(arg1,arg2,arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_IgnoreCalculation__SWIG_2) { { int arg1 ; int arg2 ; int arg3 ; int arg4 ; int val1 ; int ecode1 = 0 ;
    int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 4) || (items > 4)) { SWIG_croak("Usage: OBForceField_IgnoreCalculation(a,b,c,d);"); } 
    ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1); if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "OBForceField_IgnoreCalculation" "', argument " "1"" of type '" "int""'"); }
      arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_IgnoreCalculation" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBForceField_IgnoreCalculation" "', argument " "3"" of type '" "int""'"); }
      arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4); if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBForceField_IgnoreCalculation" "', argument " "4"" of type '" "int""'"); }
      arg4 = static_cast< int >(val4); result = (bool)OpenBabel::OBForceField::IgnoreCalculation(arg1,arg2,arg3,arg4);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_IgnoreCalculation) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1:
    if (items == 3) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 4) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_IgnoreCalculation__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_IgnoreCalculation__SWIG_1); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_IgnoreCalculation__SWIG_2); return; }  } 
  croak("No matching function for overloaded 'OBForceField_IgnoreCalculation'"); XSRETURN(0); }
XS(_wrap_OBForceField_DetectExplosion) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_DetectExplosion(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_DetectExplosion" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); result = (bool)(arg1)->DetectExplosion();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_ValidateLineSearch) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; OpenBabel::vector3 *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
    void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; OpenBabel::vector3 result; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBForceField_ValidateLineSearch(self,atom,direction);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_ValidateLineSearch" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_ValidateLineSearch" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBForceField_ValidateLineSearch" "', argument " "3"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBForceField_ValidateLineSearch" "', argument " "3"" of type '" "OpenBabel::vector3 &""'"); }
     arg3 = reinterpret_cast< OpenBabel::vector3 * >(argp3); result = (arg1)->ValidateLineSearch(arg2,*arg3);
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::vector3(static_cast< const OpenBabel::vector3& >(result))), SWIGTYPE_p_OpenBabel__vector3, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_ValidateSteepestDescent) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBForceField_ValidateSteepestDescent(self,steps);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_ValidateSteepestDescent" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_ValidateSteepestDescent" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (arg1)->ValidateSteepestDescent(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_ValidateConjugateGradients) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBForceField_ValidateConjugateGradients(self,steps);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_ValidateConjugateGradients" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_ValidateConjugateGradients" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (arg1)->ValidateConjugateGradients(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_Validate) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_Validate(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_Validate" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); result = (bool)(arg1)->Validate();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_ValidateGradients) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBForceField_ValidateGradients(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_ValidateGradients" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1); result = (bool)(arg1)->ValidateGradients();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_ValidateGradientError) { { OpenBabel::OBForceField *arg1 = (OpenBabel::OBForceField *) 0 ;
    OpenBabel::vector3 *arg2 = 0 ; OpenBabel::vector3 *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; OpenBabel::vector3 result; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBForceField_ValidateGradientError(self,numgrad,anagrad);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBForceField, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_ValidateGradientError" "', argument " "1"" of type '" "OpenBabel::OBForceField *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBForceField * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_ValidateGradientError" "', argument " "2"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBForceField_ValidateGradientError" "', argument " "2"" of type '" "OpenBabel::vector3 &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBForceField_ValidateGradientError" "', argument " "3"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBForceField_ValidateGradientError" "', argument " "3"" of type '" "OpenBabel::vector3 &""'"); }
     arg3 = reinterpret_cast< OpenBabel::vector3 * >(argp3); result = (arg1)->ValidateGradientError(*arg2,*arg3);
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::vector3(static_cast< const OpenBabel::vector3& >(result))), SWIGTYPE_p_OpenBabel__vector3, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_VectorBondDerivative) { { double *arg1 = (double *) 0 ; double *arg2 = (double *) 0 ;
    double *arg3 = (double *) 0 ; double *arg4 = (double *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 4) || (items > 4)) { SWIG_croak("Usage: OBForceField_VectorBondDerivative(pos_a,pos_b,force_a,force_b);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_VectorBondDerivative" "', argument " "1"" of type '" "double *""'");  }
     arg1 = reinterpret_cast< double * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_VectorBondDerivative" "', argument " "2"" of type '" "double *""'");  }
     arg2 = reinterpret_cast< double * >(argp2); res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBForceField_VectorBondDerivative" "', argument " "3"" of type '" "double *""'");  }
     arg3 = reinterpret_cast< double * >(argp3); res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBForceField_VectorBondDerivative" "', argument " "4"" of type '" "double *""'");  }
     arg4 = reinterpret_cast< double * >(argp4);
    result = (double)OpenBabel::OBForceField::VectorBondDerivative(arg1,arg2,arg3,arg4);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_VectorDistanceDerivative) { { double *arg1 = (double *) (double *)0 ;
    double *arg2 = (double *) (double *)0 ; double *arg3 = (double *) 0 ; double *arg4 = (double *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: OBForceField_VectorDistanceDerivative(pos_i,pos_j,force_i,force_j);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_VectorDistanceDerivative" "', argument " "1"" of type '" "double const *const""'");  }
     arg1 = reinterpret_cast< double * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_VectorDistanceDerivative" "', argument " "2"" of type '" "double const *const""'");  }
     arg2 = reinterpret_cast< double * >(argp2); res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBForceField_VectorDistanceDerivative" "', argument " "3"" of type '" "double *""'");  }
     arg3 = reinterpret_cast< double * >(argp3); res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBForceField_VectorDistanceDerivative" "', argument " "4"" of type '" "double *""'");  }
     arg4 = reinterpret_cast< double * >(argp4);
    result = (double)OpenBabel::OBForceField::VectorDistanceDerivative((double const *)arg1,(double const *)arg2,arg3,arg4);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_VectorLengthDerivative) { { OpenBabel::vector3 *arg1 = 0 ; OpenBabel::vector3 *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBForceField_VectorLengthDerivative(a,b);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_VectorLengthDerivative" "', argument " "1"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBForceField_VectorLengthDerivative" "', argument " "1"" of type '" "OpenBabel::vector3 &""'"); }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_VectorLengthDerivative" "', argument " "2"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBForceField_VectorLengthDerivative" "', argument " "2"" of type '" "OpenBabel::vector3 &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2);
    result = (double)OpenBabel::OBForceField::VectorLengthDerivative(*arg1,*arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_VectorAngleDerivative__SWIG_0) { { double *arg1 = (double *) 0 ; double *arg2 = (double *) 0 ;
    double *arg3 = (double *) 0 ; double *arg4 = (double *) 0 ; double *arg5 = (double *) 0 ; double *arg6 = (double *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ;
    int res4 = 0 ; void *argp5 = 0 ; int res5 = 0 ; void *argp6 = 0 ; int res6 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 6) || (items > 6)) {
      SWIG_croak("Usage: OBForceField_VectorAngleDerivative(pos_a,pos_b,pos_c,force_a,force_b,force_c);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_VectorAngleDerivative" "', argument " "1"" of type '" "double *""'");  }
     arg1 = reinterpret_cast< double * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_VectorAngleDerivative" "', argument " "2"" of type '" "double *""'");  }
     arg2 = reinterpret_cast< double * >(argp2); res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBForceField_VectorAngleDerivative" "', argument " "3"" of type '" "double *""'");  }
     arg3 = reinterpret_cast< double * >(argp3); res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBForceField_VectorAngleDerivative" "', argument " "4"" of type '" "double *""'");  }
     arg4 = reinterpret_cast< double * >(argp4); res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res5)) {
      SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "OBForceField_VectorAngleDerivative" "', argument " "5"" of type '" "double *""'");  }
     arg5 = reinterpret_cast< double * >(argp5); res6 = SWIG_ConvertPtr(ST(5), &argp6,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res6)) {
      SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "OBForceField_VectorAngleDerivative" "', argument " "6"" of type '" "double *""'");  }
     arg6 = reinterpret_cast< double * >(argp6);
    result = (double)OpenBabel::OBForceField::VectorAngleDerivative(arg1,arg2,arg3,arg4,arg5,arg6);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_VectorAngleDerivative__SWIG_1) { { OpenBabel::vector3 *arg1 = 0 ; OpenBabel::vector3 *arg2 = 0 ;
    OpenBabel::vector3 *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ;
    int res3 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBForceField_VectorAngleDerivative(a,b,c);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_VectorAngleDerivative" "', argument " "1"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBForceField_VectorAngleDerivative" "', argument " "1"" of type '" "OpenBabel::vector3 &""'"); }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_VectorAngleDerivative" "', argument " "2"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBForceField_VectorAngleDerivative" "', argument " "2"" of type '" "OpenBabel::vector3 &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBForceField_VectorAngleDerivative" "', argument " "3"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBForceField_VectorAngleDerivative" "', argument " "3"" of type '" "OpenBabel::vector3 &""'"); }
     arg3 = reinterpret_cast< OpenBabel::vector3 * >(argp3);
    result = (double)OpenBabel::OBForceField::VectorAngleDerivative(*arg1,*arg2,*arg3);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_VectorAngleDerivative) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 6) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(3), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(4), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(5), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_VectorAngleDerivative__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_VectorAngleDerivative__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBForceField_VectorAngleDerivative'"); XSRETURN(0); }
XS(_wrap_OBForceField_VectorOOPDerivative__SWIG_0) { { double *arg1 = (double *) 0 ; double *arg2 = (double *) 0 ;
    double *arg3 = (double *) 0 ; double *arg4 = (double *) 0 ; double *arg5 = (double *) 0 ; double *arg6 = (double *) 0 ;
    double *arg7 = (double *) 0 ; double *arg8 = (double *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; void *argp5 = 0 ; int res5 = 0 ;
    void *argp6 = 0 ; int res6 = 0 ; void *argp7 = 0 ; int res7 = 0 ; void *argp8 = 0 ; int res8 = 0 ; int argvi = 0;
    double result; dXSARGS; if ((items < 8) || (items > 8)) {
      SWIG_croak("Usage: OBForceField_VectorOOPDerivative(pos_a,pos_b,pos_c,pos_d,force_a,force_b,force_c,force_d);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_VectorOOPDerivative" "', argument " "1"" of type '" "double *""'");  }
     arg1 = reinterpret_cast< double * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_VectorOOPDerivative" "', argument " "2"" of type '" "double *""'");  }
     arg2 = reinterpret_cast< double * >(argp2); res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBForceField_VectorOOPDerivative" "', argument " "3"" of type '" "double *""'");  }
     arg3 = reinterpret_cast< double * >(argp3); res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBForceField_VectorOOPDerivative" "', argument " "4"" of type '" "double *""'");  }
     arg4 = reinterpret_cast< double * >(argp4); res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res5)) {
      SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "OBForceField_VectorOOPDerivative" "', argument " "5"" of type '" "double *""'");  }
     arg5 = reinterpret_cast< double * >(argp5); res6 = SWIG_ConvertPtr(ST(5), &argp6,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res6)) {
      SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "OBForceField_VectorOOPDerivative" "', argument " "6"" of type '" "double *""'");  }
     arg6 = reinterpret_cast< double * >(argp6); res7 = SWIG_ConvertPtr(ST(6), &argp7,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res7)) {
      SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "OBForceField_VectorOOPDerivative" "', argument " "7"" of type '" "double *""'");  }
     arg7 = reinterpret_cast< double * >(argp7); res8 = SWIG_ConvertPtr(ST(7), &argp8,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res8)) {
      SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "OBForceField_VectorOOPDerivative" "', argument " "8"" of type '" "double *""'");  }
     arg8 = reinterpret_cast< double * >(argp8);
    result = (double)OpenBabel::OBForceField::VectorOOPDerivative(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_VectorOOPDerivative__SWIG_1) { { OpenBabel::vector3 *arg1 = 0 ; OpenBabel::vector3 *arg2 = 0 ;
    OpenBabel::vector3 *arg3 = 0 ; OpenBabel::vector3 *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 4) || (items > 4)) { SWIG_croak("Usage: OBForceField_VectorOOPDerivative(a,b,c,d);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_VectorOOPDerivative" "', argument " "1"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBForceField_VectorOOPDerivative" "', argument " "1"" of type '" "OpenBabel::vector3 &""'"); }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_VectorOOPDerivative" "', argument " "2"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBForceField_VectorOOPDerivative" "', argument " "2"" of type '" "OpenBabel::vector3 &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBForceField_VectorOOPDerivative" "', argument " "3"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBForceField_VectorOOPDerivative" "', argument " "3"" of type '" "OpenBabel::vector3 &""'"); }
     arg3 = reinterpret_cast< OpenBabel::vector3 * >(argp3);
    res4 = SWIG_ConvertPtr(ST(3), &argp4, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBForceField_VectorOOPDerivative" "', argument " "4"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp4) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBForceField_VectorOOPDerivative" "', argument " "4"" of type '" "OpenBabel::vector3 &""'"); }
     arg4 = reinterpret_cast< OpenBabel::vector3 * >(argp4);
    result = (double)OpenBabel::OBForceField::VectorOOPDerivative(*arg1,*arg2,*arg3,*arg4);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_VectorOOPDerivative) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 4) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(3), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 8) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(3), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(4), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(5), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(6), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(7), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_VectorOOPDerivative__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_VectorOOPDerivative__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBForceField_VectorOOPDerivative'"); XSRETURN(0); }
XS(_wrap_OBForceField_VectorTorsionDerivative__SWIG_0) { { double *arg1 = (double *) 0 ; double *arg2 = (double *) 0 ;
    double *arg3 = (double *) 0 ; double *arg4 = (double *) 0 ; double *arg5 = (double *) 0 ; double *arg6 = (double *) 0 ;
    double *arg7 = (double *) 0 ; double *arg8 = (double *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; void *argp5 = 0 ; int res5 = 0 ;
    void *argp6 = 0 ; int res6 = 0 ; void *argp7 = 0 ; int res7 = 0 ; void *argp8 = 0 ; int res8 = 0 ; int argvi = 0;
    double result; dXSARGS; if ((items < 8) || (items > 8)) {
      SWIG_croak("Usage: OBForceField_VectorTorsionDerivative(pos_a,pos_b,pos_c,pos_d,force_a,force_b,force_c,force_d);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_VectorTorsionDerivative" "', argument " "1"" of type '" "double *""'");  }
     arg1 = reinterpret_cast< double * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_VectorTorsionDerivative" "', argument " "2"" of type '" "double *""'");  }
     arg2 = reinterpret_cast< double * >(argp2); res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBForceField_VectorTorsionDerivative" "', argument " "3"" of type '" "double *""'");  }
     arg3 = reinterpret_cast< double * >(argp3); res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBForceField_VectorTorsionDerivative" "', argument " "4"" of type '" "double *""'");  }
     arg4 = reinterpret_cast< double * >(argp4); res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res5)) {
      SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "OBForceField_VectorTorsionDerivative" "', argument " "5"" of type '" "double *""'");  }
     arg5 = reinterpret_cast< double * >(argp5); res6 = SWIG_ConvertPtr(ST(5), &argp6,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res6)) {
      SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "OBForceField_VectorTorsionDerivative" "', argument " "6"" of type '" "double *""'");  }
     arg6 = reinterpret_cast< double * >(argp6); res7 = SWIG_ConvertPtr(ST(6), &argp7,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res7)) {
      SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "OBForceField_VectorTorsionDerivative" "', argument " "7"" of type '" "double *""'");  }
     arg7 = reinterpret_cast< double * >(argp7); res8 = SWIG_ConvertPtr(ST(7), &argp8,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res8)) {
      SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "OBForceField_VectorTorsionDerivative" "', argument " "8"" of type '" "double *""'");  }
     arg8 = reinterpret_cast< double * >(argp8);
    result = (double)OpenBabel::OBForceField::VectorTorsionDerivative(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_VectorTorsionDerivative__SWIG_1) { { OpenBabel::vector3 *arg1 = 0 ; OpenBabel::vector3 *arg2 = 0 ;
    OpenBabel::vector3 *arg3 = 0 ; OpenBabel::vector3 *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 4) || (items > 4)) { SWIG_croak("Usage: OBForceField_VectorTorsionDerivative(a,b,c,d);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_VectorTorsionDerivative" "', argument " "1"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBForceField_VectorTorsionDerivative" "', argument " "1"" of type '" "OpenBabel::vector3 &""'"); }
     arg1 = reinterpret_cast< OpenBabel::vector3 * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_VectorTorsionDerivative" "', argument " "2"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBForceField_VectorTorsionDerivative" "', argument " "2"" of type '" "OpenBabel::vector3 &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBForceField_VectorTorsionDerivative" "', argument " "3"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBForceField_VectorTorsionDerivative" "', argument " "3"" of type '" "OpenBabel::vector3 &""'"); }
     arg3 = reinterpret_cast< OpenBabel::vector3 * >(argp3);
    res4 = SWIG_ConvertPtr(ST(3), &argp4, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBForceField_VectorTorsionDerivative" "', argument " "4"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp4) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBForceField_VectorTorsionDerivative" "', argument " "4"" of type '" "OpenBabel::vector3 &""'"); }
     arg4 = reinterpret_cast< OpenBabel::vector3 * >(argp4);
    result = (double)OpenBabel::OBForceField::VectorTorsionDerivative(*arg1,*arg2,*arg3,*arg4);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_VectorTorsionDerivative) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0; 
    if (items == 4) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(3), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 8) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(3), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(4), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(5), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(6), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(7), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_VectorTorsionDerivative__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBForceField_VectorTorsionDerivative__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBForceField_VectorTorsionDerivative'"); XSRETURN(0); }
XS(_wrap_OBForceField_VectorSubtract) { { double *arg1 = (double *) 0 ; double *arg2 = (double *) 0 ;
    double *arg3 = (double *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ;
    int res3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBForceField_VectorSubtract(i,j,result);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_VectorSubtract" "', argument " "1"" of type '" "double *""'");  }
     arg1 = reinterpret_cast< double * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_VectorSubtract" "', argument " "2"" of type '" "double *""'");  }
     arg2 = reinterpret_cast< double * >(argp2); res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBForceField_VectorSubtract" "', argument " "3"" of type '" "double *""'");  }
     arg3 = reinterpret_cast< double * >(argp3); OpenBabel::OBForceField::VectorSubtract(arg1,arg2,arg3);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_VectorAdd) { { double *arg1 = (double *) 0 ; double *arg2 = (double *) 0 ; double *arg3 = (double *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBForceField_VectorAdd(i,j,result);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_VectorAdd" "', argument " "1"" of type '" "double *""'");  }
     arg1 = reinterpret_cast< double * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_VectorAdd" "', argument " "2"" of type '" "double *""'");  }
     arg2 = reinterpret_cast< double * >(argp2); res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBForceField_VectorAdd" "', argument " "3"" of type '" "double *""'");  }
     arg3 = reinterpret_cast< double * >(argp3); OpenBabel::OBForceField::VectorAdd(arg1,arg2,arg3); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_VectorDivide) { { double *arg1 = (double *) 0 ; double arg2 ; double *arg3 = (double *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBForceField_VectorDivide(i,n,result);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_VectorDivide" "', argument " "1"" of type '" "double *""'");  }
     arg1 = reinterpret_cast< double * >(argp1); ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_VectorDivide" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBForceField_VectorDivide" "', argument " "3"" of type '" "double *""'");  }
     arg3 = reinterpret_cast< double * >(argp3); OpenBabel::OBForceField::VectorDivide(arg1,arg2,arg3);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_VectorMultiply) { { double *arg1 = (double *) 0 ; double arg2 ; double *arg3 = (double *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBForceField_VectorMultiply(i,n,result);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_VectorMultiply" "', argument " "1"" of type '" "double *""'");  }
     arg1 = reinterpret_cast< double * >(argp1); ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_VectorMultiply" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBForceField_VectorMultiply" "', argument " "3"" of type '" "double *""'");  }
     arg3 = reinterpret_cast< double * >(argp3); OpenBabel::OBForceField::VectorMultiply(arg1,arg2,arg3);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_VectorSelfMultiply) { { double *arg1 = (double *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ;
    double val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBForceField_VectorSelfMultiply(i,n);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_VectorSelfMultiply" "', argument " "1"" of type '" "double *""'");  }
     arg1 = reinterpret_cast< double * >(argp1); ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBForceField_VectorSelfMultiply" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); OpenBabel::OBForceField::VectorSelfMultiply(arg1,arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_VectorNormalize) { { double *arg1 = (double *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBForceField_VectorNormalize(i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_VectorNormalize" "', argument " "1"" of type '" "double *""'");  }
     arg1 = reinterpret_cast< double * >(argp1); OpenBabel::OBForceField::VectorNormalize(arg1); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_VectorCopy) { { double *arg1 = (double *) 0 ; double *arg2 = (double *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBForceField_VectorCopy(from,to);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_VectorCopy" "', argument " "1"" of type '" "double *""'");  }
     arg1 = reinterpret_cast< double * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_VectorCopy" "', argument " "2"" of type '" "double *""'");  }
     arg2 = reinterpret_cast< double * >(argp2); OpenBabel::OBForceField::VectorCopy(arg1,arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_VectorLength) { { double *arg1 = (double *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    double result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBForceField_VectorLength(i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_VectorLength" "', argument " "1"" of type '" "double *""'");  }
     arg1 = reinterpret_cast< double * >(argp1); result = (double)OpenBabel::OBForceField::VectorLength(arg1);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_VectorDistance) { { double *arg1 = (double *) 0 ; double *arg2 = (double *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBForceField_VectorDistance(pos_i,pos_j);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_VectorDistance" "', argument " "1"" of type '" "double *""'");  }
     arg1 = reinterpret_cast< double * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_VectorDistance" "', argument " "2"" of type '" "double *""'");  }
     arg2 = reinterpret_cast< double * >(argp2); result = (double)OpenBabel::OBForceField::VectorDistance(arg1,arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_VectorAngle) { { double *arg1 = (double *) 0 ; double *arg2 = (double *) 0 ; double *arg3 = (double *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0;
    double result; dXSARGS; if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBForceField_VectorAngle(i,j,k);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_VectorAngle" "', argument " "1"" of type '" "double *""'");  }
     arg1 = reinterpret_cast< double * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_VectorAngle" "', argument " "2"" of type '" "double *""'");  }
     arg2 = reinterpret_cast< double * >(argp2); res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBForceField_VectorAngle" "', argument " "3"" of type '" "double *""'");  }
     arg3 = reinterpret_cast< double * >(argp3); result = (double)OpenBabel::OBForceField::VectorAngle(arg1,arg2,arg3);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_VectorTorsion) { { double *arg1 = (double *) 0 ; double *arg2 = (double *) 0 ;
    double *arg3 = (double *) 0 ; double *arg4 = (double *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 4) || (items > 4)) { SWIG_croak("Usage: OBForceField_VectorTorsion(i,j,k,l);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_VectorTorsion" "', argument " "1"" of type '" "double *""'");  }
     arg1 = reinterpret_cast< double * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_VectorTorsion" "', argument " "2"" of type '" "double *""'");  }
     arg2 = reinterpret_cast< double * >(argp2); res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBForceField_VectorTorsion" "', argument " "3"" of type '" "double *""'");  }
     arg3 = reinterpret_cast< double * >(argp3); res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBForceField_VectorTorsion" "', argument " "4"" of type '" "double *""'");  }
     arg4 = reinterpret_cast< double * >(argp4); result = (double)OpenBabel::OBForceField::VectorTorsion(arg1,arg2,arg3,arg4);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_VectorOOP) { { double *arg1 = (double *) 0 ; double *arg2 = (double *) 0 ; double *arg3 = (double *) 0 ;
    double *arg4 = (double *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ;
    int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: OBForceField_VectorOOP(i,j,k,l);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_VectorOOP" "', argument " "1"" of type '" "double *""'");  }
     arg1 = reinterpret_cast< double * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_VectorOOP" "', argument " "2"" of type '" "double *""'");  }
     arg2 = reinterpret_cast< double * >(argp2); res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBForceField_VectorOOP" "', argument " "3"" of type '" "double *""'");  }
     arg3 = reinterpret_cast< double * >(argp3); res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBForceField_VectorOOP" "', argument " "4"" of type '" "double *""'");  }
     arg4 = reinterpret_cast< double * >(argp4); result = (double)OpenBabel::OBForceField::VectorOOP(arg1,arg2,arg3,arg4);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_VectorClear) { { double *arg1 = (double *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBForceField_VectorClear(i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_VectorClear" "', argument " "1"" of type '" "double *""'");  }
     arg1 = reinterpret_cast< double * >(argp1); OpenBabel::OBForceField::VectorClear(arg1); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_VectorDot) { { double *arg1 = (double *) 0 ; double *arg2 = (double *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBForceField_VectorDot(i,j);"); }  res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_VectorDot" "', argument " "1"" of type '" "double *""'");  }
     arg1 = reinterpret_cast< double * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_VectorDot" "', argument " "2"" of type '" "double *""'");  }
     arg2 = reinterpret_cast< double * >(argp2); result = (double)OpenBabel::OBForceField::VectorDot(arg1,arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBForceField_VectorCross) { { double *arg1 = (double *) 0 ; double *arg2 = (double *) 0 ; double *arg3 = (double *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBForceField_VectorCross(i,j,result);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_VectorCross" "', argument " "1"" of type '" "double *""'");  }
     arg1 = reinterpret_cast< double * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBForceField_VectorCross" "', argument " "2"" of type '" "double *""'");  }
     arg2 = reinterpret_cast< double * >(argp2); res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBForceField_VectorCross" "', argument " "3"" of type '" "double *""'");  }
     arg3 = reinterpret_cast< double * >(argp3); OpenBabel::OBForceField::VectorCross(arg1,arg2,arg3);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBForceField_PrintVector) { { double *arg1 = (double *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBForceField_PrintVector(i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBForceField_PrintVector" "', argument " "1"" of type '" "double *""'");  }
     arg1 = reinterpret_cast< double * >(argp1); OpenBabel::OBForceField::PrintVector(arg1); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBBuilder) { { int argvi = 0; OpenBabel::OBBuilder *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_OBBuilder();"); }  result = (OpenBabel::OBBuilder *)new OpenBabel::OBBuilder();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBuilder, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBuilder_Build) { { OpenBabel::OBBuilder *arg1 = (OpenBabel::OBBuilder *) 0 ; OpenBabel::OBMol *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBBuilder_Build(self,mol);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBuilder, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBuilder_Build" "', argument " "1"" of type '" "OpenBabel::OBBuilder *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBuilder * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBBuilder_Build" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBBuilder_Build" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); result = (bool)(arg1)->Build(*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBuilder_SetKeepRings) { { OpenBabel::OBBuilder *arg1 = (OpenBabel::OBBuilder *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBuilder_SetKeepRings(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBuilder, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBuilder_SetKeepRings" "', argument " "1"" of type '" "OpenBabel::OBBuilder *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBuilder * >(argp1); (arg1)->SetKeepRings(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBuilder_UnsetKeepRings) { { OpenBabel::OBBuilder *arg1 = (OpenBabel::OBBuilder *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBBuilder_UnsetKeepRings(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBuilder, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBuilder_UnsetKeepRings" "', argument " "1"" of type '" "OpenBabel::OBBuilder *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBuilder * >(argp1); (arg1)->UnsetKeepRings(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBuilder_LoadFragments) { { OpenBabel::OBBuilder *arg1 = (OpenBabel::OBBuilder *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBuilder_LoadFragments(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBuilder, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBuilder_LoadFragments" "', argument " "1"" of type '" "OpenBabel::OBBuilder *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBuilder * >(argp1); (arg1)->LoadFragments(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBuilder_GetNewBondVector__SWIG_0) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::vector3 result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBBuilder_GetNewBondVector(atom);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBuilder_GetNewBondVector" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = OpenBabel::OBBuilder::GetNewBondVector(arg1);
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::vector3(static_cast< const OpenBabel::vector3& >(result))), SWIGTYPE_p_OpenBabel__vector3, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBuilder_GetNewBondVector__SWIG_1) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; double arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::vector3 result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBBuilder_GetNewBondVector(atom,length);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBuilder_GetNewBondVector" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBBuilder_GetNewBondVector" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); result = OpenBabel::OBBuilder::GetNewBondVector(arg1,arg2);
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::vector3(static_cast< const OpenBabel::vector3& >(result))), SWIGTYPE_p_OpenBabel__vector3, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBuilder_GetNewBondVector) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBBuilder_GetNewBondVector__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBBuilder_GetNewBondVector__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBBuilder_GetNewBondVector'"); XSRETURN(0); }
XS(_wrap_OBBuilder_Connect__SWIG_0) { { OpenBabel::OBMol *arg1 = 0 ; int arg2 ; int arg3 ; OpenBabel::vector3 *arg4 = 0 ;
    int arg5 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; void *argp4 = 0 ;
    int res4 = 0 ; int val5 ; int ecode5 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 5) || (items > 5)) {
      SWIG_croak("Usage: OBBuilder_Connect(mol,a,b,newpos,bondOrder);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBuilder_Connect" "', argument " "1"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBBuilder_Connect" "', argument " "1"" of type '" "OpenBabel::OBMol &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBBuilder_Connect" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBBuilder_Connect" "', argument " "3"" of type '" "int""'"); }  
    arg3 = static_cast< int >(val3); res4 = SWIG_ConvertPtr(ST(3), &argp4, SWIGTYPE_p_OpenBabel__vector3,  0 );
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBBuilder_Connect" "', argument " "4"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp4) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBBuilder_Connect" "', argument " "4"" of type '" "OpenBabel::vector3 &""'"); }
     arg4 = reinterpret_cast< OpenBabel::vector3 * >(argp4); ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "OBBuilder_Connect" "', argument " "5"" of type '" "int""'"); }  
    arg5 = static_cast< int >(val5); result = (bool)OpenBabel::OBBuilder::Connect(*arg1,arg2,arg3,*arg4,arg5);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBuilder_Connect__SWIG_1) { { OpenBabel::OBMol *arg1 = 0 ; int arg2 ; int arg3 ; OpenBabel::vector3 *arg4 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; void *argp4 = 0 ; int res4 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: OBBuilder_Connect(mol,a,b,newpos);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBuilder_Connect" "', argument " "1"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBBuilder_Connect" "', argument " "1"" of type '" "OpenBabel::OBMol &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBBuilder_Connect" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBBuilder_Connect" "', argument " "3"" of type '" "int""'"); }  
    arg3 = static_cast< int >(val3); res4 = SWIG_ConvertPtr(ST(3), &argp4, SWIGTYPE_p_OpenBabel__vector3,  0 );
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBBuilder_Connect" "', argument " "4"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp4) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBBuilder_Connect" "', argument " "4"" of type '" "OpenBabel::vector3 &""'"); }
     arg4 = reinterpret_cast< OpenBabel::vector3 * >(argp4);
    result = (bool)OpenBabel::OBBuilder::Connect(*arg1,arg2,arg3,*arg4);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBuilder_Connect__SWIG_2) { { OpenBabel::OBMol *arg1 = 0 ; int arg2 ; int arg3 ; int arg4 ; void *argp1 = 0 ;
    int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 4) || (items > 4)) { SWIG_croak("Usage: OBBuilder_Connect(mol,a,b,bondOrder);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBuilder_Connect" "', argument " "1"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBBuilder_Connect" "', argument " "1"" of type '" "OpenBabel::OBMol &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBBuilder_Connect" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBBuilder_Connect" "', argument " "3"" of type '" "int""'"); }  
    arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4); if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBBuilder_Connect" "', argument " "4"" of type '" "int""'"); }  
    arg4 = static_cast< int >(val4); result = (bool)OpenBabel::OBBuilder::Connect(*arg1,arg2,arg3,arg4);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBuilder_Connect__SWIG_3) { { OpenBabel::OBMol *arg1 = 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ;
    int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBBuilder_Connect(mol,a,b);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBuilder_Connect" "', argument " "1"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBBuilder_Connect" "', argument " "1"" of type '" "OpenBabel::OBMol &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBBuilder_Connect" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBBuilder_Connect" "', argument " "3"" of type '" "int""'"); }  
    arg3 = static_cast< int >(val3); result = (bool)OpenBabel::OBBuilder::Connect(*arg1,arg2,arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBuilder_Connect) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1:
    if (items == 4) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        void *vptr = 0; int res = SWIG_ConvertPtr(ST(3), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 4) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 5) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_4;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        void *vptr = 0; int res = SWIG_ConvertPtr(ST(3), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_4;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 4;
        if (_rank == _rankm) goto dispatch; }  }  check_4: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBBuilder_Connect__SWIG_3); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBBuilder_Connect__SWIG_1); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBBuilder_Connect__SWIG_2); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBBuilder_Connect__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBBuilder_Connect'"); XSRETURN(0); }
XS(_wrap_OBBuilder_Swap) { { OpenBabel::OBMol *arg1 = 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; void *argp1 = 0 ;
    int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ;
    int ecode5 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 5) || (items > 5)) {
      SWIG_croak("Usage: OBBuilder_Swap(mol,a,b,c,d);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBuilder_Swap" "', argument " "1"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBBuilder_Swap" "', argument " "1"" of type '" "OpenBabel::OBMol &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBBuilder_Swap" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBBuilder_Swap" "', argument " "3"" of type '" "int""'"); }  
    arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4); if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBBuilder_Swap" "', argument " "4"" of type '" "int""'"); }  
    arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5); if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "OBBuilder_Swap" "', argument " "5"" of type '" "int""'"); }  
    arg5 = static_cast< int >(val5); result = (bool)OpenBabel::OBBuilder::Swap(*arg1,arg2,arg3,arg4,arg5);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBuilder_CorrectStereoBonds) { { OpenBabel::OBMol *arg1 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBuilder_CorrectStereoBonds(mol);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBuilder_CorrectStereoBonds" "', argument " "1"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBBuilder_CorrectStereoBonds" "', argument " "1"" of type '" "OpenBabel::OBMol &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); OpenBabel::OBBuilder::CorrectStereoBonds(*arg1);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBuilder_CorrectStereoAtoms) { { OpenBabel::OBMol *arg1 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBuilder_CorrectStereoAtoms(mol);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBuilder_CorrectStereoAtoms" "', argument " "1"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBBuilder_CorrectStereoAtoms" "', argument " "1"" of type '" "OpenBabel::OBMol &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); OpenBabel::OBBuilder::CorrectStereoAtoms(*arg1);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBuilder_IsSpiroAtom) { { unsigned long arg1 ; OpenBabel::OBMol *arg2 = 0 ; unsigned long val1 ; int ecode1 = 0 ;
    void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBBuilder_IsSpiroAtom(atomId,mol);"); } 
    ecode1 = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(ST(0), &val1); if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "OBBuilder_IsSpiroAtom" "', argument " "1"" of type '" "unsigned long""'"); }
      arg1 = static_cast< unsigned long >(val1); res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBBuilder_IsSpiroAtom" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBBuilder_IsSpiroAtom" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); result = (bool)OpenBabel::OBBuilder::IsSpiroAtom(arg1,*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBuilder_GetFragment) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBBitVec result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBBuilder_GetFragment(atom);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBuilder_GetFragment" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1); result = OpenBabel::OBBuilder::GetFragment(arg1);
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBBitVec(static_cast< const OpenBabel::OBBitVec& >(result))), SWIGTYPE_p_OpenBabel__OBBitVec, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBuilder_AddNbrs) { { OpenBabel::OBBitVec *arg1 = 0 ; OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBBuilder_AddNbrs(fragment,atom);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBBitVec,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBuilder_AddNbrs" "', argument " "1"" of type '" "OpenBabel::OBBitVec &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBBuilder_AddNbrs" "', argument " "1"" of type '" "OpenBabel::OBBitVec &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBBitVec * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBBuilder_AddNbrs" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); OpenBabel::OBBuilder::AddNbrs(*arg1,arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBBuilder) { { OpenBabel::OBBuilder *arg1 = (OpenBabel::OBBuilder *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBBuilder(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBuilder, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBBuilder" "', argument " "1"" of type '" "OpenBabel::OBBuilder *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBuilder * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBOp_Default) { { int argvi = 0; OpenBabel::OBOp **result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: OBOp_Default();"); }  result = (OpenBabel::OBOp **) &OpenBabel::OBOp::Default();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_OpenBabel__OBOp, 0 | 0); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBOp_FindType) { { char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int argvi = 0;
    OpenBabel::OBOp *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBOp_FindType(ID);"); } 
    res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBOp_FindType" "', argument " "1"" of type '" "char const *""'"); }
     arg1 = reinterpret_cast< char * >(buf1); result = (OpenBabel::OBOp *)OpenBabel::OBOp::FindType((char const *)arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBOp, 0 | SWIG_SHADOW); argvi++ ;
    if (alloc1 == SWIG_NEWOBJ) delete[] buf1; XSRETURN(argvi); fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
    SWIG_croak_null(); }  }
XS(_wrap_OBOp_Do__SWIG_0) { { OpenBabel::OBOp *arg1 = (OpenBabel::OBOp *) 0 ;
    OpenBabel::OBBase *arg2 = (OpenBabel::OBBase *) 0 ; char *arg3 = (char *) 0 ;
    OpenBabel::OBOp::OpMap *arg4 = (OpenBabel::OBOp::OpMap *) 0 ;
    OpenBabel::OBConversion *arg5 = (OpenBabel::OBConversion *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; void *argp5 = 0 ;
    int res5 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 5) || (items > 5)) {
      SWIG_croak("Usage: OBOp_Do(self,pOb,OptionText,pOptions,pConv);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBOp, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBOp_Do" "', argument " "1"" of type '" "OpenBabel::OBOp *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBOp * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBOp_Do" "', argument " "2"" of type '" "OpenBabel::OBBase *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBase * >(argp2); res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBOp_Do" "', argument " "3"" of type '" "char const *""'"); } 
    arg3 = reinterpret_cast< char * >(buf3);
    res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 ); if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBOp_Do" "', argument " "4"" of type '" "OpenBabel::OBOp::OpMap *""'");  }
     arg4 = reinterpret_cast< OpenBabel::OBOp::OpMap * >(argp4);
    res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res5)) {
      SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "OBOp_Do" "', argument " "5"" of type '" "OpenBabel::OBConversion *""'");  }
     arg5 = reinterpret_cast< OpenBabel::OBConversion * >(argp5); result = (bool)(arg1)->Do(arg2,(char const *)arg3,arg4,arg5);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (alloc3 == SWIG_NEWOBJ) delete[] buf3; XSRETURN(argvi); fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
    SWIG_croak_null(); }  }
XS(_wrap_OBOp_Do__SWIG_1) { { OpenBabel::OBOp *arg1 = (OpenBabel::OBOp *) 0 ;
    OpenBabel::OBBase *arg2 = (OpenBabel::OBBase *) 0 ; char *arg3 = (char *) 0 ;
    OpenBabel::OBOp::OpMap *arg4 = (OpenBabel::OBOp::OpMap *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 4) || (items > 4)) { SWIG_croak("Usage: OBOp_Do(self,pOb,OptionText,pOptions);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBOp, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBOp_Do" "', argument " "1"" of type '" "OpenBabel::OBOp *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBOp * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBOp_Do" "', argument " "2"" of type '" "OpenBabel::OBBase *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBase * >(argp2); res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBOp_Do" "', argument " "3"" of type '" "char const *""'"); } 
    arg3 = reinterpret_cast< char * >(buf3);
    res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 ); if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBOp_Do" "', argument " "4"" of type '" "OpenBabel::OBOp::OpMap *""'");  }
     arg4 = reinterpret_cast< OpenBabel::OBOp::OpMap * >(argp4); result = (bool)(arg1)->Do(arg2,(char const *)arg3,arg4);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (alloc3 == SWIG_NEWOBJ) delete[] buf3; XSRETURN(argvi); fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
    SWIG_croak_null(); }  }
XS(_wrap_OBOp_Do__SWIG_2) { { OpenBabel::OBOp *arg1 = (OpenBabel::OBOp *) 0 ;
    OpenBabel::OBBase *arg2 = (OpenBabel::OBBase *) 0 ; char *arg3 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    void *argp2 = 0 ; int res2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBOp_Do(self,pOb,OptionText);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBOp, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBOp_Do" "', argument " "1"" of type '" "OpenBabel::OBOp *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBOp * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBOp_Do" "', argument " "2"" of type '" "OpenBabel::OBBase *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBase * >(argp2); res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBOp_Do" "', argument " "3"" of type '" "char const *""'"); } 
    arg3 = reinterpret_cast< char * >(buf3); result = (bool)(arg1)->Do(arg2,(char const *)arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (alloc3 == SWIG_NEWOBJ) delete[] buf3; XSRETURN(argvi); fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
    SWIG_croak_null(); }  }
XS(_wrap_OBOp_Do__SWIG_3) { { OpenBabel::OBOp *arg1 = (OpenBabel::OBOp *) 0 ;
    OpenBabel::OBBase *arg2 = (OpenBabel::OBBase *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBOp_Do(self,pOb);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBOp, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBOp_Do" "', argument " "1"" of type '" "OpenBabel::OBOp *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBOp * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBOp_Do" "', argument " "2"" of type '" "OpenBabel::OBBase *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBase * >(argp2); result = (bool)(arg1)->Do(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBOp_Do) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) { SWIG_TypeRank _ranki = 0;
      SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBOp, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBOp, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(2), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 4) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBOp, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(2), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(3), &vptr, SWIGTYPE_p_std__mapT_std__string_std__string_t, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 5) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBOp, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBBase, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(2), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_4;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(3), &vptr, SWIGTYPE_p_std__mapT_std__string_std__string_t, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(4), &vptr, SWIGTYPE_p_OpenBabel__OBConversion, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBOp_Do__SWIG_3); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBOp_Do__SWIG_2); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBOp_Do__SWIG_1); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBOp_Do__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBOp_Do'"); XSRETURN(0); }
XS(_wrap_OBOp_WorksWith) { { OpenBabel::OBOp *arg1 = (OpenBabel::OBOp *) 0 ; OpenBabel::OBBase *arg2 = (OpenBabel::OBBase *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBOp_WorksWith(self,pOb);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBOp, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBOp_WorksWith" "', argument " "1"" of type '" "OpenBabel::OBOp const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBOp * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBOp_WorksWith" "', argument " "2"" of type '" "OpenBabel::OBBase *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBase * >(argp2); result = (bool)((OpenBabel::OBOp const *)arg1)->WorksWith(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBOp_ProcessVec) { { OpenBabel::OBOp *arg1 = (OpenBabel::OBOp *) 0 ; std::vector< OpenBabel::OBBase * > *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBOp_ProcessVec(self,std::vector< OpenBabel::OBBase * > &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBOp, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBOp_ProcessVec" "', argument " "1"" of type '" "OpenBabel::OBOp *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBOp * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBBase_p_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBOp_ProcessVec" "', argument " "2"" of type '" "std::vector< OpenBabel::OBBase * > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBOp_ProcessVec" "', argument " "2"" of type '" "std::vector< OpenBabel::OBBase * > &""'"); }
     arg2 = reinterpret_cast< std::vector< OpenBabel::OBBase * > * >(argp2); result = (bool)(arg1)->ProcessVec(*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBOp_OpOptions) { { OpenBabel::OBBase *arg1 = (OpenBabel::OBBase *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    std::string result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBOp_OpOptions(pOb);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBOp_OpOptions" "', argument " "1"" of type '" "OpenBabel::OBBase *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBase * >(argp1); result = OpenBabel::OBOp::OpOptions(arg1);
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBOp_DoOps) { { OpenBabel::OBBase *arg1 = (OpenBabel::OBBase *) 0 ;
    OpenBabel::OBOp::OpMap *arg2 = (OpenBabel::OBOp::OpMap *) 0 ;
    OpenBabel::OBConversion *arg3 = (OpenBabel::OBConversion *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBOp_DoOps(pOb,pOptions,pConv);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBase, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBOp_DoOps" "', argument " "1"" of type '" "OpenBabel::OBBase *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBase * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBOp_DoOps" "', argument " "2"" of type '" "OpenBabel::OBOp::OpMap *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBOp::OpMap * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBOp_DoOps" "', argument " "3"" of type '" "OpenBabel::OBConversion *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBConversion * >(argp3);
    result = (bool)OpenBabel::OBOp::DoOps(arg1,(std::map< std::string,std::string > const *)arg2,arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_delete_OBOp) { { OpenBabel::OBOp *arg1 = (OpenBabel::OBOp *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBOp(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBOp, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBOp" "', argument " "1"" of type '" "OpenBabel::OBOp *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBOp * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_new_OBBitVec__SWIG_0) { { int argvi = 0; OpenBabel::OBBitVec *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_OBBitVec();"); }  result = (OpenBabel::OBBitVec *)new OpenBabel::OBBitVec();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBitVec, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBBitVec__SWIG_1) { { unsigned int arg1 ; unsigned int val1 ; int ecode1 = 0 ; int argvi = 0;
    OpenBabel::OBBitVec *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new_OBBitVec(size_in_bits);"); } 
    ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1); if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_OBBitVec" "', argument " "1"" of type '" "unsigned int""'"); }
      arg1 = static_cast< unsigned int >(val1); result = (OpenBabel::OBBitVec *)new OpenBabel::OBBitVec(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBitVec, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBBitVec__SWIG_2) { { OpenBabel::OBBitVec *arg1 = 0 ; void *argp1 ; int res1 = 0 ; int argvi = 0;
    OpenBabel::OBBitVec *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: new_OBBitVec(bv);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBBitVec,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBBitVec" "', argument " "1"" of type '" "OpenBabel::OBBitVec const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBBitVec" "', argument " "1"" of type '" "OpenBabel::OBBitVec const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBBitVec * >(argp1);
    result = (OpenBabel::OBBitVec *)new OpenBabel::OBBitVec((OpenBabel::OBBitVec const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBitVec, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBBitVec) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBBitVec, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBBitVec__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBBitVec__SWIG_2); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBBitVec__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'new_OBBitVec'"); XSRETURN(0); }
XS(_wrap_OBBitVec_SetBitOn) { { OpenBabel::OBBitVec *arg1 = (OpenBabel::OBBitVec *) 0 ; unsigned int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBBitVec_SetBitOn(self,bit_offset);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBitVec, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBitVec_SetBitOn" "', argument " "1"" of type '" "OpenBabel::OBBitVec *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBitVec * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBBitVec_SetBitOn" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); (arg1)->SetBitOn(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBitVec_SetBitOff) { { OpenBabel::OBBitVec *arg1 = (OpenBabel::OBBitVec *) 0 ; unsigned int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBBitVec_SetBitOff(self,bit_offset);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBitVec, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBitVec_SetBitOff" "', argument " "1"" of type '" "OpenBabel::OBBitVec *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBitVec * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBBitVec_SetBitOff" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); (arg1)->SetBitOff(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBitVec_SetRangeOn) { { OpenBabel::OBBitVec *arg1 = (OpenBabel::OBBitVec *) 0 ; unsigned int arg2 ;
    unsigned int arg3 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; unsigned int val3 ;
    int ecode3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBBitVec_SetRangeOn(self,lo_bit_offset,hi_bit_offset);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBitVec, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBitVec_SetRangeOn" "', argument " "1"" of type '" "OpenBabel::OBBitVec *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBitVec * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBBitVec_SetRangeOn" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBBitVec_SetRangeOn" "', argument " "3"" of type '" "unsigned int""'"); }
      arg3 = static_cast< unsigned int >(val3); (arg1)->SetRangeOn(arg2,arg3); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBBitVec_SetRangeOff) { { OpenBabel::OBBitVec *arg1 = (OpenBabel::OBBitVec *) 0 ; unsigned int arg2 ;
    unsigned int arg3 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; unsigned int val3 ;
    int ecode3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBBitVec_SetRangeOff(self,lo_bit_offset,hi_bit_offset);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBitVec, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBitVec_SetRangeOff" "', argument " "1"" of type '" "OpenBabel::OBBitVec *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBitVec * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBBitVec_SetRangeOff" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBBitVec_SetRangeOff" "', argument " "3"" of type '" "unsigned int""'"); }
      arg3 = static_cast< unsigned int >(val3); (arg1)->SetRangeOff(arg2,arg3); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBBitVec_Fold) { { OpenBabel::OBBitVec *arg1 = (OpenBabel::OBBitVec *) 0 ; unsigned int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBBitVec_Fold(self,new_bit_size);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBitVec, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBitVec_Fold" "', argument " "1"" of type '" "OpenBabel::OBBitVec *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBitVec * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBBitVec_Fold" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); (arg1)->Fold(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBitVec_FirstBit__SWIG_0) { { OpenBabel::OBBitVec *arg1 = (OpenBabel::OBBitVec *) 0 ; unsigned int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; int result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBBitVec_FirstBit(self,bit_offset);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBitVec, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBitVec_FirstBit" "', argument " "1"" of type '" "OpenBabel::OBBitVec const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBitVec * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBBitVec_FirstBit" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (int)((OpenBabel::OBBitVec const *)arg1)->FirstBit(arg2);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBitVec_FirstBit__SWIG_1) { { OpenBabel::OBBitVec *arg1 = (OpenBabel::OBBitVec *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBitVec_FirstBit(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBitVec, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBitVec_FirstBit" "', argument " "1"" of type '" "OpenBabel::OBBitVec const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBitVec * >(argp1); result = (int)((OpenBabel::OBBitVec const *)arg1)->FirstBit();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBitVec_FirstBit) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBBitVec, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBBitVec, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBBitVec_FirstBit__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBBitVec_FirstBit__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBBitVec_FirstBit'"); XSRETURN(0); }
XS(_wrap_OBBitVec_NextBit) { { OpenBabel::OBBitVec *arg1 = (OpenBabel::OBBitVec *) 0 ; int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBBitVec_NextBit(self,last_bit_offset);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBitVec, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBitVec_NextBit" "', argument " "1"" of type '" "OpenBabel::OBBitVec const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBitVec * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBBitVec_NextBit" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); result = (int)((OpenBabel::OBBitVec const *)arg1)->NextBit(arg2);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBitVec_EndBit) { { OpenBabel::OBBitVec *arg1 = (OpenBabel::OBBitVec *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBitVec_EndBit(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBitVec, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBitVec_EndBit" "', argument " "1"" of type '" "OpenBabel::OBBitVec const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBitVec * >(argp1); result = (int)((OpenBabel::OBBitVec const *)arg1)->EndBit();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBitVec_GetSize) { { OpenBabel::OBBitVec *arg1 = (OpenBabel::OBBitVec *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; size_t result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBitVec_GetSize(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBitVec, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBitVec_GetSize" "', argument " "1"" of type '" "OpenBabel::OBBitVec const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBitVec * >(argp1); result = ((OpenBabel::OBBitVec const *)arg1)->GetSize();
    ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1(static_cast< size_t >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBitVec_CountBits) { { OpenBabel::OBBitVec *arg1 = (OpenBabel::OBBitVec *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBBitVec_CountBits(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBitVec, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBitVec_CountBits" "', argument " "1"" of type '" "OpenBabel::OBBitVec const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBitVec * >(argp1);
    result = (unsigned int)((OpenBabel::OBBitVec const *)arg1)->CountBits();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBitVec_Empty) { { OpenBabel::OBBitVec *arg1 = (OpenBabel::OBBitVec *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBitVec_Empty(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBitVec, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBitVec_Empty" "', argument " "1"" of type '" "OpenBabel::OBBitVec const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBitVec * >(argp1); result = (bool)((OpenBabel::OBBitVec const *)arg1)->Empty();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBitVec_IsEmpty) { { OpenBabel::OBBitVec *arg1 = (OpenBabel::OBBitVec *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBitVec_IsEmpty(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBitVec, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBitVec_IsEmpty" "', argument " "1"" of type '" "OpenBabel::OBBitVec const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBitVec * >(argp1); result = (bool)((OpenBabel::OBBitVec const *)arg1)->IsEmpty();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBitVec_Resize) { { OpenBabel::OBBitVec *arg1 = (OpenBabel::OBBitVec *) 0 ; unsigned int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBBitVec_Resize(self,size_in_bits);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBitVec, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBitVec_Resize" "', argument " "1"" of type '" "OpenBabel::OBBitVec *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBitVec * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBBitVec_Resize" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (bool)(arg1)->Resize(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBitVec_ResizeWords) { { OpenBabel::OBBitVec *arg1 = (OpenBabel::OBBitVec *) 0 ; unsigned int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBBitVec_ResizeWords(self,size_in_words);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBitVec, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBitVec_ResizeWords" "', argument " "1"" of type '" "OpenBabel::OBBitVec *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBitVec * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBBitVec_ResizeWords" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (bool)(arg1)->ResizeWords(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBitVec_BitIsSet) { { OpenBabel::OBBitVec *arg1 = (OpenBabel::OBBitVec *) 0 ; unsigned int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBBitVec_BitIsSet(self,bit_offset);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBitVec, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBitVec_BitIsSet" "', argument " "1"" of type '" "OpenBabel::OBBitVec const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBitVec * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBBitVec_BitIsSet" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (bool)((OpenBabel::OBBitVec const *)arg1)->BitIsSet(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBitVec_BitIsOn) { { OpenBabel::OBBitVec *arg1 = (OpenBabel::OBBitVec *) 0 ; int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBBitVec_BitIsOn(self,bit_offset);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBitVec, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBitVec_BitIsOn" "', argument " "1"" of type '" "OpenBabel::OBBitVec const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBitVec * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBBitVec_BitIsOn" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); result = (bool)((OpenBabel::OBBitVec const *)arg1)->BitIsOn(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBitVec_FromVecInt) { { OpenBabel::OBBitVec *arg1 = (OpenBabel::OBBitVec *) 0 ; std::vector< int > *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; std::vector< int > temp2 ; std::vector< int > *v2 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBBitVec_FromVecInt(self,bit_offsets);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBitVec, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBitVec_FromVecInt" "', argument " "1"" of type '" "OpenBabel::OBBitVec *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBitVec * >(argp1); { if (SWIG_ConvertPtr(ST(1),(void **) &v2, 
      SWIGTYPE_p_std__vectorT_int_t,1) != -1) { arg2 = v2; }  else if (SvROK(ST(1))) { AV *av = (AV *)SvRV(ST(1));
        if (SvTYPE(av) != SVt_PVAV) SWIG_croak("Type error in argument 2 of OBBitVec_FromVecInt. "
        "Expected an array of ""int"); SV **tv; I32 len = av_len(av) + 1; for (int i=0; i<len; i++) { tv = av_fetch(av, i, 0);
          if (SvIOK(*tv)) { temp2.push_back((int)SvIVX(*tv)); }  else { SWIG_croak("Type error in argument 2 of "
            "OBBitVec_FromVecInt. " "Expected an array of ""int"); }  }  arg2 = &temp2; }  else {
        SWIG_croak("Type error in argument 2 of OBBitVec_FromVecInt. " "Expected an array of ""int"); }  } 
    (arg1)->FromVecInt((std::vector< int > const &)*arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBBitVec_FromString) { { OpenBabel::OBBitVec *arg1 = (OpenBabel::OBBitVec *) 0 ; std::string *arg2 = 0 ; int arg3 ;
    void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int val3 ; int ecode3 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBBitVec_FromString(self,line,bits);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBitVec, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBitVec_FromString" "', argument " "1"" of type '" "OpenBabel::OBBitVec *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBitVec * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBBitVec_FromString" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBBitVec_FromString" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBBitVec_FromString" "', argument " "3"" of type '" "int""'"); }
      arg3 = static_cast< int >(val3); (arg1)->FromString((std::string const &)*arg2,arg3); ST(argvi) = sv_newmortal();
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap_OBBitVec_ToVecInt) { { OpenBabel::OBBitVec *arg1 = (OpenBabel::OBBitVec *) 0 ; std::vector< int > *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBBitVec_ToVecInt(self,bit_offsets);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBitVec, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBitVec_ToVecInt" "', argument " "1"" of type '" "OpenBabel::OBBitVec const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBitVec * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_int_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBBitVec_ToVecInt" "', argument " "2"" of type '" "std::vector< int > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBBitVec_ToVecInt" "', argument " "2"" of type '" "std::vector< int > &""'"); }
     arg2 = reinterpret_cast< std::vector< int > * >(argp2); ((OpenBabel::OBBitVec const *)arg1)->ToVecInt(*arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBitVec_Clear) { { OpenBabel::OBBitVec *arg1 = (OpenBabel::OBBitVec *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBitVec_Clear(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBitVec, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBitVec_Clear" "', argument " "1"" of type '" "OpenBabel::OBBitVec *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBitVec * >(argp1); (arg1)->Clear(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBBitVec_Negate) { { OpenBabel::OBBitVec *arg1 = (OpenBabel::OBBitVec *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBBitVec_Negate(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBitVec, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBitVec_Negate" "', argument " "1"" of type '" "OpenBabel::OBBitVec *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBitVec * >(argp1); (arg1)->Negate(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBBitVec_GetWords) { { OpenBabel::OBBitVec *arg1 = (OpenBabel::OBBitVec *) 0 ;
    OpenBabel::OBBitVec::word_vector *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBBitVec_GetWords(self,vec);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBitVec, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBitVec_GetWords" "', argument " "1"" of type '" "OpenBabel::OBBitVec *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBitVec * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_unsigned_int_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBBitVec_GetWords" "', argument " "2"" of type '" "OpenBabel::OBBitVec::word_vector &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBBitVec_GetWords" "', argument " "2"" of type '" "OpenBabel::OBBitVec::word_vector &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBitVec::word_vector * >(argp2); (arg1)->GetWords(*arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBitVec_add) { { OpenBabel::OBBitVec *arg1 = (OpenBabel::OBBitVec *) 0 ; OpenBabel::OBBitVec *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; int argvi = 0; OpenBabel::OBBitVec *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBBitVec_add(self,bv);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBitVec, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBitVec_add" "', argument " "1"" of type '" "OpenBabel::OBBitVec *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBitVec * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBBitVec,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBBitVec_add" "', argument " "2"" of type '" "OpenBabel::OBBitVec const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBBitVec_add" "', argument " "2"" of type '" "OpenBabel::OBBitVec const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBitVec * >(argp2);
    result = (OpenBabel::OBBitVec *) &(arg1)->operator +=((OpenBabel::OBBitVec const &)*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBitVec, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBBitVec_idx) { { OpenBabel::OBBitVec *arg1 = (OpenBabel::OBBitVec *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ;
    int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBBitVec_idx(self,bit_offset);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBitVec, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBitVec_idx" "', argument " "1"" of type '" "OpenBabel::OBBitVec const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBitVec * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBBitVec_idx" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); result = (bool)((OpenBabel::OBBitVec const *)arg1)->operator [](arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_delete_OBBitVec) { { OpenBabel::OBBitVec *arg1 = (OpenBabel::OBBitVec *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBBitVec(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBBitVec, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBBitVec" "', argument " "1"" of type '" "OpenBabel::OBBitVec *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBBitVec * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_Tanimoto) { { OpenBabel::OBBitVec *arg1 = 0 ; OpenBabel::OBBitVec *arg2 = 0 ; void *argp1 ; int res1 = 0 ;
    void *argp2 ; int res2 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: Tanimoto(bv1,bv2);"); }  res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBBitVec,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Tanimoto" "', argument " "1"" of type '" "OpenBabel::OBBitVec const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Tanimoto" "', argument " "1"" of type '" "OpenBabel::OBBitVec const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBBitVec * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBBitVec,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Tanimoto" "', argument " "2"" of type '" "OpenBabel::OBBitVec const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Tanimoto" "', argument " "2"" of type '" "OpenBabel::OBBitVec const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBitVec * >(argp2);
    result = (double)OpenBabel::Tanimoto((OpenBabel::OBBitVec const &)*arg1,(OpenBabel::OBBitVec const &)*arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_new_OBRotorRule) { { char *arg1 = (char *) 0 ; int *arg2 ; std::vector< double > *arg3 = 0 ; double arg4 ; int res1 ;
    char *buf1 = 0 ; int alloc1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; double val4 ;
    int ecode4 = 0 ; int argvi = 0; OpenBabel::OBRotorRule *result = 0 ; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: new_OBRotorRule(buffer,ref,vals,d);"); }  res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBRotorRule" "', argument " "1"" of type '" "char *""'"); } 
    arg1 = reinterpret_cast< char * >(buf1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_int, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_OBRotorRule" "', argument " "2"" of type '" "int [4]""'");  }
      arg2 = reinterpret_cast< int * >(argp2); res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_std__vectorT_double_t,  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_OBRotorRule" "', argument " "3"" of type '" "std::vector< double > &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBRotorRule" "', argument " "3"" of type '" "std::vector< double > &""'"); }
     arg3 = reinterpret_cast< std::vector< double > * >(argp3); ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_OBRotorRule" "', argument " "4"" of type '" "double""'"); }
      arg4 = static_cast< double >(val4); result = (OpenBabel::OBRotorRule *)new OpenBabel::OBRotorRule(arg1,arg2,*arg3,arg4);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBRotorRule, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    if (alloc1 == SWIG_NEWOBJ) delete[] buf1; XSRETURN(argvi); fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
    SWIG_croak_null(); }  }
XS(_wrap_delete_OBRotorRule) { { OpenBabel::OBRotorRule *arg1 = (OpenBabel::OBRotorRule *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBRotorRule(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorRule, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBRotorRule" "', argument " "1"" of type '" "OpenBabel::OBRotorRule *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorRule * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotorRule_IsValid) { { OpenBabel::OBRotorRule *arg1 = (OpenBabel::OBRotorRule *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBRotorRule_IsValid(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorRule, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotorRule_IsValid" "', argument " "1"" of type '" "OpenBabel::OBRotorRule *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorRule * >(argp1); result = (bool)(arg1)->IsValid();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotorRule_GetReferenceAtoms) { { OpenBabel::OBRotorRule *arg1 = (OpenBabel::OBRotorRule *) 0 ; int *arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBRotorRule_GetReferenceAtoms(self,ref);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorRule, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotorRule_GetReferenceAtoms" "', argument " "1"" of type '" "OpenBabel::OBRotorRule *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorRule * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_int, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotorRule_GetReferenceAtoms" "', argument " "2"" of type '" "int [4]""'");  }
      arg2 = reinterpret_cast< int * >(argp2); (arg1)->GetReferenceAtoms(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotorRule_SetDelta) { { OpenBabel::OBRotorRule *arg1 = (OpenBabel::OBRotorRule *) 0 ; double arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; double val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBRotorRule_SetDelta(self,d);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorRule, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotorRule_SetDelta" "', argument " "1"" of type '" "OpenBabel::OBRotorRule *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorRule * >(argp1); ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBRotorRule_SetDelta" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); (arg1)->SetDelta(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotorRule_GetDelta) { { OpenBabel::OBRotorRule *arg1 = (OpenBabel::OBRotorRule *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBRotorRule_GetDelta(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorRule, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotorRule_GetDelta" "', argument " "1"" of type '" "OpenBabel::OBRotorRule *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorRule * >(argp1); result = (double)(arg1)->GetDelta();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotorRule_GetTorsionVals) { { OpenBabel::OBRotorRule *arg1 = (OpenBabel::OBRotorRule *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::vector< double > *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBRotorRule_GetTorsionVals(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorRule, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotorRule_GetTorsionVals" "', argument " "1"" of type '" "OpenBabel::OBRotorRule *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorRule * >(argp1); result = (std::vector< double > *) &(arg1)->GetTorsionVals();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_t, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotorRule_GetSmartsString) { { OpenBabel::OBRotorRule *arg1 = (OpenBabel::OBRotorRule *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::string *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBRotorRule_GetSmartsString(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorRule, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotorRule_GetSmartsString" "', argument " "1"" of type '" "OpenBabel::OBRotorRule *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorRule * >(argp1); result = (std::string *) &(arg1)->GetSmartsString();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__string, 0 | 0); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotorRule_GetSmartsPattern) { { OpenBabel::OBRotorRule *arg1 = (OpenBabel::OBRotorRule *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBSmartsPattern *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBRotorRule_GetSmartsPattern(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorRule, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotorRule_GetSmartsPattern" "', argument " "1"" of type '" "OpenBabel::OBRotorRule *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorRule * >(argp1);
    result = (OpenBabel::OBSmartsPattern *)(arg1)->GetSmartsPattern();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBSmartsPattern, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBRotorRules) { { int argvi = 0; OpenBabel::OBRotorRules *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_OBRotorRules();"); }  result = (OpenBabel::OBRotorRules *)new OpenBabel::OBRotorRules();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBRotorRules, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBRotorRules) { { OpenBabel::OBRotorRules *arg1 = (OpenBabel::OBRotorRules *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBRotorRules(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorRules, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBRotorRules" "', argument " "1"" of type '" "OpenBabel::OBRotorRules *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorRules * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotorRules_SetFilename) { { OpenBabel::OBRotorRules *arg1 = (OpenBabel::OBRotorRules *) 0 ; std::string *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBRotorRules_SetFilename(self,s);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorRules, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotorRules_SetFilename" "', argument " "1"" of type '" "OpenBabel::OBRotorRules *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorRules * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__string,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotorRules_SetFilename" "', argument " "2"" of type '" "std::string &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRotorRules_SetFilename" "', argument " "2"" of type '" "std::string &""'"); }
     arg2 = reinterpret_cast< std::string * >(argp2); (arg1)->SetFilename(*arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotorRules_GetRotorIncrements) { { OpenBabel::OBRotorRules *arg1 = (OpenBabel::OBRotorRules *) 0 ;
    OpenBabel::OBMol *arg2 = 0 ; OpenBabel::OBBond *arg3 = (OpenBabel::OBBond *) 0 ; int *arg4 ;
    std::vector< double > *arg5 = 0 ; double *arg6 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; void *argp5 = 0 ; int res5 = 0 ; void *argp6 = 0 ;
    int res6 = 0 ; int argvi = 0; dXSARGS; if ((items < 6) || (items > 6)) {
      SWIG_croak("Usage: OBRotorRules_GetRotorIncrements(self,mol,bond,refs,vals,delta);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorRules, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotorRules_GetRotorIncrements" "', argument " "1"" of type '" "OpenBabel::OBRotorRules *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorRules * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotorRules_GetRotorIncrements" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRotorRules_GetRotorIncrements" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBRotorRules_GetRotorIncrements" "', argument " "3"" of type '" "OpenBabel::OBBond *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBBond * >(argp3); res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_int, 0 |  0 );
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBRotorRules_GetRotorIncrements" "', argument " "4"" of type '" "int [4]""'");  }
      arg4 = reinterpret_cast< int * >(argp4); res5 = SWIG_ConvertPtr(ST(4), &argp5, SWIGTYPE_p_std__vectorT_double_t,  0 );
    if (!SWIG_IsOK(res5)) {
      SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "OBRotorRules_GetRotorIncrements" "', argument " "5"" of type '" "std::vector< double > &""'");  }
     if (!argp5) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRotorRules_GetRotorIncrements" "', argument " "5"" of type '" "std::vector< double > &""'"); }
     arg5 = reinterpret_cast< std::vector< double > * >(argp5); res6 = SWIG_ConvertPtr(ST(5), &argp6, SWIGTYPE_p_double,  0 );
    if (!SWIG_IsOK(res6)) {
      SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "OBRotorRules_GetRotorIncrements" "', argument " "6"" of type '" "double &""'");  }
     if (!argp6) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRotorRules_GetRotorIncrements" "', argument " "6"" of type '" "double &""'"); }
     arg6 = reinterpret_cast< double * >(argp6); (arg1)->GetRotorIncrements(*arg2,arg3,arg4,*arg5,*arg6);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotorRules_Quiet) { { OpenBabel::OBRotorRules *arg1 = (OpenBabel::OBRotorRules *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBRotorRules_Quiet(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorRules, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotorRules_Quiet" "', argument " "1"" of type '" "OpenBabel::OBRotorRules *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorRules * >(argp1); (arg1)->Quiet(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBRotor) { { int argvi = 0; OpenBabel::OBRotor *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_OBRotor();"); }  result = (OpenBabel::OBRotor *)new OpenBabel::OBRotor();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBRotor, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBRotor) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBRotor(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBRotor" "', argument " "1"" of type '" "OpenBabel::OBRotor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotor_SetBond) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ;
    OpenBabel::OBBond *arg2 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBRotor_SetBond(self,bond);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotor_SetBond" "', argument " "1"" of type '" "OpenBabel::OBRotor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotor_SetBond" "', argument " "2"" of type '" "OpenBabel::OBBond *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBond * >(argp2); (arg1)->SetBond(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotor_SetIdx) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ;
    int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBRotor_SetIdx(self,idx);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotor_SetIdx" "', argument " "1"" of type '" "OpenBabel::OBRotor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBRotor_SetIdx" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); (arg1)->SetIdx(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotor_SetDihedralAtoms__SWIG_0) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ;
    std::vector< int > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBRotor_SetDihedralAtoms(self,ref);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotor_SetDihedralAtoms" "', argument " "1"" of type '" "OpenBabel::OBRotor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_int_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotor_SetDihedralAtoms" "', argument " "2"" of type '" "std::vector< int > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRotor_SetDihedralAtoms" "', argument " "2"" of type '" "std::vector< int > &""'"); }
     arg2 = reinterpret_cast< std::vector< int > * >(argp2); (arg1)->SetDihedralAtoms(*arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotor_SetDihedralAtoms__SWIG_1) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ; int *arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBRotor_SetDihedralAtoms(self,ref);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotor_SetDihedralAtoms" "', argument " "1"" of type '" "OpenBabel::OBRotor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_int, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotor_SetDihedralAtoms" "', argument " "2"" of type '" "int [4]""'");  }
      arg2 = reinterpret_cast< int * >(argp2); (arg1)->SetDihedralAtoms(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotor_SetDihedralAtoms) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBRotor, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_std__vectorT_int_t, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBRotor, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_int, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBRotor_SetDihedralAtoms__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBRotor_SetDihedralAtoms__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBRotor_SetDihedralAtoms'"); XSRETURN(0); }
XS(_wrap_OBRotor_SetRotAtoms) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ; std::vector< int > *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBRotor_SetRotAtoms(self,atoms);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotor_SetRotAtoms" "', argument " "1"" of type '" "OpenBabel::OBRotor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_int_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotor_SetRotAtoms" "', argument " "2"" of type '" "std::vector< int > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRotor_SetRotAtoms" "', argument " "2"" of type '" "std::vector< int > &""'"); }
     arg2 = reinterpret_cast< std::vector< int > * >(argp2); (arg1)->SetRotAtoms(*arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotor_SetTorsionValues) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ; std::vector< double > *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBRotor_SetTorsionValues(self,angles);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotor_SetTorsionValues" "', argument " "1"" of type '" "OpenBabel::OBRotor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_double_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotor_SetTorsionValues" "', argument " "2"" of type '" "std::vector< double > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRotor_SetTorsionValues" "', argument " "2"" of type '" "std::vector< double > &""'"); }
     arg2 = reinterpret_cast< std::vector< double > * >(argp2); (arg1)->SetTorsionValues(*arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotor_SetFixedBonds) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ; OpenBabel::OBBitVec *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBRotor_SetFixedBonds(self,bv);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotor_SetFixedBonds" "', argument " "1"" of type '" "OpenBabel::OBRotor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBBitVec,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotor_SetFixedBonds" "', argument " "2"" of type '" "OpenBabel::OBBitVec &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRotor_SetFixedBonds" "', argument " "2"" of type '" "OpenBabel::OBBitVec &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBitVec * >(argp2); (arg1)->SetFixedBonds(*arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotor_SetToAngle) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ; double *arg2 = (double *) 0 ;
    double arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; double val3 ; int ecode3 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBRotor_SetToAngle(self,coordinates,setang);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotor_SetToAngle" "', argument " "1"" of type '" "OpenBabel::OBRotor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotor_SetToAngle" "', argument " "2"" of type '" "double *""'");  }
     arg2 = reinterpret_cast< double * >(argp2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBRotor_SetToAngle" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); (arg1)->SetToAngle(arg2,arg3); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotor_SetRotor__SWIG_0) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ; double *arg2 = (double *) 0 ;
    int arg3 ; int arg4 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ;
    int val4 ; int ecode4 = 0 ; int argvi = 0; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: OBRotor_SetRotor(self,coordinates,next,prev);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotor_SetRotor" "', argument " "1"" of type '" "OpenBabel::OBRotor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotor_SetRotor" "', argument " "2"" of type '" "double *""'");  }
     arg2 = reinterpret_cast< double * >(argp2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBRotor_SetRotor" "', argument " "3"" of type '" "int""'"); }  
    arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4); if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBRotor_SetRotor" "', argument " "4"" of type '" "int""'"); }  
    arg4 = static_cast< int >(val4); (arg1)->SetRotor(arg2,arg3,arg4); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotor_SetRotor__SWIG_1) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ; double *arg2 = (double *) 0 ;
    int arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBRotor_SetRotor(self,coordinates,next);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotor_SetRotor" "', argument " "1"" of type '" "OpenBabel::OBRotor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotor_SetRotor" "', argument " "2"" of type '" "double *""'");  }
     arg2 = reinterpret_cast< double * >(argp2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBRotor_SetRotor" "', argument " "3"" of type '" "int""'"); }  
    arg3 = static_cast< int >(val3); (arg1)->SetRotor(arg2,arg3); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotor_SetRotor) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBRotor, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1:
    if (items == 4) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBRotor, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBRotor_SetRotor__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBRotor_SetRotor__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBRotor_SetRotor'"); XSRETURN(0); }
XS(_wrap_OBRotor_Set__SWIG_0) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ; double *arg2 = (double *) 0 ;
    double arg3 ; double arg4 ; double arg5 ; double arg6 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    double val3 ; int ecode3 = 0 ; double val4 ; int ecode4 = 0 ; double val5 ; int ecode5 = 0 ; double val6 ; int ecode6 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 6) || (items > 6)) {
      SWIG_croak("Usage: OBRotor_Set(self,coordinates,sine,cosine,translation,invmag);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotor_Set" "', argument " "1"" of type '" "OpenBabel::OBRotor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotor_Set" "', argument " "2"" of type '" "double *""'");  } 
    arg2 = reinterpret_cast< double * >(argp2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBRotor_Set" "', argument " "3"" of type '" "double""'"); }  
    arg3 = static_cast< double >(val3); ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBRotor_Set" "', argument " "4"" of type '" "double""'"); }  
    arg4 = static_cast< double >(val4); ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "OBRotor_Set" "', argument " "5"" of type '" "double""'"); }  
    arg5 = static_cast< double >(val5); ecode6 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(5), &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "OBRotor_Set" "', argument " "6"" of type '" "double""'"); }  
    arg6 = static_cast< double >(val6); (arg1)->Set(arg2,arg3,arg4,arg5,arg6); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotor_Precompute) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ; double *arg2 = (double *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBRotor_Precompute(self,coordinates);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotor_Precompute" "', argument " "1"" of type '" "OpenBabel::OBRotor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotor_Precompute" "', argument " "2"" of type '" "double *""'");  }
     arg2 = reinterpret_cast< double * >(argp2); (arg1)->Precompute(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotor_Set__SWIG_1) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ; double *arg2 = (double *) 0 ; int arg3 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: OBRotor_Set(self,coordinates,idx);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotor_Set" "', argument " "1"" of type '" "OpenBabel::OBRotor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotor_Set" "', argument " "2"" of type '" "double *""'");  } 
    arg2 = reinterpret_cast< double * >(argp2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBRotor_Set" "', argument " "3"" of type '" "int""'"); }  
    arg3 = static_cast< int >(val3); (arg1)->Set(arg2,arg3); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotor_Precalc) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ; std::vector< double * > *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBRotor_Precalc(self,conformers);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotor_Precalc" "', argument " "1"" of type '" "OpenBabel::OBRotor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_double_p_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotor_Precalc" "', argument " "2"" of type '" "std::vector< double * > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRotor_Precalc" "', argument " "2"" of type '" "std::vector< double * > &""'"); }
     arg2 = reinterpret_cast< std::vector< double * > * >(argp2); (arg1)->Precalc(*arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotor_Set__SWIG_2) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ; double *arg2 = (double *) 0 ; int arg3 ;
    int arg4 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ;
    int ecode4 = 0 ; int argvi = 0; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: OBRotor_Set(self,coordinates,conformer,idx);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotor_Set" "', argument " "1"" of type '" "OpenBabel::OBRotor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotor_Set" "', argument " "2"" of type '" "double *""'");  } 
    arg2 = reinterpret_cast< double * >(argp2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBRotor_Set" "', argument " "3"" of type '" "int""'"); }  
    arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4); if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBRotor_Set" "', argument " "4"" of type '" "int""'"); }  
    arg4 = static_cast< int >(val4); (arg1)->Set(arg2,arg3,arg4); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotor_Set) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBRotor, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1:
    if (items == 4) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBRotor, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 6) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBRotor, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(5), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBRotor_Set__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBRotor_Set__SWIG_2); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBRotor_Set__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBRotor_Set'"); XSRETURN(0); }
XS(_wrap_OBRotor_GetBond) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBBond *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBRotor_GetBond(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotor_GetBond" "', argument " "1"" of type '" "OpenBabel::OBRotor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1); result = (OpenBabel::OBBond *)(arg1)->GetBond();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBond, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotor_Size) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    size_t result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBRotor_Size(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotor_Size" "', argument " "1"" of type '" "OpenBabel::OBRotor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1); result = (arg1)->Size();
    ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1(static_cast< size_t >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotor_GetIdx) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBRotor_GetIdx(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotor_GetIdx" "', argument " "1"" of type '" "OpenBabel::OBRotor const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1); result = (int)((OpenBabel::OBRotor const *)arg1)->GetIdx();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotor_GetDihedralAtoms__SWIG_0) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ; int *arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBRotor_GetDihedralAtoms(self,ref);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotor_GetDihedralAtoms" "', argument " "1"" of type '" "OpenBabel::OBRotor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_int, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotor_GetDihedralAtoms" "', argument " "2"" of type '" "int [4]""'");  }
      arg2 = reinterpret_cast< int * >(argp2); (arg1)->GetDihedralAtoms(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotor_GetDihedralAtoms__SWIG_1) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::vector< int > *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBRotor_GetDihedralAtoms(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotor_GetDihedralAtoms" "', argument " "1"" of type '" "OpenBabel::OBRotor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1); result = (std::vector< int > *) &(arg1)->GetDihedralAtoms();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_t, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotor_GetDihedralAtoms) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBRotor, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBRotor, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_int, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBRotor_GetDihedralAtoms__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBRotor_GetDihedralAtoms__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBRotor_GetDihedralAtoms'"); XSRETURN(0); }
XS(_wrap_OBRotor_GetRotAtoms__SWIG_0) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; std::vector< int > *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBRotor_GetRotAtoms(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotor_GetRotAtoms" "', argument " "1"" of type '" "OpenBabel::OBRotor const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1);
    result = (std::vector< int > *) &((OpenBabel::OBRotor const *)arg1)->GetRotAtoms();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_t, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotor_GetTorsionValues) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; std::vector< double > *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBRotor_GetTorsionValues(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotor_GetTorsionValues" "', argument " "1"" of type '" "OpenBabel::OBRotor const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1);
    result = (std::vector< double > *) &((OpenBabel::OBRotor const *)arg1)->GetTorsionValues();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_t, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotor_GetFixedBonds) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBBitVec *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBRotor_GetFixedBonds(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotor_GetFixedBonds" "', argument " "1"" of type '" "OpenBabel::OBRotor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1); result = (OpenBabel::OBBitVec *) &(arg1)->GetFixedBonds();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBitVec, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotor_CalcTorsion) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ; double *arg2 = (double *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBRotor_CalcTorsion(self,coordinates);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotor_CalcTorsion" "', argument " "1"" of type '" "OpenBabel::OBRotor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotor_CalcTorsion" "', argument " "2"" of type '" "double *""'");  }
     arg2 = reinterpret_cast< double * >(argp2); result = (double)(arg1)->CalcTorsion(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotor_CalcBondLength) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ; double *arg2 = (double *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBRotor_CalcBondLength(self,coordinates);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotor_CalcBondLength" "', argument " "1"" of type '" "OpenBabel::OBRotor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1); res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotor_CalcBondLength" "', argument " "2"" of type '" "double *""'");  }
     arg2 = reinterpret_cast< double * >(argp2); result = (double)(arg1)->CalcBondLength(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotor_BeginTorIncrement) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; SwigValueWrapper< std::vector< double >::iterator > result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBRotor_BeginTorIncrement(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotor_BeginTorIncrement" "', argument " "1"" of type '" "OpenBabel::OBRotor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1); result = (arg1)->BeginTorIncrement();
    ST(argvi) = SWIG_NewPointerObj((new std::vector< double >::iterator(static_cast< const std::vector< double >::iterator& >(result))), SWIGTYPE_p_std__vectorT_double_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotor_EndTorIncrement) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; SwigValueWrapper< std::vector< double >::iterator > result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBRotor_EndTorIncrement(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotor_EndTorIncrement" "', argument " "1"" of type '" "OpenBabel::OBRotor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1); result = (arg1)->EndTorIncrement();
    ST(argvi) = SWIG_NewPointerObj((new std::vector< double >::iterator(static_cast< const std::vector< double >::iterator& >(result))), SWIGTYPE_p_std__vectorT_double_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotor_RemoveSymTorsionValues) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ; int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBRotor_RemoveSymTorsionValues(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotor_RemoveSymTorsionValues" "', argument " "1"" of type '" "OpenBabel::OBRotor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBRotor_RemoveSymTorsionValues" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (arg1)->RemoveSymTorsionValues(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotor_SetDelta) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ; double arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; double val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBRotor_SetDelta(self,d);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotor_SetDelta" "', argument " "1"" of type '" "OpenBabel::OBRotor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1); ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBRotor_SetDelta" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); (arg1)->SetDelta(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotor_GetDelta) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBRotor_GetDelta(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotor_GetDelta" "', argument " "1"" of type '" "OpenBabel::OBRotor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1); result = (double)(arg1)->GetDelta();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotor_GetFixedAtoms) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBBitVec *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBRotor_GetFixedAtoms(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotor_GetFixedAtoms" "', argument " "1"" of type '" "OpenBabel::OBRotor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1); result = (OpenBabel::OBBitVec *) &(arg1)->GetFixedAtoms();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBitVec, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotor_SetFixedAtoms) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ; OpenBabel::OBBitVec *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBRotor_SetFixedAtoms(self,bv);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotor_SetFixedAtoms" "', argument " "1"" of type '" "OpenBabel::OBRotor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBBitVec,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotor_SetFixedAtoms" "', argument " "2"" of type '" "OpenBabel::OBBitVec &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRotor_SetFixedAtoms" "', argument " "2"" of type '" "OpenBabel::OBBitVec &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBitVec * >(argp2); (arg1)->SetFixedAtoms(*arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotor_GetEvalAtoms) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBBitVec *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBRotor_GetEvalAtoms(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotor_GetEvalAtoms" "', argument " "1"" of type '" "OpenBabel::OBRotor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1); result = (OpenBabel::OBBitVec *) &(arg1)->GetEvalAtoms();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBitVec, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotor_SetEvalAtoms) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ; OpenBabel::OBBitVec *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBRotor_SetEvalAtoms(self,bv);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotor_SetEvalAtoms" "', argument " "1"" of type '" "OpenBabel::OBRotor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBBitVec,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotor_SetEvalAtoms" "', argument " "2"" of type '" "OpenBabel::OBBitVec &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRotor_SetEvalAtoms" "', argument " "2"" of type '" "OpenBabel::OBBitVec &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBitVec * >(argp2); (arg1)->SetEvalAtoms(*arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotor_GetRotAtoms__SWIG_1) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; void *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBRotor_GetRotAtoms(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotor_GetRotAtoms" "', argument " "1"" of type '" "OpenBabel::OBRotor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1); result = (void *)(arg1)->GetRotAtoms();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotor_GetRotAtoms) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBRotor, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBRotor, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBRotor_GetRotAtoms__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBRotor_GetRotAtoms__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBRotor_GetRotAtoms'"); XSRETURN(0); }
XS(_wrap_OBRotor_GetResolution) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; std::vector< double > *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBRotor_GetResolution(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotor_GetResolution" "', argument " "1"" of type '" "OpenBabel::OBRotor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1); result = (std::vector< double > *) &(arg1)->GetResolution();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_t, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotor_SetNumCoords) { { OpenBabel::OBRotor *arg1 = (OpenBabel::OBRotor *) 0 ; int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBRotor_SetNumCoords(self,nc);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotor_SetNumCoords" "', argument " "1"" of type '" "OpenBabel::OBRotor *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotor * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBRotor_SetNumCoords" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (arg1)->SetNumCoords(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_new_OBRotorList) { { int argvi = 0; OpenBabel::OBRotorList *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_OBRotorList();"); }  result = (OpenBabel::OBRotorList *)new OpenBabel::OBRotorList();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBRotorList, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBRotorList) { { OpenBabel::OBRotorList *arg1 = (OpenBabel::OBRotorList *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBRotorList(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorList, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBRotorList" "', argument " "1"" of type '" "OpenBabel::OBRotorList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorList * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotorList_Clear) { { OpenBabel::OBRotorList *arg1 = (OpenBabel::OBRotorList *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBRotorList_Clear(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotorList_Clear" "', argument " "1"" of type '" "OpenBabel::OBRotorList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorList * >(argp1); (arg1)->Clear(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotorList_Size) { { OpenBabel::OBRotorList *arg1 = (OpenBabel::OBRotorList *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; size_t result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBRotorList_Size(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotorList_Size" "', argument " "1"" of type '" "OpenBabel::OBRotorList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorList * >(argp1); result = (arg1)->Size();
    ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1(static_cast< size_t >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotorList_IsFixedBond) { { OpenBabel::OBRotorList *arg1 = (OpenBabel::OBRotorList *) 0 ;
    OpenBabel::OBBond *arg2 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBRotorList_IsFixedBond(self,OpenBabel::OBBond *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotorList_IsFixedBond" "', argument " "1"" of type '" "OpenBabel::OBRotorList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorList * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotorList_IsFixedBond" "', argument " "2"" of type '" "OpenBabel::OBBond *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBond * >(argp2); result = (bool)(arg1)->IsFixedBond(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotorList_HasFixedBonds) { { OpenBabel::OBRotorList *arg1 = (OpenBabel::OBRotorList *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBRotorList_HasFixedBonds(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotorList_HasFixedBonds" "', argument " "1"" of type '" "OpenBabel::OBRotorList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorList * >(argp1); result = (bool)(arg1)->HasFixedBonds();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotorList_RemoveSymVals) { { OpenBabel::OBRotorList *arg1 = (OpenBabel::OBRotorList *) 0 ;
    OpenBabel::OBMol *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBRotorList_RemoveSymVals(self,OpenBabel::OBMol &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotorList_RemoveSymVals" "', argument " "1"" of type '" "OpenBabel::OBRotorList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorList * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotorList_RemoveSymVals" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRotorList_RemoveSymVals" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); (arg1)->RemoveSymVals(*arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotorList_Setup) { { OpenBabel::OBRotorList *arg1 = (OpenBabel::OBRotorList *) 0 ; OpenBabel::OBMol *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBRotorList_Setup(self,mol);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotorList_Setup" "', argument " "1"" of type '" "OpenBabel::OBRotorList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorList * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotorList_Setup" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRotorList_Setup" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); result = (bool)(arg1)->Setup(*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotorList_SetFixedBonds) { { OpenBabel::OBRotorList *arg1 = (OpenBabel::OBRotorList *) 0 ;
    OpenBabel::OBBitVec *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBRotorList_SetFixedBonds(self,fix);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotorList_SetFixedBonds" "', argument " "1"" of type '" "OpenBabel::OBRotorList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorList * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBBitVec,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotorList_SetFixedBonds" "', argument " "2"" of type '" "OpenBabel::OBBitVec &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRotorList_SetFixedBonds" "', argument " "2"" of type '" "OpenBabel::OBBitVec &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBitVec * >(argp2); (arg1)->SetFixedBonds(*arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotorList_Init) { { OpenBabel::OBRotorList *arg1 = (OpenBabel::OBRotorList *) 0 ; std::string *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBRotorList_Init(self,fname);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotorList_Init" "', argument " "1"" of type '" "OpenBabel::OBRotorList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorList * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__string,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotorList_Init" "', argument " "2"" of type '" "std::string &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRotorList_Init" "', argument " "2"" of type '" "std::string &""'"); }
     arg2 = reinterpret_cast< std::string * >(argp2); (arg1)->Init(*arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotorList_SetQuiet) { { OpenBabel::OBRotorList *arg1 = (OpenBabel::OBRotorList *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBRotorList_SetQuiet(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotorList_SetQuiet" "', argument " "1"" of type '" "OpenBabel::OBRotorList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorList * >(argp1); (arg1)->SetQuiet(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotorList_SetRotAtoms) { { OpenBabel::OBRotorList *arg1 = (OpenBabel::OBRotorList *) 0 ; OpenBabel::OBMol *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBRotorList_SetRotAtoms(self,OpenBabel::OBMol &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotorList_SetRotAtoms" "', argument " "1"" of type '" "OpenBabel::OBRotorList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorList * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotorList_SetRotAtoms" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRotorList_SetRotAtoms" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); result = (bool)(arg1)->SetRotAtoms(*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotorList_FindRotors) { { OpenBabel::OBRotorList *arg1 = (OpenBabel::OBRotorList *) 0 ; OpenBabel::OBMol *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBRotorList_FindRotors(self,mol);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotorList_FindRotors" "', argument " "1"" of type '" "OpenBabel::OBRotorList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorList * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotorList_FindRotors" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRotorList_FindRotors" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); result = (bool)(arg1)->FindRotors(*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotorList_SetEvalAtoms) { { OpenBabel::OBRotorList *arg1 = (OpenBabel::OBRotorList *) 0 ;
    OpenBabel::OBMol *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBRotorList_SetEvalAtoms(self,OpenBabel::OBMol &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotorList_SetEvalAtoms" "', argument " "1"" of type '" "OpenBabel::OBRotorList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorList * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotorList_SetEvalAtoms" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRotorList_SetEvalAtoms" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); result = (bool)(arg1)->SetEvalAtoms(*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotorList_AssignTorVals) { { OpenBabel::OBRotorList *arg1 = (OpenBabel::OBRotorList *) 0 ;
    OpenBabel::OBMol *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBRotorList_AssignTorVals(self,OpenBabel::OBMol &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotorList_AssignTorVals" "', argument " "1"" of type '" "OpenBabel::OBRotorList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorList * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotorList_AssignTorVals" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRotorList_AssignTorVals" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); result = (bool)(arg1)->AssignTorVals(*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotorList_BeginRotor) { { OpenBabel::OBRotorList *arg1 = (OpenBabel::OBRotorList *) 0 ;
    OpenBabel::OBRotorIterator *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    OpenBabel::OBRotor *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBRotorList_BeginRotor(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotorList_BeginRotor" "', argument " "1"" of type '" "OpenBabel::OBRotorList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorList * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBRotor_p_t__iterator,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotorList_BeginRotor" "', argument " "2"" of type '" "OpenBabel::OBRotorIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRotorList_BeginRotor" "', argument " "2"" of type '" "OpenBabel::OBRotorIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBRotorIterator * >(argp2); result = (OpenBabel::OBRotor *)(arg1)->BeginRotor(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBRotor, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotorList_NextRotor) { { OpenBabel::OBRotorList *arg1 = (OpenBabel::OBRotorList *) 0 ;
    OpenBabel::OBRotorIterator *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    OpenBabel::OBRotor *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBRotorList_NextRotor(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotorList_NextRotor" "', argument " "1"" of type '" "OpenBabel::OBRotorList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorList * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBRotor_p_t__iterator,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotorList_NextRotor" "', argument " "2"" of type '" "OpenBabel::OBRotorIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRotorList_NextRotor" "', argument " "2"" of type '" "OpenBabel::OBRotorIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBRotorIterator * >(argp2); result = (OpenBabel::OBRotor *)(arg1)->NextRotor(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBRotor, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotorList_BeginRotors) { { OpenBabel::OBRotorList *arg1 = (OpenBabel::OBRotorList *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBRotor * >::iterator > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBRotorList_BeginRotors(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotorList_BeginRotors" "', argument " "1"" of type '" "OpenBabel::OBRotorList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorList * >(argp1); result = (arg1)->BeginRotors();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBRotorIterator(static_cast< const OpenBabel::OBRotorIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBRotor_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotorList_EndRotors) { { OpenBabel::OBRotorList *arg1 = (OpenBabel::OBRotorList *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBRotor * >::iterator > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBRotorList_EndRotors(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotorList_EndRotors" "', argument " "1"" of type '" "OpenBabel::OBRotorList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorList * >(argp1); result = (arg1)->EndRotors();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBRotorIterator(static_cast< const OpenBabel::OBRotorIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBRotor_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotorList_IdentifyEvalAtoms) { { OpenBabel::OBRotorList *arg1 = (OpenBabel::OBRotorList *) 0 ;
    OpenBabel::OBMol *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBRotorList_IdentifyEvalAtoms(self,mol);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotorList_IdentifyEvalAtoms" "', argument " "1"" of type '" "OpenBabel::OBRotorList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorList * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotorList_IdentifyEvalAtoms" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRotorList_IdentifyEvalAtoms" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); result = (bool)(arg1)->IdentifyEvalAtoms(*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotorList_SetFixAtoms) { { OpenBabel::OBRotorList *arg1 = (OpenBabel::OBRotorList *) 0 ;
    OpenBabel::OBBitVec *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBRotorList_SetFixAtoms(self,fix);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotorList_SetFixAtoms" "', argument " "1"" of type '" "OpenBabel::OBRotorList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorList * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBBitVec,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotorList_SetFixAtoms" "', argument " "2"" of type '" "OpenBabel::OBBitVec &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRotorList_SetFixAtoms" "', argument " "2"" of type '" "OpenBabel::OBBitVec &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBitVec * >(argp2); (arg1)->SetFixAtoms(*arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotorList_HasFixedAtoms) { { OpenBabel::OBRotorList *arg1 = (OpenBabel::OBRotorList *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBRotorList_HasFixedAtoms(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotorList_HasFixedAtoms" "', argument " "1"" of type '" "OpenBabel::OBRotorList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorList * >(argp1); result = (bool)(arg1)->HasFixedAtoms();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotorList_IgnoreSymmetryRemoval) { { OpenBabel::OBRotorList *arg1 = (OpenBabel::OBRotorList *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBRotorList_IgnoreSymmetryRemoval(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotorList_IgnoreSymmetryRemoval" "', argument " "1"" of type '" "OpenBabel::OBRotorList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorList * >(argp1); (arg1)->IgnoreSymmetryRemoval(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotorList_SetRotAtomsByFix) { { OpenBabel::OBRotorList *arg1 = (OpenBabel::OBRotorList *) 0 ;
    OpenBabel::OBMol *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBRotorList_SetRotAtomsByFix(self,OpenBabel::OBMol &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotorList_SetRotAtomsByFix" "', argument " "1"" of type '" "OpenBabel::OBRotorList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorList * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotorList_SetRotAtomsByFix" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRotorList_SetRotAtomsByFix" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); (arg1)->SetRotAtomsByFix(*arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_rotor_digit__SWIG_0) { { unsigned int arg1 ; unsigned int val1 ; int ecode1 = 0 ; int argvi = 0;
    OpenBabel::rotor_digit *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: new_rotor_digit(rs);"); }
     ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1); if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_rotor_digit" "', argument " "1"" of type '" "unsigned int""'"); }
      arg1 = static_cast< unsigned int >(val1); result = (OpenBabel::rotor_digit *)new OpenBabel::rotor_digit(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__rotor_digit, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_rotor_digit__SWIG_1) { { int argvi = 0; OpenBabel::rotor_digit *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_rotor_digit();"); } 
    result = (OpenBabel::rotor_digit *)new OpenBabel::rotor_digit();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__rotor_digit, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_rotor_digit) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { { int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    dispatch: switch(_index) { case 1: ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_rotor_digit__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_rotor_digit__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'new_rotor_digit'"); XSRETURN(0); }
XS(_wrap_rotor_digit_set_size) { { OpenBabel::rotor_digit *arg1 = (OpenBabel::rotor_digit *) 0 ; unsigned int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: rotor_digit_set_size(self,rs);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__rotor_digit, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rotor_digit_set_size" "', argument " "1"" of type '" "OpenBabel::rotor_digit *""'");  }
     arg1 = reinterpret_cast< OpenBabel::rotor_digit * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "rotor_digit_set_size" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); (arg1)->set_size(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_rotor_digit_set_state) { { OpenBabel::rotor_digit *arg1 = (OpenBabel::rotor_digit *) 0 ; int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: rotor_digit_set_state(self,st);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__rotor_digit, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rotor_digit_set_state" "', argument " "1"" of type '" "OpenBabel::rotor_digit *""'");  }
     arg1 = reinterpret_cast< OpenBabel::rotor_digit * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "rotor_digit_set_state" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (arg1)->set_state(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_rotor_digit_get_state) { { OpenBabel::rotor_digit *arg1 = (OpenBabel::rotor_digit *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: rotor_digit_get_state(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__rotor_digit, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rotor_digit_get_state" "', argument " "1"" of type '" "OpenBabel::rotor_digit *""'");  }
     arg1 = reinterpret_cast< OpenBabel::rotor_digit * >(argp1); result = (int)(arg1)->get_state();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_rotor_digit_size) { { OpenBabel::rotor_digit *arg1 = (OpenBabel::rotor_digit *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: rotor_digit_size(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__rotor_digit, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rotor_digit_size" "', argument " "1"" of type '" "OpenBabel::rotor_digit *""'");  }
     arg1 = reinterpret_cast< OpenBabel::rotor_digit * >(argp1); result = (unsigned int)(arg1)->size();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_rotor_digit__next) { { OpenBabel::rotor_digit *arg1 = (OpenBabel::rotor_digit *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: rotor_digit__next(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__rotor_digit, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rotor_digit__next" "', argument " "1"" of type '" "OpenBabel::rotor_digit *""'");  }
     arg1 = reinterpret_cast< OpenBabel::rotor_digit * >(argp1); result = (bool)(arg1)->next();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_delete_rotor_digit) { { OpenBabel::rotor_digit *arg1 = (OpenBabel::rotor_digit *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_rotor_digit(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__rotor_digit, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_rotor_digit" "', argument " "1"" of type '" "OpenBabel::rotor_digit *""'");  }
     arg1 = reinterpret_cast< OpenBabel::rotor_digit * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_new_OBRotorKeys) { { int argvi = 0; OpenBabel::OBRotorKeys *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_OBRotorKeys();"); }  result = (OpenBabel::OBRotorKeys *)new OpenBabel::OBRotorKeys();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBRotorKeys, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotorKeys_Clear) { { OpenBabel::OBRotorKeys *arg1 = (OpenBabel::OBRotorKeys *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBRotorKeys_Clear(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorKeys, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotorKeys_Clear" "', argument " "1"" of type '" "OpenBabel::OBRotorKeys *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorKeys * >(argp1); (arg1)->Clear(); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotorKeys_NumKeys) { { OpenBabel::OBRotorKeys *arg1 = (OpenBabel::OBRotorKeys *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBRotorKeys_NumKeys(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorKeys, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotorKeys_NumKeys" "', argument " "1"" of type '" "OpenBabel::OBRotorKeys *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorKeys * >(argp1); result = (unsigned int)(arg1)->NumKeys();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotorKeys_AddRotor) { { OpenBabel::OBRotorKeys *arg1 = (OpenBabel::OBRotorKeys *) 0 ; unsigned int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBRotorKeys_AddRotor(self,size);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorKeys, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotorKeys_AddRotor" "', argument " "1"" of type '" "OpenBabel::OBRotorKeys *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorKeys * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBRotorKeys_AddRotor" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); (arg1)->AddRotor(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotorKeys_Next) { { OpenBabel::OBRotorKeys *arg1 = (OpenBabel::OBRotorKeys *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBRotorKeys_Next(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorKeys, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotorKeys_Next" "', argument " "1"" of type '" "OpenBabel::OBRotorKeys *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorKeys * >(argp1); result = (bool)(arg1)->Next();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotorKeys_GetKey) { { OpenBabel::OBRotorKeys *arg1 = (OpenBabel::OBRotorKeys *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; std::vector< int > result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBRotorKeys_GetKey(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorKeys, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotorKeys_GetKey" "', argument " "1"" of type '" "OpenBabel::OBRotorKeys *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorKeys * >(argp1); result = (arg1)->GetKey(); { size_t len = (&result)->size();
      SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) { svs[i] = sv_newmortal(); sv_setiv(svs[i], result[i]); } 
      AV *myav = av_make(len, svs); delete[] svs; ST(argvi) = newRV_noinc((SV*) myav); sv_2mortal(ST(argvi)); argvi++; } 
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBRotorKeys) { { OpenBabel::OBRotorKeys *arg1 = (OpenBabel::OBRotorKeys *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBRotorKeys(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotorKeys, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBRotorKeys" "', argument " "1"" of type '" "OpenBabel::OBRotorKeys *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotorKeys * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_new_OBRotamerList) { { int argvi = 0; OpenBabel::OBRotamerList *result = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: new_OBRotamerList();"); }  result = (OpenBabel::OBRotamerList *)new OpenBabel::OBRotamerList();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBRotamerList, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_delete_OBRotamerList) { { OpenBabel::OBRotamerList *arg1 = (OpenBabel::OBRotamerList *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBRotamerList(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotamerList, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBRotamerList" "', argument " "1"" of type '" "OpenBabel::OBRotamerList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotamerList * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotamerList_Setup__SWIG_0) { { OpenBabel::OBRotamerList *arg1 = (OpenBabel::OBRotamerList *) 0 ;
    OpenBabel::OBMol *arg2 = 0 ; OpenBabel::OBRotorList *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBRotamerList_Setup(self,OpenBabel::OBMol &,OpenBabel::OBRotorList &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotamerList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotamerList_Setup" "', argument " "1"" of type '" "OpenBabel::OBRotamerList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotamerList * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotamerList_Setup" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRotamerList_Setup" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_OpenBabel__OBRotorList,  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBRotamerList_Setup" "', argument " "3"" of type '" "OpenBabel::OBRotorList &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRotamerList_Setup" "', argument " "3"" of type '" "OpenBabel::OBRotorList &""'"); }
     arg3 = reinterpret_cast< OpenBabel::OBRotorList * >(argp3); (arg1)->Setup(*arg2,*arg3); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotamerList_Setup__SWIG_1) { { OpenBabel::OBRotamerList *arg1 = (OpenBabel::OBRotamerList *) 0 ;
    OpenBabel::OBMol *arg2 = 0 ; unsigned char *arg3 = (unsigned char *) 0 ; int arg4 ; void *argp1 = 0 ; int res1 = 0 ;
    void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int val4 ; int ecode4 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 4) || (items > 4)) { SWIG_croak("Usage: OBRotamerList_Setup(self,mol,ref,nrotors);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotamerList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotamerList_Setup" "', argument " "1"" of type '" "OpenBabel::OBRotamerList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotamerList * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotamerList_Setup" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRotamerList_Setup" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_unsigned_char, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBRotamerList_Setup" "', argument " "3"" of type '" "unsigned char *""'");  }
     arg3 = reinterpret_cast< unsigned char * >(argp3); ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OBRotamerList_Setup" "', argument " "4"" of type '" "int""'"); }
      arg4 = static_cast< int >(val4); (arg1)->Setup(*arg2,arg3,arg4); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotamerList_Setup) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBRotamerList, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_OpenBabel__OBRotorList, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 4) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBRotamerList, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_unsigned_char, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBRotamerList_Setup__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBRotamerList_Setup__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBRotamerList_Setup'"); XSRETURN(0); }
XS(_wrap_OBRotamerList_NumRotors) { { OpenBabel::OBRotamerList *arg1 = (OpenBabel::OBRotamerList *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBRotamerList_NumRotors(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotamerList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotamerList_NumRotors" "', argument " "1"" of type '" "OpenBabel::OBRotamerList const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotamerList * >(argp1);
    result = (unsigned int)((OpenBabel::OBRotamerList const *)arg1)->NumRotors();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotamerList_NumRotamers) { { OpenBabel::OBRotamerList *arg1 = (OpenBabel::OBRotamerList *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBRotamerList_NumRotamers(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotamerList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotamerList_NumRotamers" "', argument " "1"" of type '" "OpenBabel::OBRotamerList const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotamerList * >(argp1);
    result = (unsigned int)((OpenBabel::OBRotamerList const *)arg1)->NumRotamers();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotamerList_AddRotamer__SWIG_0) { { OpenBabel::OBRotamerList *arg1 = (OpenBabel::OBRotamerList *) 0 ;
    double *arg2 = (double *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBRotamerList_AddRotamer(self,double *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotamerList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotamerList_AddRotamer" "', argument " "1"" of type '" "OpenBabel::OBRotamerList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotamerList * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotamerList_AddRotamer" "', argument " "2"" of type '" "double *""'");  }
     arg2 = reinterpret_cast< double * >(argp2); (arg1)->AddRotamer(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotamerList_AddRotamer__SWIG_1) { { OpenBabel::OBRotamerList *arg1 = (OpenBabel::OBRotamerList *) 0 ;
    int *arg2 = (int *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBRotamerList_AddRotamer(self,key);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotamerList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotamerList_AddRotamer" "', argument " "1"" of type '" "OpenBabel::OBRotamerList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotamerList * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_int, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotamerList_AddRotamer" "', argument " "2"" of type '" "int *""'");  }
     arg2 = reinterpret_cast< int * >(argp2); (arg1)->AddRotamer(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotamerList_AddRotamer__SWIG_2) { { OpenBabel::OBRotamerList *arg1 = (OpenBabel::OBRotamerList *) 0 ;
    std::vector< int > arg2 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< int > *v2 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBRotamerList_AddRotamer(self,key);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotamerList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotamerList_AddRotamer" "', argument " "1"" of type '" "OpenBabel::OBRotamerList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotamerList * >(argp1); { if (SWIG_ConvertPtr(ST(1),(void **) &v2, 
      SWIGTYPE_p_std__vectorT_int_t,1) != -1){ arg2 = *v2; }  else if (SvROK(ST(1))) { AV *av = (AV *)SvRV(ST(1));
        if (SvTYPE(av) != SVt_PVAV) SWIG_croak("Type error in argument 2 of OBRotamerList_AddRotamer. "
        "Expected an array of ""int"); SV **tv; I32 len = av_len(av) + 1; for (int i=0; i<len; i++) { tv = av_fetch(av, i, 0);
          if (SvIOK(*tv)) { (&arg2)->push_back((int)SvIVX(*tv)); }  else { SWIG_croak("Type error in argument 2 of "
            "OBRotamerList_AddRotamer. " "Expected an array of ""int"); }  }  }  else {
        SWIG_croak("Type error in argument 2 of OBRotamerList_AddRotamer. " "Expected an array of ""int"); }  } 
    (arg1)->AddRotamer(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotamerList_AddRotamer__SWIG_3) { { OpenBabel::OBRotamerList *arg1 = (OpenBabel::OBRotamerList *) 0 ;
    unsigned char *arg2 = (unsigned char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBRotamerList_AddRotamer(self,key);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotamerList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotamerList_AddRotamer" "', argument " "1"" of type '" "OpenBabel::OBRotamerList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotamerList * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_unsigned_char, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotamerList_AddRotamer" "', argument " "2"" of type '" "unsigned char *""'");  }
     arg2 = reinterpret_cast< unsigned char * >(argp2); (arg1)->AddRotamer(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotamerList_AddRotamer) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBRotamerList, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBRotamerList, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_int, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBRotamerList, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_unsigned_char, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBRotamerList, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { {  std::vector<int >* v;
            if (SWIG_ConvertPtr(ST(1),(void **) &v,  SWIGTYPE_p_std__vectorT_int_t,0) != -1) { _v = 1; }
             else if (SvROK(ST(1))) {  AV *av = (AV *)SvRV(ST(1)); if (SvTYPE(av) == SVt_PVAV) { I32 len = av_len(av) + 1;
                if (len == 0) {  _v = 1; }  else {  SV **tv = av_fetch(av, 0, 0); if (SvIOK(*tv)) _v = 1; else _v = 0; }  }  }
             else { _v = 0; }  }  } }  if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4:
    dispatch: switch(_index) { case 1: ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBRotamerList_AddRotamer__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBRotamerList_AddRotamer__SWIG_1); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBRotamerList_AddRotamer__SWIG_3); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBRotamerList_AddRotamer__SWIG_2); return; }  } 
  croak("No matching function for overloaded 'OBRotamerList_AddRotamer'"); XSRETURN(0); }
XS(_wrap_OBRotamerList_AddRotamers) { { OpenBabel::OBRotamerList *arg1 = (OpenBabel::OBRotamerList *) 0 ;
    unsigned char *arg2 = (unsigned char *) 0 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int val3 ; int ecode3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBRotamerList_AddRotamers(self,arr,nconf);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotamerList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotamerList_AddRotamers" "', argument " "1"" of type '" "OpenBabel::OBRotamerList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotamerList * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_unsigned_char, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotamerList_AddRotamers" "', argument " "2"" of type '" "unsigned char *""'");  }
     arg2 = reinterpret_cast< unsigned char * >(argp2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBRotamerList_AddRotamers" "', argument " "3"" of type '" "int""'"); }
      arg3 = static_cast< int >(val3); (arg1)->AddRotamers(arg2,arg3); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotamerList_GetReferenceArray) { { OpenBabel::OBRotamerList *arg1 = (OpenBabel::OBRotamerList *) 0 ;
    unsigned char *arg2 = (unsigned char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBRotamerList_GetReferenceArray(self,unsigned char *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotamerList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotamerList_GetReferenceArray" "', argument " "1"" of type '" "OpenBabel::OBRotamerList const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotamerList * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_unsigned_char, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotamerList_GetReferenceArray" "', argument " "2"" of type '" "unsigned char *""'");  }
     arg2 = reinterpret_cast< unsigned char * >(argp2); ((OpenBabel::OBRotamerList const *)arg1)->GetReferenceArray(arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotamerList_BeginRotamer) { { OpenBabel::OBRotamerList *arg1 = (OpenBabel::OBRotamerList *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< unsigned char * >::iterator > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBRotamerList_BeginRotamer(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotamerList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotamerList_BeginRotamer" "', argument " "1"" of type '" "OpenBabel::OBRotamerList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotamerList * >(argp1); result = (arg1)->BeginRotamer();
    ST(argvi) = SWIG_NewPointerObj((new std::vector< unsigned char * >::iterator(static_cast< const std::vector< unsigned char * >::iterator& >(result))), SWIGTYPE_p_std__vectorT_unsigned_char_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotamerList_EndRotamer) { { OpenBabel::OBRotamerList *arg1 = (OpenBabel::OBRotamerList *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< unsigned char * >::iterator > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBRotamerList_EndRotamer(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotamerList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotamerList_EndRotamer" "', argument " "1"" of type '" "OpenBabel::OBRotamerList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotamerList * >(argp1); result = (arg1)->EndRotamer();
    ST(argvi) = SWIG_NewPointerObj((new std::vector< unsigned char * >::iterator(static_cast< const std::vector< unsigned char * >::iterator& >(result))), SWIGTYPE_p_std__vectorT_unsigned_char_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotamerList_CreateConformerList) { { OpenBabel::OBRotamerList *arg1 = (OpenBabel::OBRotamerList *) 0 ;
    OpenBabel::OBMol *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    SwigValueWrapper< std::vector< double * > > result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBRotamerList_CreateConformerList(self,mol);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotamerList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotamerList_CreateConformerList" "', argument " "1"" of type '" "OpenBabel::OBRotamerList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotamerList * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotamerList_CreateConformerList" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRotamerList_CreateConformerList" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); result = (arg1)->CreateConformerList(*arg2);
    ST(argvi) = SWIG_NewPointerObj((new std::vector< double * >(static_cast< const std::vector< double * >& >(result))), SWIGTYPE_p_std__vectorT_double_p_t, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotamerList_ExpandConformerList) { { OpenBabel::OBRotamerList *arg1 = (OpenBabel::OBRotamerList *) 0 ;
    OpenBabel::OBMol *arg2 = 0 ; std::vector< double * > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBRotamerList_ExpandConformerList(self,mol,confs);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotamerList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotamerList_ExpandConformerList" "', argument " "1"" of type '" "OpenBabel::OBRotamerList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotamerList * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotamerList_ExpandConformerList" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRotamerList_ExpandConformerList" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_std__vectorT_double_p_t,  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBRotamerList_ExpandConformerList" "', argument " "3"" of type '" "std::vector< double * > &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRotamerList_ExpandConformerList" "', argument " "3"" of type '" "std::vector< double * > &""'"); }
     arg3 = reinterpret_cast< std::vector< double * > * >(argp3); (arg1)->ExpandConformerList(*arg2,*arg3);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotamerList_SetCurrentCoordinates) { { OpenBabel::OBRotamerList *arg1 = (OpenBabel::OBRotamerList *) 0 ;
    OpenBabel::OBMol *arg2 = 0 ; std::vector< int > arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    std::vector< int > *v3 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBRotamerList_SetCurrentCoordinates(self,mol,arr);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotamerList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotamerList_SetCurrentCoordinates" "', argument " "1"" of type '" "OpenBabel::OBRotamerList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotamerList * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotamerList_SetCurrentCoordinates" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRotamerList_SetCurrentCoordinates" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); { if (SWIG_ConvertPtr(ST(2),(void **) &v3, 
      SWIGTYPE_p_std__vectorT_int_t,1) != -1){ arg3 = *v3; }  else if (SvROK(ST(2))) { AV *av = (AV *)SvRV(ST(2));
        if (SvTYPE(av) != SVt_PVAV) SWIG_croak("Type error in argument 3 of OBRotamerList_SetCurrentCoordinates. "
        "Expected an array of ""int"); SV **tv; I32 len = av_len(av) + 1; for (int i=0; i<len; i++) { tv = av_fetch(av, i, 0);
          if (SvIOK(*tv)) { (&arg3)->push_back((int)SvIVX(*tv)); }  else { SWIG_croak("Type error in argument 3 of "
            "OBRotamerList_SetCurrentCoordinates. " "Expected an array of ""int"); }  }  }  else {
        SWIG_croak("Type error in argument 3 of OBRotamerList_SetCurrentCoordinates. " "Expected an array of ""int"); }  } 
    (arg1)->SetCurrentCoordinates(*arg2,arg3); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotamerList_SetBaseCoordinateSets__SWIG_0) { { OpenBabel::OBRotamerList *arg1 = (OpenBabel::OBRotamerList *) 0 ;
    OpenBabel::OBMol *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBRotamerList_SetBaseCoordinateSets(self,mol);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotamerList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotamerList_SetBaseCoordinateSets" "', argument " "1"" of type '" "OpenBabel::OBRotamerList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotamerList * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBMol,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotamerList_SetBaseCoordinateSets" "', argument " "2"" of type '" "OpenBabel::OBMol &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRotamerList_SetBaseCoordinateSets" "', argument " "2"" of type '" "OpenBabel::OBMol &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); (arg1)->SetBaseCoordinateSets(*arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotamerList_SetBaseCoordinateSets__SWIG_1) { { OpenBabel::OBRotamerList *arg1 = (OpenBabel::OBRotamerList *) 0 ;
    SwigValueWrapper< std::vector< double * > > arg2 ; unsigned int arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ;
    int res2 = 0 ; unsigned int val3 ; int ecode3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBRotamerList_SetBaseCoordinateSets(self,bc,N);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotamerList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotamerList_SetBaseCoordinateSets" "', argument " "1"" of type '" "OpenBabel::OBRotamerList *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotamerList * >(argp1); {
      res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_double_p_t,  0 ); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBRotamerList_SetBaseCoordinateSets" "', argument " "2"" of type '" "std::vector< double * >""'");  }
         if (!argp2) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBRotamerList_SetBaseCoordinateSets" "', argument " "2"" of type '" "std::vector< double * >""'"); }
       else { arg2 = *(reinterpret_cast< std::vector< double * > * >(argp2)); }  } 
    ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBRotamerList_SetBaseCoordinateSets" "', argument " "3"" of type '" "unsigned int""'"); }
      arg3 = static_cast< unsigned int >(val3); (arg1)->SetBaseCoordinateSets(arg2,arg3); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotamerList_SetBaseCoordinateSets) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBRotamerList, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBRotamerList, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_std__vectorT_double_p_t, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBRotamerList_SetBaseCoordinateSets__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBRotamerList_SetBaseCoordinateSets__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBRotamerList_SetBaseCoordinateSets'"); XSRETURN(0); }
XS(_wrap_OBRotamerList_NumBaseCoordinateSets) { { OpenBabel::OBRotamerList *arg1 = (OpenBabel::OBRotamerList *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBRotamerList_NumBaseCoordinateSets(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotamerList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotamerList_NumBaseCoordinateSets" "', argument " "1"" of type '" "OpenBabel::OBRotamerList const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotamerList * >(argp1);
    result = (unsigned int)((OpenBabel::OBRotamerList const *)arg1)->NumBaseCoordinateSets();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBRotamerList_GetBaseCoordinateSet) { { OpenBabel::OBRotamerList *arg1 = (OpenBabel::OBRotamerList *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0;
    double *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBRotamerList_GetBaseCoordinateSet(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotamerList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotamerList_GetBaseCoordinateSet" "', argument " "1"" of type '" "OpenBabel::OBRotamerList const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotamerList * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBRotamerList_GetBaseCoordinateSet" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2);
    result = (double *)((OpenBabel::OBRotamerList const *)arg1)->GetBaseCoordinateSet(arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBRotamerList_NumAtoms) { { OpenBabel::OBRotamerList *arg1 = (OpenBabel::OBRotamerList *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBRotamerList_NumAtoms(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBRotamerList, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBRotamerList_NumAtoms" "', argument " "1"" of type '" "OpenBabel::OBRotamerList const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBRotamerList * >(argp1);
    result = (unsigned int)((OpenBabel::OBRotamerList const *)arg1)->NumAtoms();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_double_array) { { int arg1 ; int val1 ; int ecode1 = 0 ; int argvi = 0; double *result = 0 ; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: double_array(size);"); } 
    ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1); if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "double_array" "', argument " "1"" of type '" "int""'"); }  
    arg1 = static_cast< int >(val1); result = (double *)double_array(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_double_destroy) { { int *arg1 = (int *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: double_destroy(a);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_int, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "double_destroy" "', argument " "1"" of type '" "int *""'");  } 
    arg1 = reinterpret_cast< int * >(argp1); double_destroy(arg1); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_double_set) { { double *arg1 = (double *) 0 ; int arg2 ; double arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ;
    int ecode2 = 0 ; double val3 ; int ecode3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: double_set(a,i,val);"); }  res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "double_set" "', argument " "1"" of type '" "double *""'");  } 
    arg1 = reinterpret_cast< double * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "double_set" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "double_set" "', argument " "3"" of type '" "double""'"); }  
    arg3 = static_cast< double >(val3); double_set(arg1,arg2,arg3); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_double_get) { { double *arg1 = (double *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: double_get(a,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_double, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "double_get" "', argument " "1"" of type '" "double *""'");  } 
    arg1 = reinterpret_cast< double * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "double_get" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); result = (double)double_get(arg1,arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_rotation_matrix) { { int argvi = 0; double (*result)[3] = 0 ; dXSARGS; if ((items < 0) || (items > 0)) {
      SWIG_croak("Usage: rotation_matrix();"); }  result = (double (*)[3])rotation_matrix();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_a_3__double, 0 | 0); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_rotation_matrix_free) { { double (*arg1)[3] = (double (*)[3]) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: rotation_matrix_free(m);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_a_3__double, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rotation_matrix_free" "', argument " "1"" of type '" "double (*)[3]""'");  }
     arg1 = reinterpret_cast< double (*)[3] >(argp1); rotation_matrix_free((double (*)[3])arg1); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBMolAtomIter__SWIG_0) { { int argvi = 0; OpenBabel::OBMolAtomIter *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new__OBMolAtomIter();"); } 
    result = (OpenBabel::OBMolAtomIter *)new OpenBabel::OBMolAtomIter();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolAtomIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBMolAtomIter__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBMolAtomIter *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new__OBMolAtomIter(mol);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new__OBMolAtomIter" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    result = (OpenBabel::OBMolAtomIter *)new OpenBabel::OBMolAtomIter(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolAtomIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBMolAtomIter__SWIG_2) { { OpenBabel::OBMolAtomIter *arg1 = 0 ; void *argp1 ; int res1 = 0 ; int argvi = 0;
    OpenBabel::OBMolAtomIter *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new__OBMolAtomIter(ai);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBMolAtomIter,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new__OBMolAtomIter" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new__OBMolAtomIter" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    result = (OpenBabel::OBMolAtomIter *)new OpenBabel::OBMolAtomIter((OpenBabel::OBMolAtomIter const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolAtomIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBMolAtomIter) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new__OBMolAtomIter__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new__OBMolAtomIter__SWIG_1); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new__OBMolAtomIter__SWIG_2); return; }  } 
  croak("No matching function for overloaded 'new__OBMolAtomIter'"); XSRETURN(0); }
XS(_wrap_delete__OBMolAtomIter) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete__OBMolAtomIter(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete__OBMolAtomIter" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_good) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_good(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_good" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    result = (bool)((OpenBabel::OBMolAtomIter const *)arg1)->operator bool();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_inc__SWIG_0) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBMolAtomIter *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_inc(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_inc" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (OpenBabel::OBMolAtomIter *) &(arg1)->operator ++();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_inc__SWIG_1) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::OBMolAtomIter result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomIter_inc(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_inc" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomIter_inc" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (arg1)->operator ++(arg2);
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBMolAtomIter(static_cast< const OpenBabel::OBMolAtomIter& >(result))), SWIGTYPE_p_OpenBabel__OBMolAtomIter, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_inc) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomIter_inc__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomIter_inc__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomIter_inc'"); XSRETURN(0); }
XS(_wrap__OBMolAtomIter_deref) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_deref(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_deref" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    result = (OpenBabel::OBAtom *)((OpenBabel::OBMolAtomIter const *)arg1)->operator ->();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter___ref__) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter___ref__(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter___ref__" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    result = (OpenBabel::OBAtom *) &((OpenBabel::OBMolAtomIter const *)arg1)->operator *();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_Visit_set) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; bool arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomIter_Visit_set(self,Visit);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_Visit_set" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomIter_Visit_set" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); if (arg1) (*arg1)->Visit = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_Visit_get) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_Visit_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_Visit_get" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool) ((*arg1)->Visit);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter___eq__) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomIter___eq__(self,other);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter___eq__" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomIter___eq__" "', argument " "2"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2);
    result = (bool)(*arg1)->operator ==((OpenBabel::OBAtom const *)arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_Duplicate) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomIter_Duplicate(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_Duplicate" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomIter_Duplicate" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); (*arg1)->Duplicate(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_SetIdx) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomIter_SetIdx(self,idx);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_SetIdx" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomIter_SetIdx" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (*arg1)->SetIdx(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_SetId) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; unsigned long arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; unsigned long val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomIter_SetId(self,id);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_SetId" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomIter_SetId" "', argument " "2"" of type '" "unsigned long""'"); }
      arg2 = static_cast< unsigned long >(val2); (*arg1)->SetId(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_SetHyb) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomIter_SetHyb(self,hyb);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_SetHyb" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomIter_SetHyb" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (*arg1)->SetHyb(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_SetAtomicNum) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomIter_SetAtomicNum(self,atomicnum);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_SetAtomicNum" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomIter_SetAtomicNum" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (*arg1)->SetAtomicNum(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_SetIsotope) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; unsigned int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomIter_SetIsotope(self,iso);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_SetIsotope" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomIter_SetIsotope" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); (*arg1)->SetIsotope(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_SetImplicitValence) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomIter_SetImplicitValence(self,val);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_SetImplicitValence" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomIter_SetImplicitValence" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (*arg1)->SetImplicitValence(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_IncrementImplicitValence) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_IncrementImplicitValence(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_IncrementImplicitValence" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); (*arg1)->IncrementImplicitValence();
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_DecrementImplicitValence) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_DecrementImplicitValence(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_DecrementImplicitValence" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); (*arg1)->DecrementImplicitValence();
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_SetFormalCharge) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomIter_SetFormalCharge(self,fcharge);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_SetFormalCharge" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomIter_SetFormalCharge" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (*arg1)->SetFormalCharge(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_SetSpinMultiplicity) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; short arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; short val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomIter_SetSpinMultiplicity(self,spin);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_SetSpinMultiplicity" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_short SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomIter_SetSpinMultiplicity" "', argument " "2"" of type '" "short""'"); }
      arg2 = static_cast< short >(val2); (*arg1)->SetSpinMultiplicity(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_SetType__SWIG_0) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomIter_SetType(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_SetType" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomIter_SetType" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); (*arg1)->SetType((char const *)arg2); ST(argvi) = sv_newmortal();
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_SetType__SWIG_1) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomIter_SetType(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_SetType" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomIter_SetType" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolAtomIter_SetType" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  (*arg1)->SetType((std::string const &)*arg2); ST(argvi) = sv_newmortal();
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_SetType) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomIter_SetType__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomIter_SetType__SWIG_0); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomIter_SetType'"); XSRETURN(0); }
XS(_wrap__OBMolAtomIter_SetPartialCharge) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; double arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomIter_SetPartialCharge(self,pcharge);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_SetPartialCharge" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomIter_SetPartialCharge" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); (*arg1)->SetPartialCharge(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_SetVector__SWIG_0) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    OpenBabel::vector3 *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomIter_SetVector(self,v);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_SetVector" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomIter_SetVector" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolAtomIter_SetVector" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2); (*arg1)->SetVector((OpenBabel::vector3 const &)*arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_SetVector__SWIG_1) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; double arg2 ;
    double arg3 ; double arg4 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 0 ;
    double val4 ; int ecode4 = 0 ; int argvi = 0; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: _OBMolAtomIter_SetVector(self,x,y,z);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_SetVector" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomIter_SetVector" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "_OBMolAtomIter_SetVector" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "_OBMolAtomIter_SetVector" "', argument " "4"" of type '" "double""'"); }
      arg4 = static_cast< double >(val4); (*arg1)->SetVector(arg2,arg3,arg4); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_SetVector__SWIG_2) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_SetVector(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_SetVector" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); (*arg1)->SetVector(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_SetVector) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 4) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomIter_SetVector__SWIG_2); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomIter_SetVector__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomIter_SetVector__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomIter_SetVector'"); XSRETURN(0); }
XS(_wrap__OBMolAtomIter_SetCoordPtr) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    double **arg2 = (double **) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomIter_SetCoordPtr(self,c);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_SetCoordPtr" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_p_double, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomIter_SetCoordPtr" "', argument " "2"" of type '" "double **""'");  }
     arg2 = reinterpret_cast< double ** >(argp2); (*arg1)->SetCoordPtr(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_SetResidue) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    OpenBabel::OBResidue *arg2 = (OpenBabel::OBResidue *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomIter_SetResidue(self,res);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_SetResidue" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomIter_SetResidue" "', argument " "2"" of type '" "OpenBabel::OBResidue *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBResidue * >(argp2); (*arg1)->SetResidue(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_SetParent) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    OpenBabel::OBMol *arg2 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomIter_SetParent(self,ptr);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_SetParent" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomIter_SetParent" "', argument " "2"" of type '" "OpenBabel::OBMol *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); (*arg1)->SetParent(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_SetAromatic) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_SetAromatic(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_SetAromatic" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); (*arg1)->SetAromatic(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_UnsetAromatic) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_UnsetAromatic(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_UnsetAromatic" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); (*arg1)->UnsetAromatic(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_SetClockwiseStereo) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_SetClockwiseStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_SetClockwiseStereo" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); (*arg1)->SetClockwiseStereo(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_SetAntiClockwiseStereo) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_SetAntiClockwiseStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_SetAntiClockwiseStereo" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); (*arg1)->SetAntiClockwiseStereo();
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_SetPositiveStereo) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_SetPositiveStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_SetPositiveStereo" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); (*arg1)->SetPositiveStereo(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_SetNegativeStereo) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_SetNegativeStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_SetNegativeStereo" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); (*arg1)->SetNegativeStereo(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_UnsetStereo) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_UnsetStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_UnsetStereo" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); (*arg1)->UnsetStereo(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_SetInRing) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_SetInRing(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_SetInRing" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); (*arg1)->SetInRing(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_SetChiral) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_SetChiral(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_SetChiral" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); (*arg1)->SetChiral(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_ClearCoordPtr) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_ClearCoordPtr(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_ClearCoordPtr" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); (*arg1)->ClearCoordPtr(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetFormalCharge) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_GetFormalCharge(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetFormalCharge" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (int)(*arg1)->GetFormalCharge();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetAtomicNum) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_GetAtomicNum(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetAtomicNum" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (unsigned int)(*arg1)->GetAtomicNum();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetIsotope) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned short result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_GetIsotope(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetIsotope" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (unsigned short)(*arg1)->GetIsotope();
    ST(argvi) = SWIG_From_unsigned_SS_short  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned short >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetSpinMultiplicity) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_GetSpinMultiplicity(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetSpinMultiplicity" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (int)(*arg1)->GetSpinMultiplicity();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetAtomicMass) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_GetAtomicMass(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetAtomicMass" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (double)(*arg1)->GetAtomicMass();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetExactMass) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_GetExactMass(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetExactMass" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (double)(*arg1)->GetExactMass();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetIdx) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_GetIdx(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetIdx" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (unsigned int)(*arg1)->GetIdx();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetIndex) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_GetIndex(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetIndex" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (unsigned int)(*arg1)->GetIndex();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetId) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned long result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_GetId(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetId" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (unsigned long)(*arg1)->GetId();
    ST(argvi) = SWIG_From_unsigned_SS_long  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned long >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetCoordinateIdx) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_GetCoordinateIdx(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetCoordinateIdx" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (unsigned int)(*arg1)->GetCoordinateIdx();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetCIdx) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_GetCIdx(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetCIdx" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (unsigned int)(*arg1)->GetCIdx();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetValence) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_GetValence(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetValence" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (unsigned int)(*arg1)->GetValence();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetHyb) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_GetHyb(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetHyb" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (unsigned int)(*arg1)->GetHyb();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetImplicitValence) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_GetImplicitValence(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetImplicitValence" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (unsigned int)(*arg1)->GetImplicitValence();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetHvyValence) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_GetHvyValence(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetHvyValence" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (unsigned int)(*arg1)->GetHvyValence();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetHeteroValence) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_GetHeteroValence(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetHeteroValence" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (unsigned int)(*arg1)->GetHeteroValence();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetType) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_GetType(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetType" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (char *)(*arg1)->GetType();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetX) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_GetX(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetX" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (double)(*arg1)->GetX();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetY) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_GetY(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetY" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (double)(*arg1)->GetY();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetZ) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_GetZ(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetZ" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (double)(*arg1)->GetZ();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_x) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_x(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_x" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (double)(*arg1)->x();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_y) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_y(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_y" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (double)(*arg1)->y();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_z) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_z(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_z" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (double)(*arg1)->z();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetCoordinate) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_GetCoordinate(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetCoordinate" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (double *)(*arg1)->GetCoordinate();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetVector__SWIG_0) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::vector3 *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_GetVector(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetVector" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (OpenBabel::vector3 *) &(*arg1)->GetVector();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__vector3, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetVector__SWIG_1) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::vector3 *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_GetVector(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetVector" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (OpenBabel::vector3 *) &(*arg1)->GetVector();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__vector3, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetVector) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomIter_GetVector__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomIter_GetVector__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomIter_GetVector'"); XSRETURN(0); }
XS(_wrap__OBMolAtomIter_GetPartialCharge) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_GetPartialCharge(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetPartialCharge" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (double)(*arg1)->GetPartialCharge();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetResidue__SWIG_0) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::OBResidue *result = 0 ; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBMolAtomIter_GetResidue(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetResidue" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (OpenBabel::OBResidue *)(*arg1)->GetResidue();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBResidue, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetResidue__SWIG_1) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; bool arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::OBResidue *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomIter_GetResidue(self,perception);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetResidue" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomIter_GetResidue" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (OpenBabel::OBResidue *)(*arg1)->GetResidue(arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBResidue, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetResidue) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomIter_GetResidue__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomIter_GetResidue__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomIter_GetResidue'"); XSRETURN(0); }
XS(_wrap__OBMolAtomIter_GetParent) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBMol *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_GetParent(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetParent" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (OpenBabel::OBMol *)(*arg1)->GetParent();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMol, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetNewBondVector) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    OpenBabel::vector3 *arg2 = 0 ; double arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; double val3 ;
    int ecode3 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: _OBMolAtomIter_GetNewBondVector(self,v,length);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetNewBondVector" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomIter_GetNewBondVector" "', argument " "2"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolAtomIter_GetNewBondVector" "', argument " "2"" of type '" "OpenBabel::vector3 &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "_OBMolAtomIter_GetNewBondVector" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); result = (bool)(*arg1)->GetNewBondVector(*arg2,arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetBond) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; OpenBabel::OBBond *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomIter_GetBond(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetBond" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomIter_GetBond" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (OpenBabel::OBBond *)(*arg1)->GetBond(arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBond, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetNextAtom) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_GetNextAtom(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetNextAtom" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (OpenBabel::OBAtom *)(*arg1)->GetNextAtom();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_BeginBonds) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBBond * >::iterator > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBMolAtomIter_BeginBonds(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_BeginBonds" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (*arg1)->BeginBonds();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBBondIterator(static_cast< const OpenBabel::OBBondIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_EndBonds) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBBond * >::iterator > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBMolAtomIter_EndBonds(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_EndBonds" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (*arg1)->EndBonds();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBBondIterator(static_cast< const OpenBabel::OBBondIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_BeginBond) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    OpenBabel::OBBondIterator *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    OpenBabel::OBBond *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomIter_BeginBond(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_BeginBond" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomIter_BeginBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolAtomIter_BeginBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBondIterator * >(argp2); result = (OpenBabel::OBBond *)(*arg1)->BeginBond(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBond, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_NextBond) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    OpenBabel::OBBondIterator *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    OpenBabel::OBBond *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomIter_NextBond(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_NextBond" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomIter_NextBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolAtomIter_NextBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBondIterator * >(argp2); result = (OpenBabel::OBBond *)(*arg1)->NextBond(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBond, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_BeginNbrAtom) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    OpenBabel::OBBondIterator *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomIter_BeginNbrAtom(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_BeginNbrAtom" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomIter_BeginNbrAtom" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolAtomIter_BeginNbrAtom" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBondIterator * >(argp2); result = (OpenBabel::OBAtom *)(*arg1)->BeginNbrAtom(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_NextNbrAtom) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    OpenBabel::OBBondIterator *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomIter_NextNbrAtom(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_NextNbrAtom" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomIter_NextNbrAtom" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolAtomIter_NextNbrAtom" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBondIterator * >(argp2); result = (OpenBabel::OBAtom *)(*arg1)->NextNbrAtom(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetDistance__SWIG_0) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomIter_GetDistance(self,index);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetDistance" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomIter_GetDistance" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (double)(*arg1)->GetDistance(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetDistance__SWIG_1) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomIter_GetDistance(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetDistance" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomIter_GetDistance" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (double)(*arg1)->GetDistance(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetDistance) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomIter_GetDistance__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomIter_GetDistance__SWIG_0); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomIter_GetDistance'"); XSRETURN(0); }
XS(_wrap__OBMolAtomIter_GetAngle__SWIG_0) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; int arg2 ;
    int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int argvi = 0;
    double result; dXSARGS; if ((items < 3) || (items > 3)) { SWIG_croak("Usage: _OBMolAtomIter_GetAngle(self,b,c);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetAngle" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomIter_GetAngle" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "_OBMolAtomIter_GetAngle" "', argument " "3"" of type '" "int""'"); }
      arg3 = static_cast< int >(val3); result = (double)(*arg1)->GetAngle(arg2,arg3);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetAngle__SWIG_1) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; OpenBabel::OBAtom *arg3 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: _OBMolAtomIter_GetAngle(self,b,c);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetAngle" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomIter_GetAngle" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "_OBMolAtomIter_GetAngle" "', argument " "3"" of type '" "OpenBabel::OBAtom *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBAtom * >(argp3); result = (double)(*arg1)->GetAngle(arg2,arg3);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetAngle) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    dispatch: switch(_index) { case 1: ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomIter_GetAngle__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomIter_GetAngle__SWIG_0); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomIter_GetAngle'"); XSRETURN(0); }
XS(_wrap__OBMolAtomIter_NewResidue) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_NewResidue(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_NewResidue" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); (*arg1)->NewResidue(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_AddResidue) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    OpenBabel::OBResidue *arg2 = (OpenBabel::OBResidue *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomIter_AddResidue(self,res);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_AddResidue" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomIter_AddResidue" "', argument " "2"" of type '" "OpenBabel::OBResidue *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBResidue * >(argp2); (*arg1)->AddResidue(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_DeleteResidue) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_DeleteResidue(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_DeleteResidue" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); (*arg1)->DeleteResidue(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_AddBond) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    OpenBabel::OBBond *arg2 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomIter_AddBond(self,bond);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_AddBond" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomIter_AddBond" "', argument " "2"" of type '" "OpenBabel::OBBond *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBond * >(argp2); (*arg1)->AddBond(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_InsertBond) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    OpenBabel::OBBondIterator *arg2 = 0 ; OpenBabel::OBBond *arg3 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: _OBMolAtomIter_InsertBond(self,i,bond);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_InsertBond" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomIter_InsertBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolAtomIter_InsertBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBondIterator * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "_OBMolAtomIter_InsertBond" "', argument " "3"" of type '" "OpenBabel::OBBond *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBBond * >(argp3); (*arg1)->InsertBond(*arg2,arg3); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_DeleteBond) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    OpenBabel::OBBond *arg2 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomIter_DeleteBond(self,bond);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_DeleteBond" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomIter_DeleteBond" "', argument " "2"" of type '" "OpenBabel::OBBond *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBond * >(argp2); result = (bool)(*arg1)->DeleteBond(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_ClearBond) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_ClearBond(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_ClearBond" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); (*arg1)->ClearBond(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_HtoMethyl) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_HtoMethyl(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_HtoMethyl" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->HtoMethyl();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_SetHybAndGeom) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomIter_SetHybAndGeom(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_SetHybAndGeom" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomIter_SetHybAndGeom" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (bool)(*arg1)->SetHybAndGeom(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_ForceNoH) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_ForceNoH(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_ForceNoH" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); (*arg1)->ForceNoH(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_HasNoHForced) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_HasNoHForced(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_HasNoHForced" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->HasNoHForced();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_ForceImplH) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_ForceImplH(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_ForceImplH" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); (*arg1)->ForceImplH(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_HasImplHForced) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_HasImplHForced(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_HasImplHForced" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->HasImplHForced();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_CountFreeOxygens) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_CountFreeOxygens(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_CountFreeOxygens" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (unsigned int)(*arg1)->CountFreeOxygens();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_ImplicitHydrogenCount) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_ImplicitHydrogenCount(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_ImplicitHydrogenCount" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (unsigned int)(*arg1)->ImplicitHydrogenCount();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_ExplicitHydrogenCount__SWIG_0) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; unsigned int result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomIter_ExplicitHydrogenCount(self,ExcludeIsotopes);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_ExplicitHydrogenCount" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomIter_ExplicitHydrogenCount" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (unsigned int)(*arg1)->ExplicitHydrogenCount(arg2);
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_ExplicitHydrogenCount__SWIG_1) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_ExplicitHydrogenCount(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_ExplicitHydrogenCount" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (unsigned int)(*arg1)->ExplicitHydrogenCount();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_ExplicitHydrogenCount) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0; 
    if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomIter_ExplicitHydrogenCount__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomIter_ExplicitHydrogenCount__SWIG_0); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomIter_ExplicitHydrogenCount'"); XSRETURN(0); }
XS(_wrap__OBMolAtomIter_MemberOfRingCount) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_MemberOfRingCount(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_MemberOfRingCount" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (unsigned int)(*arg1)->MemberOfRingCount();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_MemberOfRingSize) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_MemberOfRingSize(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_MemberOfRingSize" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (unsigned int)(*arg1)->MemberOfRingSize();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_CountRingBonds) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_CountRingBonds(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_CountRingBonds" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (unsigned int)(*arg1)->CountRingBonds();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_SmallestBondAngle) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_SmallestBondAngle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_SmallestBondAngle" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (double)(*arg1)->SmallestBondAngle();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_AverageBondAngle) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_AverageBondAngle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_AverageBondAngle" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (double)(*arg1)->AverageBondAngle();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_BOSum) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_BOSum(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_BOSum" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (unsigned int)(*arg1)->BOSum();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_KBOSum) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_KBOSum(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_KBOSum" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (unsigned int)(*arg1)->KBOSum();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_HasResidue) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_HasResidue(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_HasResidue" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->HasResidue();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_IsHydrogen__SWIG_0) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_IsHydrogen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_IsHydrogen" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->IsHydrogen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_IsHydrogen__SWIG_1) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_IsHydrogen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_IsHydrogen" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->IsHydrogen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_IsHydrogen) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomIter_IsHydrogen__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomIter_IsHydrogen__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomIter_IsHydrogen'"); XSRETURN(0); }
XS(_wrap__OBMolAtomIter_IsCarbon) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_IsCarbon(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_IsCarbon" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->IsCarbon();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_IsNitrogen) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_IsNitrogen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_IsNitrogen" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->IsNitrogen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_IsOxygen) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_IsOxygen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_IsOxygen" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->IsOxygen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_IsSulfur) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_IsSulfur(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_IsSulfur" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->IsSulfur();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_IsPhosphorus) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_IsPhosphorus(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_IsPhosphorus" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->IsPhosphorus();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_IsAromatic) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_IsAromatic(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_IsAromatic" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->IsAromatic();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_IsInRing) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_IsInRing(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_IsInRing" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->IsInRing();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_IsInRingSize) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomIter_IsInRingSize(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_IsInRingSize" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomIter_IsInRingSize" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (bool)(*arg1)->IsInRingSize(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_IsHeteroatom) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_IsHeteroatom(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_IsHeteroatom" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->IsHeteroatom();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_IsNotCorH) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_IsNotCorH(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_IsNotCorH" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->IsNotCorH();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_IsConnected) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomIter_IsConnected(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_IsConnected" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomIter_IsConnected" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (bool)(*arg1)->IsConnected(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_IsOneThree) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomIter_IsOneThree(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_IsOneThree" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomIter_IsOneThree" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (bool)(*arg1)->IsOneThree(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_IsOneFour) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomIter_IsOneFour(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_IsOneFour" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomIter_IsOneFour" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (bool)(*arg1)->IsOneFour(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_IsCarboxylOxygen) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_IsCarboxylOxygen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_IsCarboxylOxygen" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->IsCarboxylOxygen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_IsPhosphateOxygen) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_IsPhosphateOxygen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_IsPhosphateOxygen" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->IsPhosphateOxygen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_IsSulfateOxygen) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_IsSulfateOxygen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_IsSulfateOxygen" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->IsSulfateOxygen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_IsNitroOxygen) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_IsNitroOxygen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_IsNitroOxygen" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->IsNitroOxygen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_IsAmideNitrogen) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_IsAmideNitrogen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_IsAmideNitrogen" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->IsAmideNitrogen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_IsPolarHydrogen) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_IsPolarHydrogen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_IsPolarHydrogen" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->IsPolarHydrogen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_IsNonPolarHydrogen) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_IsNonPolarHydrogen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_IsNonPolarHydrogen" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->IsNonPolarHydrogen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_IsAromaticNOxide) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_IsAromaticNOxide(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_IsAromaticNOxide" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->IsAromaticNOxide();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_IsChiral) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_IsChiral(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_IsChiral" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->IsChiral();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_IsAxial) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_IsAxial(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_IsAxial" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->IsAxial();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_IsClockwise) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_IsClockwise(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_IsClockwise" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->IsClockwise();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_IsAntiClockwise) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_IsAntiClockwise(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_IsAntiClockwise" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->IsAntiClockwise();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_IsPositiveStereo) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_IsPositiveStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_IsPositiveStereo" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->IsPositiveStereo();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_IsNegativeStereo) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_IsNegativeStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_IsNegativeStereo" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->IsNegativeStereo();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_HasChiralitySpecified) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_HasChiralitySpecified(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_HasChiralitySpecified" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->HasChiralitySpecified();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_HasChiralVolume) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_HasChiralVolume(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_HasChiralVolume" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->HasChiralVolume();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_IsHbondAcceptor) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_IsHbondAcceptor(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_IsHbondAcceptor" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->IsHbondAcceptor();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_IsHbondDonor) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_IsHbondDonor(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_IsHbondDonor" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->IsHbondDonor();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_IsHbondDonorH) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_IsHbondDonorH(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_IsHbondDonorH" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->IsHbondDonorH();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_HasAlphaBetaUnsat__SWIG_0) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomIter_HasAlphaBetaUnsat(self,includePandS);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_HasAlphaBetaUnsat" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomIter_HasAlphaBetaUnsat" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (bool)(*arg1)->HasAlphaBetaUnsat(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_HasAlphaBetaUnsat__SWIG_1) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_HasAlphaBetaUnsat(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_HasAlphaBetaUnsat" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->HasAlphaBetaUnsat();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_HasAlphaBetaUnsat) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomIter_HasAlphaBetaUnsat__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomIter_HasAlphaBetaUnsat__SWIG_0); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomIter_HasAlphaBetaUnsat'"); XSRETURN(0); }
XS(_wrap__OBMolAtomIter_HasBondOfOrder) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomIter_HasBondOfOrder(self,bo);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_HasBondOfOrder" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomIter_HasBondOfOrder" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (bool)(*arg1)->HasBondOfOrder(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_CountBondsOfOrder) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; int result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomIter_CountBondsOfOrder(self,bo);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_CountBondsOfOrder" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomIter_CountBondsOfOrder" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (int)(*arg1)->CountBondsOfOrder(arg2);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_HasNonSingleBond) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_HasNonSingleBond(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_HasNonSingleBond" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->HasNonSingleBond();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_HasSingleBond) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_HasSingleBond(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_HasSingleBond" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->HasSingleBond();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_HasDoubleBond) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_HasDoubleBond(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_HasDoubleBond" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->HasDoubleBond();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_HasAromaticBond) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_HasAromaticBond(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_HasAromaticBond" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->HasAromaticBond();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_MatchesSMARTS) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomIter_MatchesSMARTS(self,char const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_MatchesSMARTS" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomIter_MatchesSMARTS" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); result = (bool)(*arg1)->MatchesSMARTS((char const *)arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_Clear) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_Clear(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_Clear" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (bool)(*arg1)->Clear();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_DoTransformations) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    std::map< std::string,std::string > *arg2 = (std::map< std::string,std::string > *) 0 ;
    OpenBabel::OBConversion *arg3 = (OpenBabel::OBConversion *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; OpenBabel::OBBase *result = 0 ; dXSARGS;
    if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: _OBMolAtomIter_DoTransformations(self,std::map< std::string,std::string > const *,OpenBabel::OBConversion *);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_DoTransformations" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomIter_DoTransformations" "', argument " "2"" of type '" "std::map< std::string,std::string > const *""'");  }
     arg2 = reinterpret_cast< std::map< std::string,std::string > * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "_OBMolAtomIter_DoTransformations" "', argument " "3"" of type '" "OpenBabel::OBConversion *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBConversion * >(argp3);
    result = (OpenBabel::OBBase *)(*arg1)->DoTransformations((std::map< std::string,std::string > const *)arg2,arg3);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBase, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_ClassDescription) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_ClassDescription(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_ClassDescription" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (char *)(*arg1)->ClassDescription();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetTitle__SWIG_0) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; bool arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomIter_GetTitle(self,replaceNewlines);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetTitle" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomIter_GetTitle" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (char *)(*arg1)->GetTitle(arg2);
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetTitle__SWIG_1) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_GetTitle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetTitle" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (char *)(*arg1)->GetTitle();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetTitle) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomIter_GetTitle__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomIter_GetTitle__SWIG_0); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomIter_GetTitle'"); XSRETURN(0); }
XS(_wrap__OBMolAtomIter_SetTitle) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomIter_SetTitle(self,char const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_SetTitle" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomIter_SetTitle" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); (*arg1)->SetTitle((char const *)arg2); ST(argvi) = sv_newmortal();
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_HasData__SWIG_0) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomIter_HasData(self,std::string const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_HasData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomIter_HasData" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolAtomIter_HasData" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  result = (bool)(*arg1)->HasData((std::string const &)*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_HasData__SWIG_1) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomIter_HasData(self,char const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_HasData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomIter_HasData" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); result = (bool)(*arg1)->HasData((char const *)arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_HasData__SWIG_2) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomIter_HasData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_HasData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomIter_HasData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (bool)(*arg1)->HasData(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_HasData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomIter_HasData__SWIG_2); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomIter_HasData__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomIter_HasData__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomIter_HasData'"); XSRETURN(0); }
XS(_wrap__OBMolAtomIter_DeleteData__SWIG_0) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomIter_DeleteData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomIter_DeleteData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); (*arg1)->DeleteData(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_DeleteData__SWIG_1) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    OpenBabel::OBGenericData *arg2 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomIter_DeleteData(self,OpenBabel::OBGenericData *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomIter_DeleteData" "', argument " "2"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBGenericData * >(argp2); (*arg1)->DeleteData(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_DeleteData__SWIG_2) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    std::vector< OpenBabel::OBGenericData * > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomIter_DeleteData(self,std::vector< OpenBabel::OBGenericData * > &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomIter_DeleteData" "', argument " "2"" of type '" "std::vector< OpenBabel::OBGenericData * > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolAtomIter_DeleteData" "', argument " "2"" of type '" "std::vector< OpenBabel::OBGenericData * > &""'"); }
     arg2 = reinterpret_cast< std::vector< OpenBabel::OBGenericData * > * >(argp2); (*arg1)->DeleteData(*arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_DeleteData__SWIG_3) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomIter_DeleteData(self,s);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomIter_DeleteData" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolAtomIter_DeleteData" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  result = (bool)(*arg1)->DeleteData((std::string const &)*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_DeleteData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBGenericData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t, 0);
        _v = SWIG_CheckState(res);}  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomIter_DeleteData__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomIter_DeleteData__SWIG_2); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomIter_DeleteData__SWIG_0); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomIter_DeleteData__SWIG_3); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomIter_DeleteData'"); XSRETURN(0); }
XS(_wrap__OBMolAtomIter_CloneData) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    OpenBabel::OBGenericData *arg2 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomIter_CloneData(self,d);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_CloneData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomIter_CloneData" "', argument " "2"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBGenericData * >(argp2); (*arg1)->CloneData(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_DataSize) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; size_t result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomIter_DataSize(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_DataSize" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (*arg1)->DataSize();
    ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1(static_cast< size_t >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetData__SWIG_0) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0;
    OpenBabel::OBGenericData *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomIter_GetData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomIter_GetData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (OpenBabel::OBGenericData *)(*arg1)->GetData(arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetData__SWIG_1) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0;
    OpenBabel::OBGenericData *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomIter_GetData(self,std::string const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomIter_GetData" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolAtomIter_GetData" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  result = (OpenBabel::OBGenericData *)(*arg1)->GetData((std::string const &)*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, 0 | SWIG_SHADOW); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetData__SWIG_2) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    OpenBabel::OBGenericData *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomIter_GetData(self,char const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomIter_GetData" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); result = (OpenBabel::OBGenericData *)(*arg1)->GetData((char const *)arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, 0 | SWIG_SHADOW); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetData__SWIG_3) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::vector< OpenBabel::OBGenericData * > *result = 0 ; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBMolAtomIter_GetData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    result = (std::vector< OpenBabel::OBGenericData * > *) &(*arg1)->GetData();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetData__SWIG_4) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ;
    OpenBabel::DataOrigin arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0;
    std::vector< OpenBabel::OBGenericData * > result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomIter_GetData(self,source);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomIter_GetData" "', argument " "2"" of type '" "OpenBabel::DataOrigin""'"); }
      arg2 = static_cast< OpenBabel::DataOrigin >(val2); result = (*arg1)->GetData(arg2); { size_t len = (&result)->size();
      SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) {
        OpenBabel::OBGenericData *x = ((std::vector< OpenBabel::OBGenericData * > &)result)[i]; svs[i] = sv_newmortal();
        sv_setsv(svs[i], SWIG_NewPointerObj(x, SWIGTYPE_p_OpenBabel__OBGenericData, 0)); }  AV *myav = av_make(len, svs);
      delete[] svs; ST(argvi) = newRV_noinc((SV*) myav); sv_2mortal(ST(argvi)); argvi++; }  XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_GetData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_5; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_5;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 5;
        if (_rank == _rankm) goto dispatch; }  }  check_5: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomIter_GetData__SWIG_3); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomIter_GetData__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomIter_GetData__SWIG_4); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomIter_GetData__SWIG_1); return; case 5:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomIter_GetData__SWIG_2); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomIter_GetData'"); XSRETURN(0); }
XS(_wrap__OBMolAtomIter_GetAllData) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; unsigned int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0;
    std::vector< OpenBabel::OBGenericData * > result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomIter_GetAllData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_GetAllData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomIter_GetAllData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (*arg1)->GetAllData(arg2); { size_t len = (&result)->size();
      SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) {
        OpenBabel::OBGenericData *x = ((std::vector< OpenBabel::OBGenericData * > &)result)[i]; svs[i] = sv_newmortal();
        sv_setsv(svs[i], SWIG_NewPointerObj(x, SWIGTYPE_p_OpenBabel__OBGenericData, 0)); }  AV *myav = av_make(len, svs);
      delete[] svs; ST(argvi) = newRV_noinc((SV*) myav); sv_2mortal(ST(argvi)); argvi++; }  XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_BeginData) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBGenericData * >::iterator > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBMolAtomIter_BeginData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_BeginData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (*arg1)->BeginData();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBDataIterator(static_cast< const OpenBabel::OBDataIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomIter_EndData) { { OpenBabel::OBMolAtomIter *arg1 = (OpenBabel::OBMolAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBGenericData * >::iterator > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBMolAtomIter_EndData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomIter_EndData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomIter * >(argp1); result = (*arg1)->EndData();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBDataIterator(static_cast< const OpenBabel::OBDataIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBMolAtomDFSIter__SWIG_0) { { int argvi = 0; OpenBabel::OBMolAtomDFSIter *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new__OBMolAtomDFSIter();"); } 
    result = (OpenBabel::OBMolAtomDFSIter *)new OpenBabel::OBMolAtomDFSIter();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBMolAtomDFSIter__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::OBMolAtomDFSIter *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: new__OBMolAtomDFSIter(mol,StartIndex);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new__OBMolAtomDFSIter" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new__OBMolAtomDFSIter" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (OpenBabel::OBMolAtomDFSIter *)new OpenBabel::OBMolAtomDFSIter(arg1,arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBMolAtomDFSIter__SWIG_2) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBMolAtomDFSIter *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new__OBMolAtomDFSIter(mol);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new__OBMolAtomDFSIter" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    result = (OpenBabel::OBMolAtomDFSIter *)new OpenBabel::OBMolAtomDFSIter(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBMolAtomDFSIter__SWIG_3) { { OpenBabel::OBMolAtomDFSIter *arg1 = 0 ; void *argp1 ; int res1 = 0 ; int argvi = 0;
    OpenBabel::OBMolAtomDFSIter *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new__OBMolAtomDFSIter(ai);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new__OBMolAtomDFSIter" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new__OBMolAtomDFSIter" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    result = (OpenBabel::OBMolAtomDFSIter *)new OpenBabel::OBMolAtomDFSIter((OpenBabel::OBMolAtomDFSIter const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBMolAtomDFSIter) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_4;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 4;
        if (_rank == _rankm) goto dispatch; }  }  check_4: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new__OBMolAtomDFSIter__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new__OBMolAtomDFSIter__SWIG_2); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new__OBMolAtomDFSIter__SWIG_3); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new__OBMolAtomDFSIter__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'new__OBMolAtomDFSIter'"); XSRETURN(0); }
XS(_wrap_delete__OBMolAtomDFSIter) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: delete__OBMolAtomDFSIter(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete__OBMolAtomDFSIter" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_good) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_good(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_good" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    result = (bool)((OpenBabel::OBMolAtomDFSIter const *)arg1)->operator bool();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_inc__SWIG_0) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::OBMolAtomDFSIter *result = 0 ; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBMolAtomDFSIter_inc(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_inc" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    result = (OpenBabel::OBMolAtomDFSIter *) &(arg1)->operator ++();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_inc__SWIG_1) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::OBMolAtomDFSIter result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomDFSIter_inc(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_inc" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomDFSIter_inc" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (arg1)->operator ++(arg2);
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBMolAtomDFSIter(static_cast< const OpenBabel::OBMolAtomDFSIter& >(result))), SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_inc) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomDFSIter_inc__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomDFSIter_inc__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomDFSIter_inc'"); XSRETURN(0); }
XS(_wrap__OBMolAtomDFSIter_deref) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_deref(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_deref" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    result = (OpenBabel::OBAtom *)((OpenBabel::OBMolAtomDFSIter const *)arg1)->operator ->();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter___ref__) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter___ref__(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter___ref__" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    result = (OpenBabel::OBAtom *) &((OpenBabel::OBMolAtomDFSIter const *)arg1)->operator *();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter__next) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter__next(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter__next" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (OpenBabel::OBAtom *)(arg1)->next();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_Visit_set) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ; bool arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_Visit_set(self,Visit);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_Visit_set" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomDFSIter_Visit_set" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); if (arg1) (*arg1)->Visit = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_Visit_get) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_Visit_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_Visit_get" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool) ((*arg1)->Visit);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter___eq__) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter___eq__(self,other);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter___eq__" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomDFSIter___eq__" "', argument " "2"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2);
    result = (bool)(*arg1)->operator ==((OpenBabel::OBAtom const *)arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_Duplicate) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_Duplicate(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_Duplicate" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomDFSIter_Duplicate" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); (*arg1)->Duplicate(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_SetIdx) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_SetIdx(self,idx);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_SetIdx" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomDFSIter_SetIdx" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (*arg1)->SetIdx(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_SetId) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    unsigned long arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned long val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomDFSIter_SetId(self,id);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_SetId" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomDFSIter_SetId" "', argument " "2"" of type '" "unsigned long""'"); }
      arg2 = static_cast< unsigned long >(val2); (*arg1)->SetId(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_SetHyb) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_SetHyb(self,hyb);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_SetHyb" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomDFSIter_SetHyb" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (*arg1)->SetHyb(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_SetAtomicNum) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_SetAtomicNum(self,atomicnum);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_SetAtomicNum" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomDFSIter_SetAtomicNum" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (*arg1)->SetAtomicNum(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_SetIsotope) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomDFSIter_SetIsotope(self,iso);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_SetIsotope" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomDFSIter_SetIsotope" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); (*arg1)->SetIsotope(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_SetImplicitValence) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomDFSIter_SetImplicitValence(self,val);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_SetImplicitValence" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomDFSIter_SetImplicitValence" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (*arg1)->SetImplicitValence(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_IncrementImplicitValence) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_IncrementImplicitValence(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_IncrementImplicitValence" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); (*arg1)->IncrementImplicitValence();
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_DecrementImplicitValence) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_DecrementImplicitValence(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_DecrementImplicitValence" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); (*arg1)->DecrementImplicitValence();
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_SetFormalCharge) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomDFSIter_SetFormalCharge(self,fcharge);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_SetFormalCharge" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomDFSIter_SetFormalCharge" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (*arg1)->SetFormalCharge(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_SetSpinMultiplicity) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    short arg2 ; void *argp1 = 0 ; int res1 = 0 ; short val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomDFSIter_SetSpinMultiplicity(self,spin);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_SetSpinMultiplicity" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    ecode2 = SWIG_AsVal_short SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomDFSIter_SetSpinMultiplicity" "', argument " "2"" of type '" "short""'"); }
      arg2 = static_cast< short >(val2); (*arg1)->SetSpinMultiplicity(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_SetType__SWIG_0) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomDFSIter_SetType(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_SetType" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomDFSIter_SetType" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); (*arg1)->SetType((char const *)arg2); ST(argvi) = sv_newmortal();
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_SetType__SWIG_1) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomDFSIter_SetType(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_SetType" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomDFSIter_SetType" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolAtomDFSIter_SetType" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  (*arg1)->SetType((std::string const &)*arg2); ST(argvi) = sv_newmortal();
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_SetType) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomDFSIter_SetType__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomDFSIter_SetType__SWIG_0); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomDFSIter_SetType'"); XSRETURN(0); }
XS(_wrap__OBMolAtomDFSIter_SetPartialCharge) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomDFSIter_SetPartialCharge(self,pcharge);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_SetPartialCharge" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomDFSIter_SetPartialCharge" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); (*arg1)->SetPartialCharge(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_SetVector__SWIG_0) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    OpenBabel::vector3 *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomDFSIter_SetVector(self,v);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_SetVector" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomDFSIter_SetVector" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolAtomDFSIter_SetVector" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2); (*arg1)->SetVector((OpenBabel::vector3 const &)*arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_SetVector__SWIG_1) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    double arg2 ; double arg3 ; double arg4 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; double val3 ;
    int ecode3 = 0 ; double val4 ; int ecode4 = 0 ; int argvi = 0; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_SetVector(self,x,y,z);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_SetVector" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomDFSIter_SetVector" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "_OBMolAtomDFSIter_SetVector" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "_OBMolAtomDFSIter_SetVector" "', argument " "4"" of type '" "double""'"); }
      arg4 = static_cast< double >(val4); (*arg1)->SetVector(arg2,arg3,arg4); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_SetVector__SWIG_2) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_SetVector(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_SetVector" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); (*arg1)->SetVector(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_SetVector) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 4) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomDFSIter_SetVector__SWIG_2); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomDFSIter_SetVector__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomDFSIter_SetVector__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomDFSIter_SetVector'"); XSRETURN(0); }
XS(_wrap__OBMolAtomDFSIter_SetCoordPtr) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    double **arg2 = (double **) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomDFSIter_SetCoordPtr(self,c);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_SetCoordPtr" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_p_double, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomDFSIter_SetCoordPtr" "', argument " "2"" of type '" "double **""'");  }
     arg2 = reinterpret_cast< double ** >(argp2); (*arg1)->SetCoordPtr(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_SetResidue) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    OpenBabel::OBResidue *arg2 = (OpenBabel::OBResidue *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomDFSIter_SetResidue(self,res);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_SetResidue" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomDFSIter_SetResidue" "', argument " "2"" of type '" "OpenBabel::OBResidue *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBResidue * >(argp2); (*arg1)->SetResidue(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_SetParent) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    OpenBabel::OBMol *arg2 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomDFSIter_SetParent(self,ptr);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_SetParent" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomDFSIter_SetParent" "', argument " "2"" of type '" "OpenBabel::OBMol *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); (*arg1)->SetParent(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_SetAromatic) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_SetAromatic(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_SetAromatic" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); (*arg1)->SetAromatic(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_UnsetAromatic) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_UnsetAromatic(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_UnsetAromatic" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); (*arg1)->UnsetAromatic(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_SetClockwiseStereo) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_SetClockwiseStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_SetClockwiseStereo" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); (*arg1)->SetClockwiseStereo(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_SetAntiClockwiseStereo) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_SetAntiClockwiseStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_SetAntiClockwiseStereo" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); (*arg1)->SetAntiClockwiseStereo();
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_SetPositiveStereo) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_SetPositiveStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_SetPositiveStereo" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); (*arg1)->SetPositiveStereo(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_SetNegativeStereo) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_SetNegativeStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_SetNegativeStereo" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); (*arg1)->SetNegativeStereo(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_UnsetStereo) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_UnsetStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_UnsetStereo" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); (*arg1)->UnsetStereo(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_SetInRing) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_SetInRing(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_SetInRing" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); (*arg1)->SetInRing(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_SetChiral) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_SetChiral(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_SetChiral" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); (*arg1)->SetChiral(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_ClearCoordPtr) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_ClearCoordPtr(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_ClearCoordPtr" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); (*arg1)->ClearCoordPtr(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetFormalCharge) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_GetFormalCharge(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetFormalCharge" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (int)(*arg1)->GetFormalCharge();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetAtomicNum) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_GetAtomicNum(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetAtomicNum" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (unsigned int)(*arg1)->GetAtomicNum();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetIsotope) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned short result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_GetIsotope(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetIsotope" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (unsigned short)(*arg1)->GetIsotope();
    ST(argvi) = SWIG_From_unsigned_SS_short  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned short >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetSpinMultiplicity) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_GetSpinMultiplicity(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetSpinMultiplicity" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (int)(*arg1)->GetSpinMultiplicity();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetAtomicMass) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_GetAtomicMass(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetAtomicMass" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (double)(*arg1)->GetAtomicMass();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetExactMass) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_GetExactMass(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetExactMass" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (double)(*arg1)->GetExactMass();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetIdx) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_GetIdx(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetIdx" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (unsigned int)(*arg1)->GetIdx();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetIndex) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_GetIndex(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetIndex" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (unsigned int)(*arg1)->GetIndex();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetId) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned long result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_GetId(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetId" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (unsigned long)(*arg1)->GetId();
    ST(argvi) = SWIG_From_unsigned_SS_long  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned long >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetCoordinateIdx) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_GetCoordinateIdx(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetCoordinateIdx" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (unsigned int)(*arg1)->GetCoordinateIdx();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetCIdx) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_GetCIdx(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetCIdx" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (unsigned int)(*arg1)->GetCIdx();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetValence) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_GetValence(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetValence" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (unsigned int)(*arg1)->GetValence();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetHyb) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_GetHyb(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetHyb" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (unsigned int)(*arg1)->GetHyb();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetImplicitValence) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_GetImplicitValence(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetImplicitValence" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (unsigned int)(*arg1)->GetImplicitValence();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetHvyValence) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_GetHvyValence(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetHvyValence" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (unsigned int)(*arg1)->GetHvyValence();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetHeteroValence) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_GetHeteroValence(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetHeteroValence" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (unsigned int)(*arg1)->GetHeteroValence();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetType) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_GetType(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetType" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (char *)(*arg1)->GetType();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetX) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_GetX(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetX" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (double)(*arg1)->GetX();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetY) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_GetY(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetY" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (double)(*arg1)->GetY();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetZ) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_GetZ(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetZ" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (double)(*arg1)->GetZ();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_x) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_x(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_x" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (double)(*arg1)->x();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_y) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_y(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_y" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (double)(*arg1)->y();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_z) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_z(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_z" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (double)(*arg1)->z();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetCoordinate) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_GetCoordinate(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetCoordinate" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (double *)(*arg1)->GetCoordinate();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetVector__SWIG_0) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::vector3 *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_GetVector(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetVector" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (OpenBabel::vector3 *) &(*arg1)->GetVector();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__vector3, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetVector__SWIG_1) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::vector3 *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_GetVector(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetVector" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (OpenBabel::vector3 *) &(*arg1)->GetVector();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__vector3, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetVector) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomDFSIter_GetVector__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomDFSIter_GetVector__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomDFSIter_GetVector'"); XSRETURN(0); }
XS(_wrap__OBMolAtomDFSIter_GetPartialCharge) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_GetPartialCharge(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetPartialCharge" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (double)(*arg1)->GetPartialCharge();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetResidue__SWIG_0) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::OBResidue *result = 0 ; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBMolAtomDFSIter_GetResidue(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetResidue" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (OpenBabel::OBResidue *)(*arg1)->GetResidue();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBResidue, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetResidue__SWIG_1) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::OBResidue *result = 0 ;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomDFSIter_GetResidue(self,perception);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetResidue" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomDFSIter_GetResidue" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (OpenBabel::OBResidue *)(*arg1)->GetResidue(arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBResidue, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetResidue) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomDFSIter_GetResidue__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomDFSIter_GetResidue__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomDFSIter_GetResidue'"); XSRETURN(0); }
XS(_wrap__OBMolAtomDFSIter_GetParent) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::OBMol *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_GetParent(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetParent" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (OpenBabel::OBMol *)(*arg1)->GetParent();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMol, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetNewBondVector) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    OpenBabel::vector3 *arg2 = 0 ; double arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; double val3 ;
    int ecode3 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_GetNewBondVector(self,v,length);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetNewBondVector" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomDFSIter_GetNewBondVector" "', argument " "2"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolAtomDFSIter_GetNewBondVector" "', argument " "2"" of type '" "OpenBabel::vector3 &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "_OBMolAtomDFSIter_GetNewBondVector" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); result = (bool)(*arg1)->GetNewBondVector(*arg2,arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetBond) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; OpenBabel::OBBond *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_GetBond(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetBond" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomDFSIter_GetBond" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (OpenBabel::OBBond *)(*arg1)->GetBond(arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBond, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetNextAtom) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_GetNextAtom(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetNextAtom" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (OpenBabel::OBAtom *)(*arg1)->GetNextAtom();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_BeginBonds) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBBond * >::iterator > result;
    dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBMolAtomDFSIter_BeginBonds(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_BeginBonds" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (*arg1)->BeginBonds();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBBondIterator(static_cast< const OpenBabel::OBBondIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_EndBonds) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBBond * >::iterator > result;
    dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBMolAtomDFSIter_EndBonds(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_EndBonds" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (*arg1)->EndBonds();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBBondIterator(static_cast< const OpenBabel::OBBondIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_BeginBond) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    OpenBabel::OBBondIterator *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    OpenBabel::OBBond *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_BeginBond(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_BeginBond" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomDFSIter_BeginBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolAtomDFSIter_BeginBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBondIterator * >(argp2); result = (OpenBabel::OBBond *)(*arg1)->BeginBond(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBond, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_NextBond) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    OpenBabel::OBBondIterator *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    OpenBabel::OBBond *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_NextBond(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_NextBond" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomDFSIter_NextBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolAtomDFSIter_NextBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBondIterator * >(argp2); result = (OpenBabel::OBBond *)(*arg1)->NextBond(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBond, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_BeginNbrAtom) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    OpenBabel::OBBondIterator *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_BeginNbrAtom(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_BeginNbrAtom" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomDFSIter_BeginNbrAtom" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolAtomDFSIter_BeginNbrAtom" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBondIterator * >(argp2); result = (OpenBabel::OBAtom *)(*arg1)->BeginNbrAtom(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_NextNbrAtom) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    OpenBabel::OBBondIterator *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_NextNbrAtom(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_NextNbrAtom" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomDFSIter_NextNbrAtom" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolAtomDFSIter_NextNbrAtom" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBondIterator * >(argp2); result = (OpenBabel::OBAtom *)(*arg1)->NextNbrAtom(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetDistance__SWIG_0) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomDFSIter_GetDistance(self,index);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetDistance" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomDFSIter_GetDistance" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (double)(*arg1)->GetDistance(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetDistance__SWIG_1) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_GetDistance(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetDistance" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomDFSIter_GetDistance" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (double)(*arg1)->GetDistance(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetDistance) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomDFSIter_GetDistance__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomDFSIter_GetDistance__SWIG_0); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomDFSIter_GetDistance'"); XSRETURN(0); }
XS(_wrap__OBMolAtomDFSIter_GetAngle__SWIG_0) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_GetAngle(self,b,c);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetAngle" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomDFSIter_GetAngle" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "_OBMolAtomDFSIter_GetAngle" "', argument " "3"" of type '" "int""'"); }
      arg3 = static_cast< int >(val3); result = (double)(*arg1)->GetAngle(arg2,arg3);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetAngle__SWIG_1) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; OpenBabel::OBAtom *arg3 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: _OBMolAtomDFSIter_GetAngle(self,b,c);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetAngle" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomDFSIter_GetAngle" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "_OBMolAtomDFSIter_GetAngle" "', argument " "3"" of type '" "OpenBabel::OBAtom *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBAtom * >(argp3); result = (double)(*arg1)->GetAngle(arg2,arg3);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetAngle) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    dispatch: switch(_index) { case 1: ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomDFSIter_GetAngle__SWIG_1); return;
      case 2: ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomDFSIter_GetAngle__SWIG_0); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomDFSIter_GetAngle'"); XSRETURN(0); }
XS(_wrap__OBMolAtomDFSIter_NewResidue) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_NewResidue(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_NewResidue" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); (*arg1)->NewResidue(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_AddResidue) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    OpenBabel::OBResidue *arg2 = (OpenBabel::OBResidue *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomDFSIter_AddResidue(self,res);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_AddResidue" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomDFSIter_AddResidue" "', argument " "2"" of type '" "OpenBabel::OBResidue *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBResidue * >(argp2); (*arg1)->AddResidue(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_DeleteResidue) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_DeleteResidue(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_DeleteResidue" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); (*arg1)->DeleteResidue(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_AddBond) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    OpenBabel::OBBond *arg2 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomDFSIter_AddBond(self,bond);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_AddBond" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomDFSIter_AddBond" "', argument " "2"" of type '" "OpenBabel::OBBond *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBond * >(argp2); (*arg1)->AddBond(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_InsertBond) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    OpenBabel::OBBondIterator *arg2 = 0 ; OpenBabel::OBBond *arg3 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_InsertBond(self,i,bond);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_InsertBond" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomDFSIter_InsertBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolAtomDFSIter_InsertBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBondIterator * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "_OBMolAtomDFSIter_InsertBond" "', argument " "3"" of type '" "OpenBabel::OBBond *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBBond * >(argp3); (*arg1)->InsertBond(*arg2,arg3); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_DeleteBond) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    OpenBabel::OBBond *arg2 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_DeleteBond(self,bond);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_DeleteBond" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomDFSIter_DeleteBond" "', argument " "2"" of type '" "OpenBabel::OBBond *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBond * >(argp2); result = (bool)(*arg1)->DeleteBond(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_ClearBond) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_ClearBond(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_ClearBond" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); (*arg1)->ClearBond(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_HtoMethyl) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_HtoMethyl(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_HtoMethyl" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->HtoMethyl();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_SetHybAndGeom) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomDFSIter_SetHybAndGeom(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_SetHybAndGeom" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomDFSIter_SetHybAndGeom" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (bool)(*arg1)->SetHybAndGeom(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_ForceNoH) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_ForceNoH(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_ForceNoH" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); (*arg1)->ForceNoH(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_HasNoHForced) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_HasNoHForced(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_HasNoHForced" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->HasNoHForced();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_ForceImplH) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_ForceImplH(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_ForceImplH" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); (*arg1)->ForceImplH(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_HasImplHForced) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_HasImplHForced(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_HasImplHForced" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->HasImplHForced();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_CountFreeOxygens) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_CountFreeOxygens(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_CountFreeOxygens" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (unsigned int)(*arg1)->CountFreeOxygens();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_ImplicitHydrogenCount) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_ImplicitHydrogenCount(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_ImplicitHydrogenCount" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (unsigned int)(*arg1)->ImplicitHydrogenCount();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_ExplicitHydrogenCount__SWIG_0) { {
    OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ;
    bool val2 ; int ecode2 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_ExplicitHydrogenCount(self,ExcludeIsotopes);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_ExplicitHydrogenCount" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomDFSIter_ExplicitHydrogenCount" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (unsigned int)(*arg1)->ExplicitHydrogenCount(arg2);
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_ExplicitHydrogenCount__SWIG_1) { {
    OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_ExplicitHydrogenCount(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_ExplicitHydrogenCount" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (unsigned int)(*arg1)->ExplicitHydrogenCount();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_ExplicitHydrogenCount) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0; 
    if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomDFSIter_ExplicitHydrogenCount__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomDFSIter_ExplicitHydrogenCount__SWIG_0); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomDFSIter_ExplicitHydrogenCount'"); XSRETURN(0); }
XS(_wrap__OBMolAtomDFSIter_MemberOfRingCount) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_MemberOfRingCount(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_MemberOfRingCount" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (unsigned int)(*arg1)->MemberOfRingCount();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_MemberOfRingSize) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_MemberOfRingSize(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_MemberOfRingSize" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (unsigned int)(*arg1)->MemberOfRingSize();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_CountRingBonds) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_CountRingBonds(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_CountRingBonds" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (unsigned int)(*arg1)->CountRingBonds();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_SmallestBondAngle) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_SmallestBondAngle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_SmallestBondAngle" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (double)(*arg1)->SmallestBondAngle();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_AverageBondAngle) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_AverageBondAngle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_AverageBondAngle" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (double)(*arg1)->AverageBondAngle();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_BOSum) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_BOSum(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_BOSum" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (unsigned int)(*arg1)->BOSum();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_KBOSum) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_KBOSum(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_KBOSum" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (unsigned int)(*arg1)->KBOSum();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_HasResidue) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_HasResidue(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_HasResidue" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->HasResidue();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_IsHydrogen__SWIG_0) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_IsHydrogen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_IsHydrogen" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->IsHydrogen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_IsHydrogen__SWIG_1) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_IsHydrogen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_IsHydrogen" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->IsHydrogen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_IsHydrogen) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomDFSIter_IsHydrogen__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomDFSIter_IsHydrogen__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomDFSIter_IsHydrogen'"); XSRETURN(0); }
XS(_wrap__OBMolAtomDFSIter_IsCarbon) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_IsCarbon(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_IsCarbon" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->IsCarbon();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_IsNitrogen) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_IsNitrogen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_IsNitrogen" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->IsNitrogen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_IsOxygen) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_IsOxygen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_IsOxygen" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->IsOxygen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_IsSulfur) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_IsSulfur(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_IsSulfur" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->IsSulfur();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_IsPhosphorus) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_IsPhosphorus(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_IsPhosphorus" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->IsPhosphorus();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_IsAromatic) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_IsAromatic(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_IsAromatic" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->IsAromatic();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_IsInRing) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_IsInRing(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_IsInRing" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->IsInRing();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_IsInRingSize) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomDFSIter_IsInRingSize(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_IsInRingSize" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomDFSIter_IsInRingSize" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (bool)(*arg1)->IsInRingSize(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_IsHeteroatom) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_IsHeteroatom(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_IsHeteroatom" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->IsHeteroatom();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_IsNotCorH) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_IsNotCorH(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_IsNotCorH" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->IsNotCorH();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_IsConnected) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_IsConnected(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_IsConnected" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomDFSIter_IsConnected" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (bool)(*arg1)->IsConnected(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_IsOneThree) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_IsOneThree(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_IsOneThree" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomDFSIter_IsOneThree" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (bool)(*arg1)->IsOneThree(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_IsOneFour) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_IsOneFour(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_IsOneFour" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomDFSIter_IsOneFour" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (bool)(*arg1)->IsOneFour(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_IsCarboxylOxygen) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_IsCarboxylOxygen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_IsCarboxylOxygen" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->IsCarboxylOxygen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_IsPhosphateOxygen) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_IsPhosphateOxygen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_IsPhosphateOxygen" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->IsPhosphateOxygen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_IsSulfateOxygen) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_IsSulfateOxygen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_IsSulfateOxygen" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->IsSulfateOxygen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_IsNitroOxygen) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_IsNitroOxygen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_IsNitroOxygen" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->IsNitroOxygen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_IsAmideNitrogen) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_IsAmideNitrogen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_IsAmideNitrogen" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->IsAmideNitrogen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_IsPolarHydrogen) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_IsPolarHydrogen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_IsPolarHydrogen" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->IsPolarHydrogen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_IsNonPolarHydrogen) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_IsNonPolarHydrogen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_IsNonPolarHydrogen" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->IsNonPolarHydrogen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_IsAromaticNOxide) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_IsAromaticNOxide(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_IsAromaticNOxide" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->IsAromaticNOxide();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_IsChiral) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_IsChiral(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_IsChiral" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->IsChiral();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_IsAxial) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_IsAxial(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_IsAxial" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->IsAxial();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_IsClockwise) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_IsClockwise(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_IsClockwise" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->IsClockwise();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_IsAntiClockwise) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_IsAntiClockwise(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_IsAntiClockwise" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->IsAntiClockwise();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_IsPositiveStereo) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_IsPositiveStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_IsPositiveStereo" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->IsPositiveStereo();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_IsNegativeStereo) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_IsNegativeStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_IsNegativeStereo" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->IsNegativeStereo();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_HasChiralitySpecified) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_HasChiralitySpecified(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_HasChiralitySpecified" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->HasChiralitySpecified();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_HasChiralVolume) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_HasChiralVolume(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_HasChiralVolume" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->HasChiralVolume();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_IsHbondAcceptor) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_IsHbondAcceptor(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_IsHbondAcceptor" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->IsHbondAcceptor();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_IsHbondDonor) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_IsHbondDonor(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_IsHbondDonor" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->IsHbondDonor();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_IsHbondDonorH) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_IsHbondDonorH(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_IsHbondDonorH" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->IsHbondDonorH();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_HasAlphaBetaUnsat__SWIG_0) { {
    OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ;
    bool val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_HasAlphaBetaUnsat(self,includePandS);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_HasAlphaBetaUnsat" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomDFSIter_HasAlphaBetaUnsat" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (bool)(*arg1)->HasAlphaBetaUnsat(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_HasAlphaBetaUnsat__SWIG_1) { {
    OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBMolAtomDFSIter_HasAlphaBetaUnsat(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_HasAlphaBetaUnsat" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->HasAlphaBetaUnsat();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_HasAlphaBetaUnsat) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomDFSIter_HasAlphaBetaUnsat__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomDFSIter_HasAlphaBetaUnsat__SWIG_0); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomDFSIter_HasAlphaBetaUnsat'"); XSRETURN(0); }
XS(_wrap__OBMolAtomDFSIter_HasBondOfOrder) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomDFSIter_HasBondOfOrder(self,bo);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_HasBondOfOrder" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomDFSIter_HasBondOfOrder" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (bool)(*arg1)->HasBondOfOrder(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_CountBondsOfOrder) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; int result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomDFSIter_CountBondsOfOrder(self,bo);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_CountBondsOfOrder" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomDFSIter_CountBondsOfOrder" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (int)(*arg1)->CountBondsOfOrder(arg2);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_HasNonSingleBond) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_HasNonSingleBond(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_HasNonSingleBond" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->HasNonSingleBond();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_HasSingleBond) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_HasSingleBond(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_HasSingleBond" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->HasSingleBond();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_HasDoubleBond) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_HasDoubleBond(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_HasDoubleBond" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->HasDoubleBond();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_HasAromaticBond) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_HasAromaticBond(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_HasAromaticBond" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->HasAromaticBond();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_MatchesSMARTS) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_MatchesSMARTS(self,char const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_MatchesSMARTS" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomDFSIter_MatchesSMARTS" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); result = (bool)(*arg1)->MatchesSMARTS((char const *)arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_Clear) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_Clear(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_Clear" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (bool)(*arg1)->Clear();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_DoTransformations) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    std::map< std::string,std::string > *arg2 = (std::map< std::string,std::string > *) 0 ;
    OpenBabel::OBConversion *arg3 = (OpenBabel::OBConversion *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; OpenBabel::OBBase *result = 0 ; dXSARGS;
    if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_DoTransformations(self,std::map< std::string,std::string > const *,OpenBabel::OBConversion *);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_DoTransformations" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomDFSIter_DoTransformations" "', argument " "2"" of type '" "std::map< std::string,std::string > const *""'");  }
     arg2 = reinterpret_cast< std::map< std::string,std::string > * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "_OBMolAtomDFSIter_DoTransformations" "', argument " "3"" of type '" "OpenBabel::OBConversion *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBConversion * >(argp3);
    result = (OpenBabel::OBBase *)(*arg1)->DoTransformations((std::map< std::string,std::string > const *)arg2,arg3);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBase, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_ClassDescription) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_ClassDescription(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_ClassDescription" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (char *)(*arg1)->ClassDescription();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetTitle__SWIG_0) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomDFSIter_GetTitle(self,replaceNewlines);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetTitle" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomDFSIter_GetTitle" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (char *)(*arg1)->GetTitle(arg2);
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetTitle__SWIG_1) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_GetTitle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetTitle" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (char *)(*arg1)->GetTitle();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetTitle) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomDFSIter_GetTitle__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomDFSIter_GetTitle__SWIG_0); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomDFSIter_GetTitle'"); XSRETURN(0); }
XS(_wrap__OBMolAtomDFSIter_SetTitle) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomDFSIter_SetTitle(self,char const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_SetTitle" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomDFSIter_SetTitle" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); (*arg1)->SetTitle((char const *)arg2); ST(argvi) = sv_newmortal();
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_HasData__SWIG_0) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomDFSIter_HasData(self,std::string const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_HasData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomDFSIter_HasData" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolAtomDFSIter_HasData" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  result = (bool)(*arg1)->HasData((std::string const &)*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_HasData__SWIG_1) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomDFSIter_HasData(self,char const *);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_HasData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomDFSIter_HasData" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); result = (bool)(*arg1)->HasData((char const *)arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_HasData__SWIG_2) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomDFSIter_HasData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_HasData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomDFSIter_HasData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (bool)(*arg1)->HasData(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_HasData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomDFSIter_HasData__SWIG_2); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomDFSIter_HasData__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomDFSIter_HasData__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomDFSIter_HasData'"); XSRETURN(0); }
XS(_wrap__OBMolAtomDFSIter_DeleteData__SWIG_0) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomDFSIter_DeleteData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomDFSIter_DeleteData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); (*arg1)->DeleteData(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_DeleteData__SWIG_1) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    OpenBabel::OBGenericData *arg2 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_DeleteData(self,OpenBabel::OBGenericData *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomDFSIter_DeleteData" "', argument " "2"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBGenericData * >(argp2); (*arg1)->DeleteData(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_DeleteData__SWIG_2) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    std::vector< OpenBabel::OBGenericData * > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_DeleteData(self,std::vector< OpenBabel::OBGenericData * > &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomDFSIter_DeleteData" "', argument " "2"" of type '" "std::vector< OpenBabel::OBGenericData * > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolAtomDFSIter_DeleteData" "', argument " "2"" of type '" "std::vector< OpenBabel::OBGenericData * > &""'"); }
     arg2 = reinterpret_cast< std::vector< OpenBabel::OBGenericData * > * >(argp2); (*arg1)->DeleteData(*arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_DeleteData__SWIG_3) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomDFSIter_DeleteData(self,s);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomDFSIter_DeleteData" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolAtomDFSIter_DeleteData" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  result = (bool)(*arg1)->DeleteData((std::string const &)*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_DeleteData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBGenericData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t, 0);
        _v = SWIG_CheckState(res);}  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomDFSIter_DeleteData__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomDFSIter_DeleteData__SWIG_2); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomDFSIter_DeleteData__SWIG_0); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomDFSIter_DeleteData__SWIG_3); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomDFSIter_DeleteData'"); XSRETURN(0); }
XS(_wrap__OBMolAtomDFSIter_CloneData) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    OpenBabel::OBGenericData *arg2 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_CloneData(self,d);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_CloneData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomDFSIter_CloneData" "', argument " "2"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBGenericData * >(argp2); (*arg1)->CloneData(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_DataSize) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; size_t result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_DataSize(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_DataSize" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (*arg1)->DataSize();
    ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1(static_cast< size_t >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetData__SWIG_0) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0;
    OpenBabel::OBGenericData *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_GetData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomDFSIter_GetData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (OpenBabel::OBGenericData *)(*arg1)->GetData(arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetData__SWIG_1) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0;
    OpenBabel::OBGenericData *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_GetData(self,std::string const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomDFSIter_GetData" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolAtomDFSIter_GetData" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  result = (OpenBabel::OBGenericData *)(*arg1)->GetData((std::string const &)*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, 0 | SWIG_SHADOW); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetData__SWIG_2) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    OpenBabel::OBGenericData *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_GetData(self,char const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomDFSIter_GetData" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); result = (OpenBabel::OBGenericData *)(*arg1)->GetData((char const *)arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, 0 | SWIG_SHADOW); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetData__SWIG_3) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; std::vector< OpenBabel::OBGenericData * > *result = 0 ; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBMolAtomDFSIter_GetData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    result = (std::vector< OpenBabel::OBGenericData * > *) &(*arg1)->GetData();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetData__SWIG_4) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    OpenBabel::DataOrigin arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0;
    std::vector< OpenBabel::OBGenericData * > result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_GetData(self,source);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomDFSIter_GetData" "', argument " "2"" of type '" "OpenBabel::DataOrigin""'"); }
      arg2 = static_cast< OpenBabel::DataOrigin >(val2); result = (*arg1)->GetData(arg2); { size_t len = (&result)->size();
      SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) {
        OpenBabel::OBGenericData *x = ((std::vector< OpenBabel::OBGenericData * > &)result)[i]; svs[i] = sv_newmortal();
        sv_setsv(svs[i], SWIG_NewPointerObj(x, SWIGTYPE_p_OpenBabel__OBGenericData, 0)); }  AV *myav = av_make(len, svs);
      delete[] svs; ST(argvi) = newRV_noinc((SV*) myav); sv_2mortal(ST(argvi)); argvi++; }  XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_GetData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_5; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_5;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 5;
        if (_rank == _rankm) goto dispatch; }  }  check_5: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomDFSIter_GetData__SWIG_3); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomDFSIter_GetData__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomDFSIter_GetData__SWIG_4); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomDFSIter_GetData__SWIG_1); return; case 5:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomDFSIter_GetData__SWIG_2); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomDFSIter_GetData'"); XSRETURN(0); }
XS(_wrap__OBMolAtomDFSIter_GetAllData) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0;
    std::vector< OpenBabel::OBGenericData * > result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_GetAllData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_GetAllData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomDFSIter_GetAllData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (*arg1)->GetAllData(arg2); { size_t len = (&result)->size();
      SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) {
        OpenBabel::OBGenericData *x = ((std::vector< OpenBabel::OBGenericData * > &)result)[i]; svs[i] = sv_newmortal();
        sv_setsv(svs[i], SWIG_NewPointerObj(x, SWIGTYPE_p_OpenBabel__OBGenericData, 0)); }  AV *myav = av_make(len, svs);
      delete[] svs; ST(argvi) = newRV_noinc((SV*) myav); sv_2mortal(ST(argvi)); argvi++; }  XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_BeginData) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    SwigValueWrapper< std::vector< OpenBabel::OBGenericData * >::iterator > result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_BeginData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_BeginData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (*arg1)->BeginData();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBDataIterator(static_cast< const OpenBabel::OBDataIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomDFSIter_EndData) { { OpenBabel::OBMolAtomDFSIter *arg1 = (OpenBabel::OBMolAtomDFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    SwigValueWrapper< std::vector< OpenBabel::OBGenericData * >::iterator > result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomDFSIter_EndData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomDFSIter_EndData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomDFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomDFSIter * >(argp1); result = (*arg1)->EndData();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBDataIterator(static_cast< const OpenBabel::OBDataIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBMolAtomBFSIter__SWIG_0) { { int argvi = 0; OpenBabel::OBMolAtomBFSIter *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new__OBMolAtomBFSIter();"); } 
    result = (OpenBabel::OBMolAtomBFSIter *)new OpenBabel::OBMolAtomBFSIter();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBMolAtomBFSIter__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::OBMolAtomBFSIter *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: new__OBMolAtomBFSIter(mol,StartIndex);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new__OBMolAtomBFSIter" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new__OBMolAtomBFSIter" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (OpenBabel::OBMolAtomBFSIter *)new OpenBabel::OBMolAtomBFSIter(arg1,arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBMolAtomBFSIter__SWIG_2) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBMolAtomBFSIter *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new__OBMolAtomBFSIter(mol);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new__OBMolAtomBFSIter" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    result = (OpenBabel::OBMolAtomBFSIter *)new OpenBabel::OBMolAtomBFSIter(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBMolAtomBFSIter__SWIG_3) { { OpenBabel::OBMolAtomBFSIter *arg1 = 0 ; void *argp1 ; int res1 = 0 ; int argvi = 0;
    OpenBabel::OBMolAtomBFSIter *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new__OBMolAtomBFSIter(ai);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new__OBMolAtomBFSIter" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new__OBMolAtomBFSIter" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    result = (OpenBabel::OBMolAtomBFSIter *)new OpenBabel::OBMolAtomBFSIter((OpenBabel::OBMolAtomBFSIter const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBMolAtomBFSIter) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_4;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 4;
        if (_rank == _rankm) goto dispatch; }  }  check_4: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new__OBMolAtomBFSIter__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new__OBMolAtomBFSIter__SWIG_2); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new__OBMolAtomBFSIter__SWIG_3); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new__OBMolAtomBFSIter__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'new__OBMolAtomBFSIter'"); XSRETURN(0); }
XS(_wrap_delete__OBMolAtomBFSIter) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: delete__OBMolAtomBFSIter(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete__OBMolAtomBFSIter" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_good) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_good(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_good" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    result = (bool)((OpenBabel::OBMolAtomBFSIter const *)arg1)->operator bool();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_inc__SWIG_0) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::OBMolAtomBFSIter *result = 0 ; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBMolAtomBFSIter_inc(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_inc" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    result = (OpenBabel::OBMolAtomBFSIter *) &(arg1)->operator ++();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_inc__SWIG_1) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::OBMolAtomBFSIter result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomBFSIter_inc(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_inc" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomBFSIter_inc" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (arg1)->operator ++(arg2);
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBMolAtomBFSIter(static_cast< const OpenBabel::OBMolAtomBFSIter& >(result))), SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_inc) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomBFSIter_inc__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomBFSIter_inc__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomBFSIter_inc'"); XSRETURN(0); }
XS(_wrap__OBMolAtomBFSIter_deref) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_deref(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_deref" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    result = (OpenBabel::OBAtom *)((OpenBabel::OBMolAtomBFSIter const *)arg1)->operator ->();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter___ref__) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter___ref__(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter___ref__" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    result = (OpenBabel::OBAtom *) &((OpenBabel::OBMolAtomBFSIter const *)arg1)->operator *();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_CurrentDepth) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_CurrentDepth(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_CurrentDepth" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    result = (int)((OpenBabel::OBMolAtomBFSIter const *)arg1)->CurrentDepth();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_Visit_set) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ; bool arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_Visit_set(self,Visit);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_Visit_set" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomBFSIter_Visit_set" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); if (arg1) (*arg1)->Visit = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_Visit_get) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_Visit_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_Visit_get" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool) ((*arg1)->Visit);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter___eq__) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter___eq__(self,other);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter___eq__" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomBFSIter___eq__" "', argument " "2"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2);
    result = (bool)(*arg1)->operator ==((OpenBabel::OBAtom const *)arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_Duplicate) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_Duplicate(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_Duplicate" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomBFSIter_Duplicate" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); (*arg1)->Duplicate(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_SetIdx) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_SetIdx(self,idx);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_SetIdx" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomBFSIter_SetIdx" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (*arg1)->SetIdx(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_SetId) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    unsigned long arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned long val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomBFSIter_SetId(self,id);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_SetId" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomBFSIter_SetId" "', argument " "2"" of type '" "unsigned long""'"); }
      arg2 = static_cast< unsigned long >(val2); (*arg1)->SetId(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_SetHyb) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_SetHyb(self,hyb);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_SetHyb" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomBFSIter_SetHyb" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (*arg1)->SetHyb(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_SetAtomicNum) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_SetAtomicNum(self,atomicnum);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_SetAtomicNum" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomBFSIter_SetAtomicNum" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (*arg1)->SetAtomicNum(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_SetIsotope) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomBFSIter_SetIsotope(self,iso);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_SetIsotope" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomBFSIter_SetIsotope" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); (*arg1)->SetIsotope(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_SetImplicitValence) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomBFSIter_SetImplicitValence(self,val);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_SetImplicitValence" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomBFSIter_SetImplicitValence" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (*arg1)->SetImplicitValence(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_IncrementImplicitValence) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_IncrementImplicitValence(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_IncrementImplicitValence" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); (*arg1)->IncrementImplicitValence();
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_DecrementImplicitValence) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_DecrementImplicitValence(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_DecrementImplicitValence" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); (*arg1)->DecrementImplicitValence();
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_SetFormalCharge) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomBFSIter_SetFormalCharge(self,fcharge);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_SetFormalCharge" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomBFSIter_SetFormalCharge" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (*arg1)->SetFormalCharge(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_SetSpinMultiplicity) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    short arg2 ; void *argp1 = 0 ; int res1 = 0 ; short val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomBFSIter_SetSpinMultiplicity(self,spin);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_SetSpinMultiplicity" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_short SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomBFSIter_SetSpinMultiplicity" "', argument " "2"" of type '" "short""'"); }
      arg2 = static_cast< short >(val2); (*arg1)->SetSpinMultiplicity(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_SetType__SWIG_0) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomBFSIter_SetType(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_SetType" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomBFSIter_SetType" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); (*arg1)->SetType((char const *)arg2); ST(argvi) = sv_newmortal();
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_SetType__SWIG_1) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomBFSIter_SetType(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_SetType" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomBFSIter_SetType" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolAtomBFSIter_SetType" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  (*arg1)->SetType((std::string const &)*arg2); ST(argvi) = sv_newmortal();
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_SetType) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomBFSIter_SetType__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomBFSIter_SetType__SWIG_0); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomBFSIter_SetType'"); XSRETURN(0); }
XS(_wrap__OBMolAtomBFSIter_SetPartialCharge) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomBFSIter_SetPartialCharge(self,pcharge);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_SetPartialCharge" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomBFSIter_SetPartialCharge" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); (*arg1)->SetPartialCharge(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_SetVector__SWIG_0) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    OpenBabel::vector3 *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomBFSIter_SetVector(self,v);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_SetVector" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomBFSIter_SetVector" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolAtomBFSIter_SetVector" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2); (*arg1)->SetVector((OpenBabel::vector3 const &)*arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_SetVector__SWIG_1) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    double arg2 ; double arg3 ; double arg4 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; double val3 ;
    int ecode3 = 0 ; double val4 ; int ecode4 = 0 ; int argvi = 0; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_SetVector(self,x,y,z);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_SetVector" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomBFSIter_SetVector" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "_OBMolAtomBFSIter_SetVector" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "_OBMolAtomBFSIter_SetVector" "', argument " "4"" of type '" "double""'"); }
      arg4 = static_cast< double >(val4); (*arg1)->SetVector(arg2,arg3,arg4); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_SetVector__SWIG_2) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_SetVector(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_SetVector" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); (*arg1)->SetVector(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_SetVector) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 4) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomBFSIter_SetVector__SWIG_2); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomBFSIter_SetVector__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomBFSIter_SetVector__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomBFSIter_SetVector'"); XSRETURN(0); }
XS(_wrap__OBMolAtomBFSIter_SetCoordPtr) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    double **arg2 = (double **) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomBFSIter_SetCoordPtr(self,c);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_SetCoordPtr" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_p_double, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomBFSIter_SetCoordPtr" "', argument " "2"" of type '" "double **""'");  }
     arg2 = reinterpret_cast< double ** >(argp2); (*arg1)->SetCoordPtr(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_SetResidue) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    OpenBabel::OBResidue *arg2 = (OpenBabel::OBResidue *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomBFSIter_SetResidue(self,res);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_SetResidue" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomBFSIter_SetResidue" "', argument " "2"" of type '" "OpenBabel::OBResidue *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBResidue * >(argp2); (*arg1)->SetResidue(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_SetParent) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    OpenBabel::OBMol *arg2 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomBFSIter_SetParent(self,ptr);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_SetParent" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomBFSIter_SetParent" "', argument " "2"" of type '" "OpenBabel::OBMol *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); (*arg1)->SetParent(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_SetAromatic) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_SetAromatic(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_SetAromatic" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); (*arg1)->SetAromatic(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_UnsetAromatic) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_UnsetAromatic(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_UnsetAromatic" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); (*arg1)->UnsetAromatic(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_SetClockwiseStereo) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_SetClockwiseStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_SetClockwiseStereo" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); (*arg1)->SetClockwiseStereo(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_SetAntiClockwiseStereo) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_SetAntiClockwiseStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_SetAntiClockwiseStereo" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); (*arg1)->SetAntiClockwiseStereo();
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_SetPositiveStereo) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_SetPositiveStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_SetPositiveStereo" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); (*arg1)->SetPositiveStereo(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_SetNegativeStereo) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_SetNegativeStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_SetNegativeStereo" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); (*arg1)->SetNegativeStereo(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_UnsetStereo) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_UnsetStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_UnsetStereo" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); (*arg1)->UnsetStereo(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_SetInRing) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_SetInRing(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_SetInRing" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); (*arg1)->SetInRing(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_SetChiral) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_SetChiral(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_SetChiral" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); (*arg1)->SetChiral(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_ClearCoordPtr) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_ClearCoordPtr(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_ClearCoordPtr" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); (*arg1)->ClearCoordPtr(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetFormalCharge) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_GetFormalCharge(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetFormalCharge" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (int)(*arg1)->GetFormalCharge();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetAtomicNum) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_GetAtomicNum(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetAtomicNum" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (unsigned int)(*arg1)->GetAtomicNum();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetIsotope) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned short result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_GetIsotope(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetIsotope" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (unsigned short)(*arg1)->GetIsotope();
    ST(argvi) = SWIG_From_unsigned_SS_short  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned short >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetSpinMultiplicity) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_GetSpinMultiplicity(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetSpinMultiplicity" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (int)(*arg1)->GetSpinMultiplicity();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetAtomicMass) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_GetAtomicMass(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetAtomicMass" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (double)(*arg1)->GetAtomicMass();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetExactMass) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_GetExactMass(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetExactMass" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (double)(*arg1)->GetExactMass();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetIdx) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_GetIdx(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetIdx" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (unsigned int)(*arg1)->GetIdx();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetIndex) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_GetIndex(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetIndex" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (unsigned int)(*arg1)->GetIndex();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetId) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned long result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_GetId(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetId" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (unsigned long)(*arg1)->GetId();
    ST(argvi) = SWIG_From_unsigned_SS_long  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned long >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetCoordinateIdx) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_GetCoordinateIdx(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetCoordinateIdx" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (unsigned int)(*arg1)->GetCoordinateIdx();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetCIdx) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_GetCIdx(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetCIdx" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (unsigned int)(*arg1)->GetCIdx();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetValence) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_GetValence(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetValence" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (unsigned int)(*arg1)->GetValence();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetHyb) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_GetHyb(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetHyb" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (unsigned int)(*arg1)->GetHyb();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetImplicitValence) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_GetImplicitValence(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetImplicitValence" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (unsigned int)(*arg1)->GetImplicitValence();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetHvyValence) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_GetHvyValence(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetHvyValence" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (unsigned int)(*arg1)->GetHvyValence();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetHeteroValence) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_GetHeteroValence(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetHeteroValence" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (unsigned int)(*arg1)->GetHeteroValence();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetType) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_GetType(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetType" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (char *)(*arg1)->GetType();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetX) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_GetX(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetX" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (double)(*arg1)->GetX();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetY) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_GetY(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetY" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (double)(*arg1)->GetY();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetZ) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_GetZ(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetZ" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (double)(*arg1)->GetZ();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_x) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_x(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_x" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (double)(*arg1)->x();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_y) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_y(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_y" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (double)(*arg1)->y();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_z) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_z(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_z" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (double)(*arg1)->z();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetCoordinate) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_GetCoordinate(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetCoordinate" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (double *)(*arg1)->GetCoordinate();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetVector__SWIG_0) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::vector3 *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_GetVector(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetVector" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (OpenBabel::vector3 *) &(*arg1)->GetVector();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__vector3, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetVector__SWIG_1) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::vector3 *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_GetVector(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetVector" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (OpenBabel::vector3 *) &(*arg1)->GetVector();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__vector3, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetVector) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomBFSIter_GetVector__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomBFSIter_GetVector__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomBFSIter_GetVector'"); XSRETURN(0); }
XS(_wrap__OBMolAtomBFSIter_GetPartialCharge) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_GetPartialCharge(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetPartialCharge" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (double)(*arg1)->GetPartialCharge();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetResidue__SWIG_0) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::OBResidue *result = 0 ; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBMolAtomBFSIter_GetResidue(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetResidue" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (OpenBabel::OBResidue *)(*arg1)->GetResidue();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBResidue, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetResidue__SWIG_1) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::OBResidue *result = 0 ;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomBFSIter_GetResidue(self,perception);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetResidue" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomBFSIter_GetResidue" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (OpenBabel::OBResidue *)(*arg1)->GetResidue(arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBResidue, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetResidue) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomBFSIter_GetResidue__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomBFSIter_GetResidue__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomBFSIter_GetResidue'"); XSRETURN(0); }
XS(_wrap__OBMolAtomBFSIter_GetParent) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::OBMol *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_GetParent(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetParent" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (OpenBabel::OBMol *)(*arg1)->GetParent();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMol, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetNewBondVector) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    OpenBabel::vector3 *arg2 = 0 ; double arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; double val3 ;
    int ecode3 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_GetNewBondVector(self,v,length);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetNewBondVector" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomBFSIter_GetNewBondVector" "', argument " "2"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolAtomBFSIter_GetNewBondVector" "', argument " "2"" of type '" "OpenBabel::vector3 &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "_OBMolAtomBFSIter_GetNewBondVector" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); result = (bool)(*arg1)->GetNewBondVector(*arg2,arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetBond) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; OpenBabel::OBBond *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_GetBond(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetBond" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomBFSIter_GetBond" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (OpenBabel::OBBond *)(*arg1)->GetBond(arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBond, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetNextAtom) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_GetNextAtom(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetNextAtom" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (OpenBabel::OBAtom *)(*arg1)->GetNextAtom();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_BeginBonds) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBBond * >::iterator > result;
    dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBMolAtomBFSIter_BeginBonds(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_BeginBonds" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (*arg1)->BeginBonds();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBBondIterator(static_cast< const OpenBabel::OBBondIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_EndBonds) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBBond * >::iterator > result;
    dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBMolAtomBFSIter_EndBonds(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_EndBonds" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (*arg1)->EndBonds();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBBondIterator(static_cast< const OpenBabel::OBBondIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_BeginBond) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    OpenBabel::OBBondIterator *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    OpenBabel::OBBond *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_BeginBond(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_BeginBond" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomBFSIter_BeginBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolAtomBFSIter_BeginBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBondIterator * >(argp2); result = (OpenBabel::OBBond *)(*arg1)->BeginBond(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBond, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_NextBond) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    OpenBabel::OBBondIterator *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    OpenBabel::OBBond *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_NextBond(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_NextBond" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomBFSIter_NextBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolAtomBFSIter_NextBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBondIterator * >(argp2); result = (OpenBabel::OBBond *)(*arg1)->NextBond(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBond, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_BeginNbrAtom) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    OpenBabel::OBBondIterator *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_BeginNbrAtom(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_BeginNbrAtom" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomBFSIter_BeginNbrAtom" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolAtomBFSIter_BeginNbrAtom" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBondIterator * >(argp2); result = (OpenBabel::OBAtom *)(*arg1)->BeginNbrAtom(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_NextNbrAtom) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    OpenBabel::OBBondIterator *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_NextNbrAtom(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_NextNbrAtom" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomBFSIter_NextNbrAtom" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolAtomBFSIter_NextNbrAtom" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBondIterator * >(argp2); result = (OpenBabel::OBAtom *)(*arg1)->NextNbrAtom(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetDistance__SWIG_0) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomBFSIter_GetDistance(self,index);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetDistance" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomBFSIter_GetDistance" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (double)(*arg1)->GetDistance(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetDistance__SWIG_1) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_GetDistance(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetDistance" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomBFSIter_GetDistance" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (double)(*arg1)->GetDistance(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetDistance) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomBFSIter_GetDistance__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomBFSIter_GetDistance__SWIG_0); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomBFSIter_GetDistance'"); XSRETURN(0); }
XS(_wrap__OBMolAtomBFSIter_GetAngle__SWIG_0) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_GetAngle(self,b,c);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetAngle" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomBFSIter_GetAngle" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "_OBMolAtomBFSIter_GetAngle" "', argument " "3"" of type '" "int""'"); }
      arg3 = static_cast< int >(val3); result = (double)(*arg1)->GetAngle(arg2,arg3);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetAngle__SWIG_1) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; OpenBabel::OBAtom *arg3 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: _OBMolAtomBFSIter_GetAngle(self,b,c);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetAngle" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomBFSIter_GetAngle" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "_OBMolAtomBFSIter_GetAngle" "', argument " "3"" of type '" "OpenBabel::OBAtom *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBAtom * >(argp3); result = (double)(*arg1)->GetAngle(arg2,arg3);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetAngle) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    dispatch: switch(_index) { case 1: ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomBFSIter_GetAngle__SWIG_1); return;
      case 2: ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomBFSIter_GetAngle__SWIG_0); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomBFSIter_GetAngle'"); XSRETURN(0); }
XS(_wrap__OBMolAtomBFSIter_NewResidue) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_NewResidue(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_NewResidue" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); (*arg1)->NewResidue(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_AddResidue) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    OpenBabel::OBResidue *arg2 = (OpenBabel::OBResidue *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomBFSIter_AddResidue(self,res);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_AddResidue" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomBFSIter_AddResidue" "', argument " "2"" of type '" "OpenBabel::OBResidue *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBResidue * >(argp2); (*arg1)->AddResidue(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_DeleteResidue) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_DeleteResidue(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_DeleteResidue" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); (*arg1)->DeleteResidue(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_AddBond) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    OpenBabel::OBBond *arg2 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomBFSIter_AddBond(self,bond);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_AddBond" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomBFSIter_AddBond" "', argument " "2"" of type '" "OpenBabel::OBBond *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBond * >(argp2); (*arg1)->AddBond(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_InsertBond) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    OpenBabel::OBBondIterator *arg2 = 0 ; OpenBabel::OBBond *arg3 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_InsertBond(self,i,bond);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_InsertBond" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomBFSIter_InsertBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolAtomBFSIter_InsertBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBondIterator * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "_OBMolAtomBFSIter_InsertBond" "', argument " "3"" of type '" "OpenBabel::OBBond *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBBond * >(argp3); (*arg1)->InsertBond(*arg2,arg3); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_DeleteBond) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    OpenBabel::OBBond *arg2 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_DeleteBond(self,bond);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_DeleteBond" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomBFSIter_DeleteBond" "', argument " "2"" of type '" "OpenBabel::OBBond *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBond * >(argp2); result = (bool)(*arg1)->DeleteBond(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_ClearBond) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_ClearBond(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_ClearBond" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); (*arg1)->ClearBond(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_HtoMethyl) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_HtoMethyl(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_HtoMethyl" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->HtoMethyl();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_SetHybAndGeom) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomBFSIter_SetHybAndGeom(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_SetHybAndGeom" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomBFSIter_SetHybAndGeom" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (bool)(*arg1)->SetHybAndGeom(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_ForceNoH) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_ForceNoH(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_ForceNoH" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); (*arg1)->ForceNoH(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_HasNoHForced) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_HasNoHForced(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_HasNoHForced" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->HasNoHForced();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_ForceImplH) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_ForceImplH(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_ForceImplH" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); (*arg1)->ForceImplH(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_HasImplHForced) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_HasImplHForced(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_HasImplHForced" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->HasImplHForced();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_CountFreeOxygens) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_CountFreeOxygens(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_CountFreeOxygens" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (unsigned int)(*arg1)->CountFreeOxygens();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_ImplicitHydrogenCount) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_ImplicitHydrogenCount(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_ImplicitHydrogenCount" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (unsigned int)(*arg1)->ImplicitHydrogenCount();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_ExplicitHydrogenCount__SWIG_0) { {
    OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ;
    bool val2 ; int ecode2 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_ExplicitHydrogenCount(self,ExcludeIsotopes);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_ExplicitHydrogenCount" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomBFSIter_ExplicitHydrogenCount" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (unsigned int)(*arg1)->ExplicitHydrogenCount(arg2);
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_ExplicitHydrogenCount__SWIG_1) { {
    OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_ExplicitHydrogenCount(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_ExplicitHydrogenCount" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (unsigned int)(*arg1)->ExplicitHydrogenCount();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_ExplicitHydrogenCount) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0; 
    if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomBFSIter_ExplicitHydrogenCount__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomBFSIter_ExplicitHydrogenCount__SWIG_0); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomBFSIter_ExplicitHydrogenCount'"); XSRETURN(0); }
XS(_wrap__OBMolAtomBFSIter_MemberOfRingCount) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_MemberOfRingCount(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_MemberOfRingCount" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (unsigned int)(*arg1)->MemberOfRingCount();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_MemberOfRingSize) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_MemberOfRingSize(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_MemberOfRingSize" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (unsigned int)(*arg1)->MemberOfRingSize();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_CountRingBonds) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_CountRingBonds(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_CountRingBonds" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (unsigned int)(*arg1)->CountRingBonds();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_SmallestBondAngle) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_SmallestBondAngle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_SmallestBondAngle" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (double)(*arg1)->SmallestBondAngle();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_AverageBondAngle) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_AverageBondAngle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_AverageBondAngle" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (double)(*arg1)->AverageBondAngle();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_BOSum) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_BOSum(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_BOSum" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (unsigned int)(*arg1)->BOSum();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_KBOSum) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_KBOSum(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_KBOSum" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (unsigned int)(*arg1)->KBOSum();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_HasResidue) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_HasResidue(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_HasResidue" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->HasResidue();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_IsHydrogen__SWIG_0) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_IsHydrogen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_IsHydrogen" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->IsHydrogen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_IsHydrogen__SWIG_1) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_IsHydrogen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_IsHydrogen" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->IsHydrogen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_IsHydrogen) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomBFSIter_IsHydrogen__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomBFSIter_IsHydrogen__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomBFSIter_IsHydrogen'"); XSRETURN(0); }
XS(_wrap__OBMolAtomBFSIter_IsCarbon) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_IsCarbon(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_IsCarbon" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->IsCarbon();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_IsNitrogen) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_IsNitrogen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_IsNitrogen" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->IsNitrogen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_IsOxygen) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_IsOxygen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_IsOxygen" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->IsOxygen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_IsSulfur) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_IsSulfur(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_IsSulfur" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->IsSulfur();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_IsPhosphorus) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_IsPhosphorus(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_IsPhosphorus" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->IsPhosphorus();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_IsAromatic) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_IsAromatic(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_IsAromatic" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->IsAromatic();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_IsInRing) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_IsInRing(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_IsInRing" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->IsInRing();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_IsInRingSize) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomBFSIter_IsInRingSize(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_IsInRingSize" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomBFSIter_IsInRingSize" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (bool)(*arg1)->IsInRingSize(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_IsHeteroatom) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_IsHeteroatom(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_IsHeteroatom" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->IsHeteroatom();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_IsNotCorH) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_IsNotCorH(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_IsNotCorH" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->IsNotCorH();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_IsConnected) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_IsConnected(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_IsConnected" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomBFSIter_IsConnected" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (bool)(*arg1)->IsConnected(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_IsOneThree) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_IsOneThree(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_IsOneThree" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomBFSIter_IsOneThree" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (bool)(*arg1)->IsOneThree(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_IsOneFour) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_IsOneFour(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_IsOneFour" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomBFSIter_IsOneFour" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (bool)(*arg1)->IsOneFour(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_IsCarboxylOxygen) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_IsCarboxylOxygen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_IsCarboxylOxygen" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->IsCarboxylOxygen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_IsPhosphateOxygen) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_IsPhosphateOxygen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_IsPhosphateOxygen" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->IsPhosphateOxygen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_IsSulfateOxygen) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_IsSulfateOxygen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_IsSulfateOxygen" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->IsSulfateOxygen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_IsNitroOxygen) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_IsNitroOxygen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_IsNitroOxygen" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->IsNitroOxygen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_IsAmideNitrogen) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_IsAmideNitrogen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_IsAmideNitrogen" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->IsAmideNitrogen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_IsPolarHydrogen) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_IsPolarHydrogen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_IsPolarHydrogen" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->IsPolarHydrogen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_IsNonPolarHydrogen) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_IsNonPolarHydrogen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_IsNonPolarHydrogen" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->IsNonPolarHydrogen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_IsAromaticNOxide) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_IsAromaticNOxide(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_IsAromaticNOxide" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->IsAromaticNOxide();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_IsChiral) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_IsChiral(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_IsChiral" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->IsChiral();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_IsAxial) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_IsAxial(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_IsAxial" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->IsAxial();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_IsClockwise) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_IsClockwise(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_IsClockwise" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->IsClockwise();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_IsAntiClockwise) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_IsAntiClockwise(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_IsAntiClockwise" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->IsAntiClockwise();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_IsPositiveStereo) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_IsPositiveStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_IsPositiveStereo" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->IsPositiveStereo();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_IsNegativeStereo) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_IsNegativeStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_IsNegativeStereo" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->IsNegativeStereo();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_HasChiralitySpecified) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_HasChiralitySpecified(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_HasChiralitySpecified" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->HasChiralitySpecified();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_HasChiralVolume) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_HasChiralVolume(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_HasChiralVolume" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->HasChiralVolume();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_IsHbondAcceptor) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_IsHbondAcceptor(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_IsHbondAcceptor" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->IsHbondAcceptor();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_IsHbondDonor) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_IsHbondDonor(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_IsHbondDonor" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->IsHbondDonor();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_IsHbondDonorH) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_IsHbondDonorH(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_IsHbondDonorH" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->IsHbondDonorH();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_HasAlphaBetaUnsat__SWIG_0) { {
    OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ;
    bool val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_HasAlphaBetaUnsat(self,includePandS);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_HasAlphaBetaUnsat" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomBFSIter_HasAlphaBetaUnsat" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (bool)(*arg1)->HasAlphaBetaUnsat(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_HasAlphaBetaUnsat__SWIG_1) { {
    OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBMolAtomBFSIter_HasAlphaBetaUnsat(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_HasAlphaBetaUnsat" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->HasAlphaBetaUnsat();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_HasAlphaBetaUnsat) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomBFSIter_HasAlphaBetaUnsat__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomBFSIter_HasAlphaBetaUnsat__SWIG_0); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomBFSIter_HasAlphaBetaUnsat'"); XSRETURN(0); }
XS(_wrap__OBMolAtomBFSIter_HasBondOfOrder) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomBFSIter_HasBondOfOrder(self,bo);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_HasBondOfOrder" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomBFSIter_HasBondOfOrder" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (bool)(*arg1)->HasBondOfOrder(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_CountBondsOfOrder) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; int result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomBFSIter_CountBondsOfOrder(self,bo);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_CountBondsOfOrder" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomBFSIter_CountBondsOfOrder" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (int)(*arg1)->CountBondsOfOrder(arg2);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_HasNonSingleBond) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_HasNonSingleBond(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_HasNonSingleBond" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->HasNonSingleBond();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_HasSingleBond) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_HasSingleBond(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_HasSingleBond" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->HasSingleBond();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_HasDoubleBond) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_HasDoubleBond(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_HasDoubleBond" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->HasDoubleBond();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_HasAromaticBond) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_HasAromaticBond(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_HasAromaticBond" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->HasAromaticBond();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_MatchesSMARTS) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_MatchesSMARTS(self,char const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_MatchesSMARTS" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomBFSIter_MatchesSMARTS" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); result = (bool)(*arg1)->MatchesSMARTS((char const *)arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_Clear) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_Clear(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_Clear" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (bool)(*arg1)->Clear();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_DoTransformations) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    std::map< std::string,std::string > *arg2 = (std::map< std::string,std::string > *) 0 ;
    OpenBabel::OBConversion *arg3 = (OpenBabel::OBConversion *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; OpenBabel::OBBase *result = 0 ; dXSARGS;
    if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_DoTransformations(self,std::map< std::string,std::string > const *,OpenBabel::OBConversion *);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_DoTransformations" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomBFSIter_DoTransformations" "', argument " "2"" of type '" "std::map< std::string,std::string > const *""'");  }
     arg2 = reinterpret_cast< std::map< std::string,std::string > * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "_OBMolAtomBFSIter_DoTransformations" "', argument " "3"" of type '" "OpenBabel::OBConversion *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBConversion * >(argp3);
    result = (OpenBabel::OBBase *)(*arg1)->DoTransformations((std::map< std::string,std::string > const *)arg2,arg3);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBase, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_ClassDescription) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_ClassDescription(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_ClassDescription" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (char *)(*arg1)->ClassDescription();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetTitle__SWIG_0) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomBFSIter_GetTitle(self,replaceNewlines);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetTitle" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomBFSIter_GetTitle" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (char *)(*arg1)->GetTitle(arg2);
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetTitle__SWIG_1) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_GetTitle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetTitle" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (char *)(*arg1)->GetTitle();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetTitle) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomBFSIter_GetTitle__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomBFSIter_GetTitle__SWIG_0); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomBFSIter_GetTitle'"); XSRETURN(0); }
XS(_wrap__OBMolAtomBFSIter_SetTitle) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomBFSIter_SetTitle(self,char const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_SetTitle" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomBFSIter_SetTitle" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); (*arg1)->SetTitle((char const *)arg2); ST(argvi) = sv_newmortal();
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_HasData__SWIG_0) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomBFSIter_HasData(self,std::string const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_HasData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomBFSIter_HasData" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolAtomBFSIter_HasData" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  result = (bool)(*arg1)->HasData((std::string const &)*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_HasData__SWIG_1) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomBFSIter_HasData(self,char const *);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_HasData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomBFSIter_HasData" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); result = (bool)(*arg1)->HasData((char const *)arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_HasData__SWIG_2) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomBFSIter_HasData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_HasData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomBFSIter_HasData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (bool)(*arg1)->HasData(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_HasData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomBFSIter_HasData__SWIG_2); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomBFSIter_HasData__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomBFSIter_HasData__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomBFSIter_HasData'"); XSRETURN(0); }
XS(_wrap__OBMolAtomBFSIter_DeleteData__SWIG_0) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomBFSIter_DeleteData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomBFSIter_DeleteData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); (*arg1)->DeleteData(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_DeleteData__SWIG_1) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    OpenBabel::OBGenericData *arg2 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_DeleteData(self,OpenBabel::OBGenericData *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomBFSIter_DeleteData" "', argument " "2"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBGenericData * >(argp2); (*arg1)->DeleteData(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_DeleteData__SWIG_2) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    std::vector< OpenBabel::OBGenericData * > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_DeleteData(self,std::vector< OpenBabel::OBGenericData * > &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomBFSIter_DeleteData" "', argument " "2"" of type '" "std::vector< OpenBabel::OBGenericData * > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolAtomBFSIter_DeleteData" "', argument " "2"" of type '" "std::vector< OpenBabel::OBGenericData * > &""'"); }
     arg2 = reinterpret_cast< std::vector< OpenBabel::OBGenericData * > * >(argp2); (*arg1)->DeleteData(*arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_DeleteData__SWIG_3) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolAtomBFSIter_DeleteData(self,s);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomBFSIter_DeleteData" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolAtomBFSIter_DeleteData" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  result = (bool)(*arg1)->DeleteData((std::string const &)*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_DeleteData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBGenericData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t, 0);
        _v = SWIG_CheckState(res);}  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomBFSIter_DeleteData__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomBFSIter_DeleteData__SWIG_2); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomBFSIter_DeleteData__SWIG_0); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomBFSIter_DeleteData__SWIG_3); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomBFSIter_DeleteData'"); XSRETURN(0); }
XS(_wrap__OBMolAtomBFSIter_CloneData) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    OpenBabel::OBGenericData *arg2 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_CloneData(self,d);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_CloneData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomBFSIter_CloneData" "', argument " "2"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBGenericData * >(argp2); (*arg1)->CloneData(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_DataSize) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; size_t result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_DataSize(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_DataSize" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (*arg1)->DataSize();
    ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1(static_cast< size_t >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetData__SWIG_0) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0;
    OpenBabel::OBGenericData *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_GetData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomBFSIter_GetData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (OpenBabel::OBGenericData *)(*arg1)->GetData(arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetData__SWIG_1) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0;
    OpenBabel::OBGenericData *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_GetData(self,std::string const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomBFSIter_GetData" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolAtomBFSIter_GetData" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  result = (OpenBabel::OBGenericData *)(*arg1)->GetData((std::string const &)*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, 0 | SWIG_SHADOW); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetData__SWIG_2) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    OpenBabel::OBGenericData *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_GetData(self,char const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolAtomBFSIter_GetData" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); result = (OpenBabel::OBGenericData *)(*arg1)->GetData((char const *)arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, 0 | SWIG_SHADOW); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetData__SWIG_3) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; std::vector< OpenBabel::OBGenericData * > *result = 0 ; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBMolAtomBFSIter_GetData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    result = (std::vector< OpenBabel::OBGenericData * > *) &(*arg1)->GetData();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetData__SWIG_4) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    OpenBabel::DataOrigin arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0;
    std::vector< OpenBabel::OBGenericData * > result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_GetData(self,source);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomBFSIter_GetData" "', argument " "2"" of type '" "OpenBabel::DataOrigin""'"); }
      arg2 = static_cast< OpenBabel::DataOrigin >(val2); result = (*arg1)->GetData(arg2); { size_t len = (&result)->size();
      SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) {
        OpenBabel::OBGenericData *x = ((std::vector< OpenBabel::OBGenericData * > &)result)[i]; svs[i] = sv_newmortal();
        sv_setsv(svs[i], SWIG_NewPointerObj(x, SWIGTYPE_p_OpenBabel__OBGenericData, 0)); }  AV *myav = av_make(len, svs);
      delete[] svs; ST(argvi) = newRV_noinc((SV*) myav); sv_2mortal(ST(argvi)); argvi++; }  XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_GetData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_5; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_5;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 5;
        if (_rank == _rankm) goto dispatch; }  }  check_5: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomBFSIter_GetData__SWIG_3); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomBFSIter_GetData__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomBFSIter_GetData__SWIG_4); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomBFSIter_GetData__SWIG_1); return; case 5:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolAtomBFSIter_GetData__SWIG_2); return; }  } 
  croak("No matching function for overloaded '_OBMolAtomBFSIter_GetData'"); XSRETURN(0); }
XS(_wrap__OBMolAtomBFSIter_GetAllData) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0;
    std::vector< OpenBabel::OBGenericData * > result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_GetAllData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_GetAllData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolAtomBFSIter_GetAllData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (*arg1)->GetAllData(arg2); { size_t len = (&result)->size();
      SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) {
        OpenBabel::OBGenericData *x = ((std::vector< OpenBabel::OBGenericData * > &)result)[i]; svs[i] = sv_newmortal();
        sv_setsv(svs[i], SWIG_NewPointerObj(x, SWIGTYPE_p_OpenBabel__OBGenericData, 0)); }  AV *myav = av_make(len, svs);
      delete[] svs; ST(argvi) = newRV_noinc((SV*) myav); sv_2mortal(ST(argvi)); argvi++; }  XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_BeginData) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    SwigValueWrapper< std::vector< OpenBabel::OBGenericData * >::iterator > result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_BeginData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_BeginData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (*arg1)->BeginData();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBDataIterator(static_cast< const OpenBabel::OBDataIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAtomBFSIter_EndData) { { OpenBabel::OBMolAtomBFSIter *arg1 = (OpenBabel::OBMolAtomBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    SwigValueWrapper< std::vector< OpenBabel::OBGenericData * >::iterator > result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAtomBFSIter_EndData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAtomBFSIter_EndData" "', argument " "1"" of type '" "OpenBabel::OBMolAtomBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAtomBFSIter * >(argp1); result = (*arg1)->EndData();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBDataIterator(static_cast< const OpenBabel::OBDataIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBMolBondBFSIter__SWIG_0) { { int argvi = 0; OpenBabel::OBMolBondBFSIter *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_OBMolBondBFSIter();"); } 
    result = (OpenBabel::OBMolBondBFSIter *)new OpenBabel::OBMolBondBFSIter();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBMolBondBFSIter__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; int arg2 ; void *argp1 = 0 ;
    int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::OBMolBondBFSIter *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: new_OBMolBondBFSIter(mol,StartIndex);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBMolBondBFSIter" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_OBMolBondBFSIter" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (OpenBabel::OBMolBondBFSIter *)new OpenBabel::OBMolBondBFSIter(arg1,arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBMolBondBFSIter__SWIG_2) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBMolBondBFSIter *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new_OBMolBondBFSIter(mol);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBMolBondBFSIter" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    result = (OpenBabel::OBMolBondBFSIter *)new OpenBabel::OBMolBondBFSIter(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBMolBondBFSIter__SWIG_3) { { OpenBabel::OBMolBondBFSIter *arg1 = 0 ; void *argp1 ; int res1 = 0 ; int argvi = 0;
    OpenBabel::OBMolBondBFSIter *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new_OBMolBondBFSIter(ai);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBMolBondBFSIter,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBMolBondBFSIter" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBMolBondBFSIter" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1);
    result = (OpenBabel::OBMolBondBFSIter *)new OpenBabel::OBMolBondBFSIter((OpenBabel::OBMolBondBFSIter const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBMolBondBFSIter) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_4;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 4;
        if (_rank == _rankm) goto dispatch; }  }  check_4: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBMolBondBFSIter__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBMolBondBFSIter__SWIG_2); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBMolBondBFSIter__SWIG_3); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBMolBondBFSIter__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'new_OBMolBondBFSIter'"); XSRETURN(0); }
XS(_wrap_delete_OBMolBondBFSIter) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: delete_OBMolBondBFSIter(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBMolBondBFSIter" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_good) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_good(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_good" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1);
    result = (bool)((OpenBabel::OBMolBondBFSIter const *)arg1)->operator bool();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_inc__SWIG_0) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::OBMolBondBFSIter *result = 0 ; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMolBondBFSIter_inc(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_inc" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1);
    result = (OpenBabel::OBMolBondBFSIter *) &(arg1)->operator ++();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_inc__SWIG_1) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::OBMolBondBFSIter result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBMolBondBFSIter_inc(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_inc" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMolBondBFSIter_inc" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (arg1)->operator ++(arg2);
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBMolBondBFSIter(static_cast< const OpenBabel::OBMolBondBFSIter& >(result))), SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_inc) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMolBondBFSIter_inc__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMolBondBFSIter_inc__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBMolBondBFSIter_inc'"); XSRETURN(0); }
XS(_wrap_OBMolBondBFSIter_deref) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBBond *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_deref(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_deref" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1);
    result = (OpenBabel::OBBond *)((OpenBabel::OBMolBondBFSIter const *)arg1)->operator ->();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBond, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter___ref__) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBBond *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter___ref__(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter___ref__" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1);
    result = (OpenBabel::OBBond *) &((OpenBabel::OBMolBondBFSIter const *)arg1)->operator *();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBond, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_CurrentDepth) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_CurrentDepth(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_CurrentDepth" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1);
    result = (int)((OpenBabel::OBMolBondBFSIter const *)arg1)->CurrentDepth();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_Visit_set) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ; bool arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMolBondBFSIter_Visit_set(self,Visit);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_Visit_set" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMolBondBFSIter_Visit_set" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); if (arg1) (*arg1)->Visit = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_Visit_get) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_Visit_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_Visit_get" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (bool) ((*arg1)->Visit);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_SetIdx) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMolBondBFSIter_SetIdx(self,idx);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_SetIdx" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMolBondBFSIter_SetIdx" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (*arg1)->SetIdx(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_SetId) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    unsigned long arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned long val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBMolBondBFSIter_SetId(self,id);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_SetId" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMolBondBFSIter_SetId" "', argument " "2"" of type '" "unsigned long""'"); }
      arg2 = static_cast< unsigned long >(val2); (*arg1)->SetId(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_SetBO) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMolBondBFSIter_SetBO(self,order);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_SetBO" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMolBondBFSIter_SetBO" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (*arg1)->SetBO(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_SetBondOrder) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMolBondBFSIter_SetBondOrder(self,order);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_SetBondOrder" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMolBondBFSIter_SetBondOrder" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (*arg1)->SetBondOrder(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_SetBegin) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBMolBondBFSIter_SetBegin(self,begin);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_SetBegin" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMolBondBFSIter_SetBegin" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); (*arg1)->SetBegin(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_SetEnd) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBMolBondBFSIter_SetEnd(self,end);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_SetEnd" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMolBondBFSIter_SetEnd" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); (*arg1)->SetEnd(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_SetParent) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    OpenBabel::OBMol *arg2 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBMolBondBFSIter_SetParent(self,ptr);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_SetParent" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMolBondBFSIter_SetParent" "', argument " "2"" of type '" "OpenBabel::OBMol *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); (*arg1)->SetParent(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_SetLength__SWIG_0) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; double arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; double val3 ; int ecode3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBMolBondBFSIter_SetLength(self,fixed,length);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_SetLength" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMolBondBFSIter_SetLength" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBMolBondBFSIter_SetLength" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); (*arg1)->SetLength(arg2,arg3); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_SetLength__SWIG_1) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBMolBondBFSIter_SetLength(self,length);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_SetLength" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMolBondBFSIter_SetLength" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); (*arg1)->SetLength(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_SetLength) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMolBondBFSIter_SetLength__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMolBondBFSIter_SetLength__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBMolBondBFSIter_SetLength'"); XSRETURN(0); }
XS(_wrap_OBMolBondBFSIter_Set) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ; int arg2 ;
    OpenBabel::OBAtom *arg3 = (OpenBabel::OBAtom *) 0 ; OpenBabel::OBAtom *arg4 = (OpenBabel::OBAtom *) 0 ; int arg5 ;
    int arg6 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ;
    int res4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 6) || (items > 6)) { SWIG_croak("Usage: OBMolBondBFSIter_Set(self,index,begin,end,order,flags);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_Set" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMolBondBFSIter_Set" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBMolBondBFSIter_Set" "', argument " "3"" of type '" "OpenBabel::OBAtom *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBAtom * >(argp3);
    res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "OBMolBondBFSIter_Set" "', argument " "4"" of type '" "OpenBabel::OBAtom *""'");  }
     arg4 = reinterpret_cast< OpenBabel::OBAtom * >(argp4); ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "OBMolBondBFSIter_Set" "', argument " "5"" of type '" "int""'"); }
      arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(5), &val6); if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "OBMolBondBFSIter_Set" "', argument " "6"" of type '" "int""'"); }
      arg6 = static_cast< int >(val6); (*arg1)->Set(arg2,arg3,arg4,arg5,arg6); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_SetKSingle) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_SetKSingle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_SetKSingle" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); (*arg1)->SetKSingle(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_SetKDouble) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_SetKDouble(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_SetKDouble" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); (*arg1)->SetKDouble(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_SetKTriple) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_SetKTriple(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_SetKTriple" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); (*arg1)->SetKTriple(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_SetAromatic) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_SetAromatic(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_SetAromatic" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); (*arg1)->SetAromatic(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_SetWedge) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_SetWedge(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_SetWedge" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); (*arg1)->SetWedge(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_SetHash) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_SetHash(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_SetHash" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); (*arg1)->SetHash(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_SetWedgeOrHash) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_SetWedgeOrHash(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_SetWedgeOrHash" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); (*arg1)->SetWedgeOrHash(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_SetUp) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_SetUp(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_SetUp" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); (*arg1)->SetUp(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_SetDown) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_SetDown(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_SetDown" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); (*arg1)->SetDown(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_SetInRing__SWIG_0) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBMolBondBFSIter_SetInRing(self,set);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_SetInRing" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMolBondBFSIter_SetInRing" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); (*arg1)->SetInRing(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_SetInRing__SWIG_1) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_SetInRing(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_SetInRing" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); (*arg1)->SetInRing(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_SetInRing) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMolBondBFSIter_SetInRing__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMolBondBFSIter_SetInRing__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBMolBondBFSIter_SetInRing'"); XSRETURN(0); }
XS(_wrap_OBMolBondBFSIter_SetClosure) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_SetClosure(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_SetClosure" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); (*arg1)->SetClosure(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_UnsetHash) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_UnsetHash(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_UnsetHash" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); (*arg1)->UnsetHash(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_UnsetWedge) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_UnsetWedge(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_UnsetWedge" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); (*arg1)->UnsetWedge(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_UnsetUp) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_UnsetUp(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_UnsetUp" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); (*arg1)->UnsetUp(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_UnsetDown) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_UnsetDown(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_UnsetDown" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); (*arg1)->UnsetDown(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_UnsetAromatic) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_UnsetAromatic(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_UnsetAromatic" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); (*arg1)->UnsetAromatic(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_UnsetKekule) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_UnsetKekule(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_UnsetKekule" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); (*arg1)->UnsetKekule(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_GetIdx) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_GetIdx(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_GetIdx" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (unsigned int)(*arg1)->GetIdx();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_GetId) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned long result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_GetId(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_GetId" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (unsigned long)(*arg1)->GetId();
    ST(argvi) = SWIG_From_unsigned_SS_long  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned long >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_GetBO) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_GetBO(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_GetBO" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (unsigned int)(*arg1)->GetBO();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_GetBondOrder) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_GetBondOrder(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_GetBondOrder" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (unsigned int)(*arg1)->GetBondOrder();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_GetFlags) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_GetFlags(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_GetFlags" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (unsigned int)(*arg1)->GetFlags();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_GetBeginAtomIdx) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_GetBeginAtomIdx(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_GetBeginAtomIdx" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (unsigned int)(*arg1)->GetBeginAtomIdx();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_GetEndAtomIdx) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_GetEndAtomIdx(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_GetEndAtomIdx" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (unsigned int)(*arg1)->GetEndAtomIdx();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_GetBeginAtom__SWIG_0) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_GetBeginAtom(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_GetBeginAtom" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (OpenBabel::OBAtom *)(*arg1)->GetBeginAtom();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_GetBeginAtom__SWIG_1) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_GetBeginAtom(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_GetBeginAtom" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (OpenBabel::OBAtom *)(*arg1)->GetBeginAtom();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_GetBeginAtom) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMolBondBFSIter_GetBeginAtom__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMolBondBFSIter_GetBeginAtom__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBMolBondBFSIter_GetBeginAtom'"); XSRETURN(0); }
XS(_wrap_OBMolBondBFSIter_GetEndAtom__SWIG_0) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_GetEndAtom(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_GetEndAtom" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (OpenBabel::OBAtom *)(*arg1)->GetEndAtom();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_GetEndAtom__SWIG_1) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_GetEndAtom(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_GetEndAtom" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (OpenBabel::OBAtom *)(*arg1)->GetEndAtom();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_GetEndAtom) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMolBondBFSIter_GetEndAtom__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMolBondBFSIter_GetEndAtom__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBMolBondBFSIter_GetEndAtom'"); XSRETURN(0); }
XS(_wrap_OBMolBondBFSIter_GetNbrAtom) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMolBondBFSIter_GetNbrAtom(self,ptr);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_GetNbrAtom" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMolBondBFSIter_GetNbrAtom" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (OpenBabel::OBAtom *)(*arg1)->GetNbrAtom(arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_GetParent) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::OBMol *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_GetParent(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_GetParent" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (OpenBabel::OBMol *)(*arg1)->GetParent();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMol, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_GetEquibLength) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_GetEquibLength(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_GetEquibLength" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (double)(*arg1)->GetEquibLength();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_GetLength) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_GetLength(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_GetLength" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (double)(*arg1)->GetLength();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_GetNbrAtomIdx) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMolBondBFSIter_GetNbrAtomIdx(self,ptr);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_GetNbrAtomIdx" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMolBondBFSIter_GetNbrAtomIdx" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (unsigned int)(*arg1)->GetNbrAtomIdx(arg2);
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_FindSmallestRing) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::OBRing *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_FindSmallestRing(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_FindSmallestRing" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (OpenBabel::OBRing *)(*arg1)->FindSmallestRing();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBRing, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_IsAromatic) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_IsAromatic(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_IsAromatic" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (bool)(*arg1)->IsAromatic();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_IsInRing) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_IsInRing(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_IsInRing" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (bool)(*arg1)->IsInRing();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_IsRotor) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_IsRotor(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_IsRotor" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (bool)(*arg1)->IsRotor();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_IsAmide) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_IsAmide(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_IsAmide" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (bool)(*arg1)->IsAmide();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_IsPrimaryAmide) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_IsPrimaryAmide(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_IsPrimaryAmide" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (bool)(*arg1)->IsPrimaryAmide();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_IsSecondaryAmide) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_IsSecondaryAmide(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_IsSecondaryAmide" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (bool)(*arg1)->IsSecondaryAmide();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_IsTertiaryAmide) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_IsTertiaryAmide(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_IsTertiaryAmide" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (bool)(*arg1)->IsTertiaryAmide();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_IsEster) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_IsEster(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_IsEster" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (bool)(*arg1)->IsEster();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_IsCarbonyl) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_IsCarbonyl(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_IsCarbonyl" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (bool)(*arg1)->IsCarbonyl();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_IsSingle) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_IsSingle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_IsSingle" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (bool)(*arg1)->IsSingle();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_IsDouble) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_IsDouble(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_IsDouble" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (bool)(*arg1)->IsDouble();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_IsTriple) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_IsTriple(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_IsTriple" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (bool)(*arg1)->IsTriple();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_IsKSingle) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_IsKSingle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_IsKSingle" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (bool)(*arg1)->IsKSingle();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_IsKDouble) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_IsKDouble(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_IsKDouble" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (bool)(*arg1)->IsKDouble();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_IsKTriple) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_IsKTriple(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_IsKTriple" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (bool)(*arg1)->IsKTriple();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_IsClosure) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_IsClosure(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_IsClosure" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (bool)(*arg1)->IsClosure();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_IsUp) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_IsUp(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_IsUp" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (bool)(*arg1)->IsUp();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_IsDown) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_IsDown(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_IsDown" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (bool)(*arg1)->IsDown();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_IsWedge) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_IsWedge(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_IsWedge" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (bool)(*arg1)->IsWedge();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_IsHash) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_IsHash(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_IsHash" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (bool)(*arg1)->IsHash();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_IsWedgeOrHash) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_IsWedgeOrHash(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_IsWedgeOrHash" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (bool)(*arg1)->IsWedgeOrHash();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_IsCisOrTrans) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_IsCisOrTrans(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_IsCisOrTrans" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (bool)(*arg1)->IsCisOrTrans();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_IsDoubleBondGeometry) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_IsDoubleBondGeometry(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_IsDoubleBondGeometry" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (bool)(*arg1)->IsDoubleBondGeometry();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_Clear) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_Clear(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_Clear" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (bool)(*arg1)->Clear();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_DoTransformations) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    std::map< std::string,std::string > *arg2 = (std::map< std::string,std::string > *) 0 ;
    OpenBabel::OBConversion *arg3 = (OpenBabel::OBConversion *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; OpenBabel::OBBase *result = 0 ; dXSARGS;
    if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBMolBondBFSIter_DoTransformations(self,std::map< std::string,std::string > const *,OpenBabel::OBConversion *);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_DoTransformations" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMolBondBFSIter_DoTransformations" "', argument " "2"" of type '" "std::map< std::string,std::string > const *""'");  }
     arg2 = reinterpret_cast< std::map< std::string,std::string > * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBMolBondBFSIter_DoTransformations" "', argument " "3"" of type '" "OpenBabel::OBConversion *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBConversion * >(argp3);
    result = (OpenBabel::OBBase *)(*arg1)->DoTransformations((std::map< std::string,std::string > const *)arg2,arg3);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBase, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_ClassDescription) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_ClassDescription(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_ClassDescription" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (char *)(*arg1)->ClassDescription();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_GetTitle__SWIG_0) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBMolBondBFSIter_GetTitle(self,replaceNewlines);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_GetTitle" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMolBondBFSIter_GetTitle" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (char *)(*arg1)->GetTitle(arg2);
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_GetTitle__SWIG_1) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_GetTitle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_GetTitle" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (char *)(*arg1)->GetTitle();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_GetTitle) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMolBondBFSIter_GetTitle__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMolBondBFSIter_GetTitle__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBMolBondBFSIter_GetTitle'"); XSRETURN(0); }
XS(_wrap_OBMolBondBFSIter_SetTitle) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBMolBondBFSIter_SetTitle(self,char const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_SetTitle" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMolBondBFSIter_SetTitle" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); (*arg1)->SetTitle((char const *)arg2); ST(argvi) = sv_newmortal();
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_HasData__SWIG_0) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBMolBondBFSIter_HasData(self,std::string const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_HasData" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMolBondBFSIter_HasData" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMolBondBFSIter_HasData" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  result = (bool)(*arg1)->HasData((std::string const &)*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_HasData__SWIG_1) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBMolBondBFSIter_HasData(self,char const *);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_HasData" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMolBondBFSIter_HasData" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); result = (bool)(*arg1)->HasData((char const *)arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_HasData__SWIG_2) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBMolBondBFSIter_HasData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_HasData" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMolBondBFSIter_HasData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (bool)(*arg1)->HasData(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_HasData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMolBondBFSIter_HasData__SWIG_2); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMolBondBFSIter_HasData__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMolBondBFSIter_HasData__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBMolBondBFSIter_HasData'"); XSRETURN(0); }
XS(_wrap_OBMolBondBFSIter_DeleteData__SWIG_0) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBMolBondBFSIter_DeleteData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMolBondBFSIter_DeleteData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); (*arg1)->DeleteData(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_DeleteData__SWIG_1) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    OpenBabel::OBGenericData *arg2 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMolBondBFSIter_DeleteData(self,OpenBabel::OBGenericData *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMolBondBFSIter_DeleteData" "', argument " "2"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBGenericData * >(argp2); (*arg1)->DeleteData(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_DeleteData__SWIG_2) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    std::vector< OpenBabel::OBGenericData * > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMolBondBFSIter_DeleteData(self,std::vector< OpenBabel::OBGenericData * > &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMolBondBFSIter_DeleteData" "', argument " "2"" of type '" "std::vector< OpenBabel::OBGenericData * > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMolBondBFSIter_DeleteData" "', argument " "2"" of type '" "std::vector< OpenBabel::OBGenericData * > &""'"); }
     arg2 = reinterpret_cast< std::vector< OpenBabel::OBGenericData * > * >(argp2); (*arg1)->DeleteData(*arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_DeleteData__SWIG_3) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBMolBondBFSIter_DeleteData(self,s);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMolBondBFSIter_DeleteData" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMolBondBFSIter_DeleteData" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  result = (bool)(*arg1)->DeleteData((std::string const &)*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_DeleteData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBGenericData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t, 0);
        _v = SWIG_CheckState(res);}  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMolBondBFSIter_DeleteData__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMolBondBFSIter_DeleteData__SWIG_2); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMolBondBFSIter_DeleteData__SWIG_0); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMolBondBFSIter_DeleteData__SWIG_3); return; }  } 
  croak("No matching function for overloaded 'OBMolBondBFSIter_DeleteData'"); XSRETURN(0); }
XS(_wrap_OBMolBondBFSIter_CloneData) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    OpenBabel::OBGenericData *arg2 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMolBondBFSIter_CloneData(self,d);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_CloneData" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMolBondBFSIter_CloneData" "', argument " "2"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBGenericData * >(argp2); (*arg1)->CloneData(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_DataSize) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; size_t result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_DataSize(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_DataSize" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (*arg1)->DataSize();
    ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1(static_cast< size_t >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_GetData__SWIG_0) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0;
    OpenBabel::OBGenericData *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMolBondBFSIter_GetData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMolBondBFSIter_GetData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (OpenBabel::OBGenericData *)(*arg1)->GetData(arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_GetData__SWIG_1) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0;
    OpenBabel::OBGenericData *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMolBondBFSIter_GetData(self,std::string const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMolBondBFSIter_GetData" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBMolBondBFSIter_GetData" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  result = (OpenBabel::OBGenericData *)(*arg1)->GetData((std::string const &)*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, 0 | SWIG_SHADOW); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_GetData__SWIG_2) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    OpenBabel::OBGenericData *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMolBondBFSIter_GetData(self,char const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBMolBondBFSIter_GetData" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); result = (OpenBabel::OBGenericData *)(*arg1)->GetData((char const *)arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, 0 | SWIG_SHADOW); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_GetData__SWIG_3) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; std::vector< OpenBabel::OBGenericData * > *result = 0 ; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMolBondBFSIter_GetData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1);
    result = (std::vector< OpenBabel::OBGenericData * > *) &(*arg1)->GetData();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_GetData__SWIG_4) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    OpenBabel::DataOrigin arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0;
    std::vector< OpenBabel::OBGenericData * > result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMolBondBFSIter_GetData(self,source);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMolBondBFSIter_GetData" "', argument " "2"" of type '" "OpenBabel::DataOrigin""'"); }
      arg2 = static_cast< OpenBabel::DataOrigin >(val2); result = (*arg1)->GetData(arg2); { size_t len = (&result)->size();
      SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) {
        OpenBabel::OBGenericData *x = ((std::vector< OpenBabel::OBGenericData * > &)result)[i]; svs[i] = sv_newmortal();
        sv_setsv(svs[i], SWIG_NewPointerObj(x, SWIGTYPE_p_OpenBabel__OBGenericData, 0)); }  AV *myav = av_make(len, svs);
      delete[] svs; ST(argvi) = newRV_noinc((SV*) myav); sv_2mortal(ST(argvi)); argvi++; }  XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_GetData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_5; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_5;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 5;
        if (_rank == _rankm) goto dispatch; }  }  check_5: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMolBondBFSIter_GetData__SWIG_3); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMolBondBFSIter_GetData__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMolBondBFSIter_GetData__SWIG_4); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMolBondBFSIter_GetData__SWIG_1); return; case 5:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBMolBondBFSIter_GetData__SWIG_2); return; }  } 
  croak("No matching function for overloaded 'OBMolBondBFSIter_GetData'"); XSRETURN(0); }
XS(_wrap_OBMolBondBFSIter_GetAllData) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0;
    std::vector< OpenBabel::OBGenericData * > result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBMolBondBFSIter_GetAllData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_GetAllData" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBMolBondBFSIter_GetAllData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (*arg1)->GetAllData(arg2); { size_t len = (&result)->size();
      SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) {
        OpenBabel::OBGenericData *x = ((std::vector< OpenBabel::OBGenericData * > &)result)[i]; svs[i] = sv_newmortal();
        sv_setsv(svs[i], SWIG_NewPointerObj(x, SWIGTYPE_p_OpenBabel__OBGenericData, 0)); }  AV *myav = av_make(len, svs);
      delete[] svs; ST(argvi) = newRV_noinc((SV*) myav); sv_2mortal(ST(argvi)); argvi++; }  XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_BeginData) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    SwigValueWrapper< std::vector< OpenBabel::OBGenericData * >::iterator > result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBMolBondBFSIter_BeginData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_BeginData" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (*arg1)->BeginData();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBDataIterator(static_cast< const OpenBabel::OBDataIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBMolBondBFSIter_EndData) { { OpenBabel::OBMolBondBFSIter *arg1 = (OpenBabel::OBMolBondBFSIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBGenericData * >::iterator > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBMolBondBFSIter_EndData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBMolBondBFSIter_EndData" "', argument " "1"" of type '" "OpenBabel::OBMolBondBFSIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondBFSIter * >(argp1); result = (*arg1)->EndData();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBDataIterator(static_cast< const OpenBabel::OBDataIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBMolBondIter__SWIG_0) { { int argvi = 0; OpenBabel::OBMolBondIter *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new__OBMolBondIter();"); } 
    result = (OpenBabel::OBMolBondIter *)new OpenBabel::OBMolBondIter();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolBondIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBMolBondIter__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBMolBondIter *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new__OBMolBondIter(mol);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new__OBMolBondIter" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    result = (OpenBabel::OBMolBondIter *)new OpenBabel::OBMolBondIter(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolBondIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBMolBondIter__SWIG_2) { { OpenBabel::OBMolBondIter *arg1 = 0 ; void *argp1 ; int res1 = 0 ; int argvi = 0;
    OpenBabel::OBMolBondIter *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new__OBMolBondIter(bi);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBMolBondIter,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new__OBMolBondIter" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new__OBMolBondIter" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1);
    result = (OpenBabel::OBMolBondIter *)new OpenBabel::OBMolBondIter((OpenBabel::OBMolBondIter const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolBondIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBMolBondIter) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new__OBMolBondIter__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new__OBMolBondIter__SWIG_1); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new__OBMolBondIter__SWIG_2); return; }  } 
  croak("No matching function for overloaded 'new__OBMolBondIter'"); XSRETURN(0); }
XS(_wrap_delete__OBMolBondIter) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete__OBMolBondIter(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete__OBMolBondIter" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_good) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_good(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_good" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1);
    result = (bool)((OpenBabel::OBMolBondIter const *)arg1)->operator bool();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_inc__SWIG_0) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBMolBondIter *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_inc(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_inc" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (OpenBabel::OBMolBondIter *) &(arg1)->operator ++();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_inc__SWIG_1) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::OBMolBondIter result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolBondIter_inc(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_inc" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolBondIter_inc" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (arg1)->operator ++(arg2);
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBMolBondIter(static_cast< const OpenBabel::OBMolBondIter& >(result))), SWIGTYPE_p_OpenBabel__OBMolBondIter, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_inc) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolBondIter_inc__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolBondIter_inc__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBMolBondIter_inc'"); XSRETURN(0); }
XS(_wrap__OBMolBondIter_deref) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBBond *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_deref(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_deref" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1);
    result = (OpenBabel::OBBond *)((OpenBabel::OBMolBondIter const *)arg1)->operator ->();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBond, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter___ref__) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBBond *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter___ref__(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter___ref__" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1);
    result = (OpenBabel::OBBond *) &((OpenBabel::OBMolBondIter const *)arg1)->operator *();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBond, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_Visit_set) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; bool arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolBondIter_Visit_set(self,Visit);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_Visit_set" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolBondIter_Visit_set" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); if (arg1) (*arg1)->Visit = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_Visit_get) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_Visit_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_Visit_get" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (bool) ((*arg1)->Visit);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_SetIdx) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolBondIter_SetIdx(self,idx);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_SetIdx" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolBondIter_SetIdx" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (*arg1)->SetIdx(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_SetId) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; unsigned long arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; unsigned long val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolBondIter_SetId(self,id);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_SetId" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolBondIter_SetId" "', argument " "2"" of type '" "unsigned long""'"); }
      arg2 = static_cast< unsigned long >(val2); (*arg1)->SetId(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_SetBO) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolBondIter_SetBO(self,order);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_SetBO" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolBondIter_SetBO" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (*arg1)->SetBO(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_SetBondOrder) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolBondIter_SetBondOrder(self,order);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_SetBondOrder" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolBondIter_SetBondOrder" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (*arg1)->SetBondOrder(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_SetBegin) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolBondIter_SetBegin(self,begin);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_SetBegin" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolBondIter_SetBegin" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); (*arg1)->SetBegin(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_SetEnd) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolBondIter_SetEnd(self,end);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_SetEnd" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolBondIter_SetEnd" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); (*arg1)->SetEnd(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_SetParent) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ;
    OpenBabel::OBMol *arg2 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolBondIter_SetParent(self,ptr);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_SetParent" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolBondIter_SetParent" "', argument " "2"" of type '" "OpenBabel::OBMol *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); (*arg1)->SetParent(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_SetLength__SWIG_0) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; double arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; double val3 ; int ecode3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: _OBMolBondIter_SetLength(self,fixed,length);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_SetLength" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolBondIter_SetLength" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "_OBMolBondIter_SetLength" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); (*arg1)->SetLength(arg2,arg3); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_SetLength__SWIG_1) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; double arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolBondIter_SetLength(self,length);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_SetLength" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1);
    ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolBondIter_SetLength" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); (*arg1)->SetLength(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_SetLength) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolBondIter_SetLength__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolBondIter_SetLength__SWIG_0); return; }  } 
  croak("No matching function for overloaded '_OBMolBondIter_SetLength'"); XSRETURN(0); }
XS(_wrap__OBMolBondIter_Set) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; int arg2 ;
    OpenBabel::OBAtom *arg3 = (OpenBabel::OBAtom *) 0 ; OpenBabel::OBAtom *arg4 = (OpenBabel::OBAtom *) 0 ; int arg5 ;
    int arg6 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ;
    int res4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 6) || (items > 6)) { SWIG_croak("Usage: _OBMolBondIter_Set(self,index,begin,end,order,flags);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_Set" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolBondIter_Set" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "_OBMolBondIter_Set" "', argument " "3"" of type '" "OpenBabel::OBAtom *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBAtom * >(argp3);
    res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "_OBMolBondIter_Set" "', argument " "4"" of type '" "OpenBabel::OBAtom *""'");  }
     arg4 = reinterpret_cast< OpenBabel::OBAtom * >(argp4); ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "_OBMolBondIter_Set" "', argument " "5"" of type '" "int""'"); }
      arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(5), &val6); if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "_OBMolBondIter_Set" "', argument " "6"" of type '" "int""'"); }
      arg6 = static_cast< int >(val6); (*arg1)->Set(arg2,arg3,arg4,arg5,arg6); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_SetKSingle) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_SetKSingle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_SetKSingle" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); (*arg1)->SetKSingle(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_SetKDouble) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_SetKDouble(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_SetKDouble" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); (*arg1)->SetKDouble(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_SetKTriple) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_SetKTriple(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_SetKTriple" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); (*arg1)->SetKTriple(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_SetAromatic) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_SetAromatic(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_SetAromatic" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); (*arg1)->SetAromatic(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_SetWedge) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_SetWedge(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_SetWedge" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); (*arg1)->SetWedge(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_SetHash) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_SetHash(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_SetHash" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); (*arg1)->SetHash(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_SetWedgeOrHash) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_SetWedgeOrHash(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_SetWedgeOrHash" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); (*arg1)->SetWedgeOrHash(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_SetUp) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBMolBondIter_SetUp(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_SetUp" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); (*arg1)->SetUp(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_SetDown) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_SetDown(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_SetDown" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); (*arg1)->SetDown(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_SetInRing__SWIG_0) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; bool arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolBondIter_SetInRing(self,set);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_SetInRing" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolBondIter_SetInRing" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); (*arg1)->SetInRing(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_SetInRing__SWIG_1) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_SetInRing(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_SetInRing" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); (*arg1)->SetInRing(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_SetInRing) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolBondIter_SetInRing__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolBondIter_SetInRing__SWIG_0); return; }  } 
  croak("No matching function for overloaded '_OBMolBondIter_SetInRing'"); XSRETURN(0); }
XS(_wrap__OBMolBondIter_SetClosure) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_SetClosure(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_SetClosure" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); (*arg1)->SetClosure(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_UnsetHash) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_UnsetHash(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_UnsetHash" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); (*arg1)->UnsetHash(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_UnsetWedge) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_UnsetWedge(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_UnsetWedge" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); (*arg1)->UnsetWedge(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_UnsetUp) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_UnsetUp(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_UnsetUp" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); (*arg1)->UnsetUp(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_UnsetDown) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_UnsetDown(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_UnsetDown" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); (*arg1)->UnsetDown(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_UnsetAromatic) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_UnsetAromatic(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_UnsetAromatic" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); (*arg1)->UnsetAromatic(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_UnsetKekule) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_UnsetKekule(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_UnsetKekule" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); (*arg1)->UnsetKekule(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_GetIdx) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_GetIdx(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_GetIdx" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (unsigned int)(*arg1)->GetIdx();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_GetId) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned long result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_GetId(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_GetId" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (unsigned long)(*arg1)->GetId();
    ST(argvi) = SWIG_From_unsigned_SS_long  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned long >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_GetBO) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_GetBO(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_GetBO" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (unsigned int)(*arg1)->GetBO();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_GetBondOrder) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_GetBondOrder(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_GetBondOrder" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (unsigned int)(*arg1)->GetBondOrder();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_GetFlags) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_GetFlags(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_GetFlags" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (unsigned int)(*arg1)->GetFlags();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_GetBeginAtomIdx) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_GetBeginAtomIdx(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_GetBeginAtomIdx" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (unsigned int)(*arg1)->GetBeginAtomIdx();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_GetEndAtomIdx) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_GetEndAtomIdx(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_GetEndAtomIdx" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (unsigned int)(*arg1)->GetEndAtomIdx();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_GetBeginAtom__SWIG_0) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_GetBeginAtom(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_GetBeginAtom" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (OpenBabel::OBAtom *)(*arg1)->GetBeginAtom();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_GetBeginAtom__SWIG_1) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_GetBeginAtom(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_GetBeginAtom" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (OpenBabel::OBAtom *)(*arg1)->GetBeginAtom();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_GetBeginAtom) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolBondIter_GetBeginAtom__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolBondIter_GetBeginAtom__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBMolBondIter_GetBeginAtom'"); XSRETURN(0); }
XS(_wrap__OBMolBondIter_GetEndAtom__SWIG_0) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_GetEndAtom(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_GetEndAtom" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (OpenBabel::OBAtom *)(*arg1)->GetEndAtom();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_GetEndAtom__SWIG_1) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_GetEndAtom(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_GetEndAtom" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (OpenBabel::OBAtom *)(*arg1)->GetEndAtom();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_GetEndAtom) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolBondIter_GetEndAtom__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolBondIter_GetEndAtom__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBMolBondIter_GetEndAtom'"); XSRETURN(0); }
XS(_wrap__OBMolBondIter_GetNbrAtom) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolBondIter_GetNbrAtom(self,ptr);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_GetNbrAtom" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolBondIter_GetNbrAtom" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (OpenBabel::OBAtom *)(*arg1)->GetNbrAtom(arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_GetParent) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBMol *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_GetParent(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_GetParent" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (OpenBabel::OBMol *)(*arg1)->GetParent();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMol, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_GetEquibLength) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_GetEquibLength(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_GetEquibLength" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (double)(*arg1)->GetEquibLength();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_GetLength) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_GetLength(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_GetLength" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (double)(*arg1)->GetLength();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_GetNbrAtomIdx) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolBondIter_GetNbrAtomIdx(self,ptr);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_GetNbrAtomIdx" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolBondIter_GetNbrAtomIdx" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (unsigned int)(*arg1)->GetNbrAtomIdx(arg2);
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_FindSmallestRing) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::OBRing *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_FindSmallestRing(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_FindSmallestRing" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (OpenBabel::OBRing *)(*arg1)->FindSmallestRing();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBRing, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_IsAromatic) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_IsAromatic(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_IsAromatic" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (bool)(*arg1)->IsAromatic();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_IsInRing) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_IsInRing(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_IsInRing" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (bool)(*arg1)->IsInRing();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_IsRotor) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_IsRotor(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_IsRotor" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (bool)(*arg1)->IsRotor();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_IsAmide) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_IsAmide(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_IsAmide" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (bool)(*arg1)->IsAmide();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_IsPrimaryAmide) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_IsPrimaryAmide(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_IsPrimaryAmide" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (bool)(*arg1)->IsPrimaryAmide();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_IsSecondaryAmide) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_IsSecondaryAmide(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_IsSecondaryAmide" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (bool)(*arg1)->IsSecondaryAmide();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_IsTertiaryAmide) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_IsTertiaryAmide(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_IsTertiaryAmide" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (bool)(*arg1)->IsTertiaryAmide();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_IsEster) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_IsEster(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_IsEster" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (bool)(*arg1)->IsEster();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_IsCarbonyl) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_IsCarbonyl(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_IsCarbonyl" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (bool)(*arg1)->IsCarbonyl();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_IsSingle) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_IsSingle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_IsSingle" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (bool)(*arg1)->IsSingle();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_IsDouble) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_IsDouble(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_IsDouble" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (bool)(*arg1)->IsDouble();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_IsTriple) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_IsTriple(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_IsTriple" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (bool)(*arg1)->IsTriple();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_IsKSingle) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_IsKSingle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_IsKSingle" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (bool)(*arg1)->IsKSingle();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_IsKDouble) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_IsKDouble(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_IsKDouble" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (bool)(*arg1)->IsKDouble();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_IsKTriple) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_IsKTriple(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_IsKTriple" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (bool)(*arg1)->IsKTriple();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_IsClosure) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_IsClosure(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_IsClosure" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (bool)(*arg1)->IsClosure();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_IsUp) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_IsUp(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_IsUp" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (bool)(*arg1)->IsUp();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_IsDown) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_IsDown(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_IsDown" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (bool)(*arg1)->IsDown();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_IsWedge) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_IsWedge(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_IsWedge" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (bool)(*arg1)->IsWedge();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_IsHash) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_IsHash(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_IsHash" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (bool)(*arg1)->IsHash();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_IsWedgeOrHash) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_IsWedgeOrHash(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_IsWedgeOrHash" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (bool)(*arg1)->IsWedgeOrHash();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_IsCisOrTrans) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_IsCisOrTrans(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_IsCisOrTrans" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (bool)(*arg1)->IsCisOrTrans();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_IsDoubleBondGeometry) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_IsDoubleBondGeometry(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_IsDoubleBondGeometry" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (bool)(*arg1)->IsDoubleBondGeometry();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_Clear) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_Clear(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_Clear" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (bool)(*arg1)->Clear();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_DoTransformations) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ;
    std::map< std::string,std::string > *arg2 = (std::map< std::string,std::string > *) 0 ;
    OpenBabel::OBConversion *arg3 = (OpenBabel::OBConversion *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; OpenBabel::OBBase *result = 0 ; dXSARGS;
    if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: _OBMolBondIter_DoTransformations(self,std::map< std::string,std::string > const *,OpenBabel::OBConversion *);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_DoTransformations" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolBondIter_DoTransformations" "', argument " "2"" of type '" "std::map< std::string,std::string > const *""'");  }
     arg2 = reinterpret_cast< std::map< std::string,std::string > * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "_OBMolBondIter_DoTransformations" "', argument " "3"" of type '" "OpenBabel::OBConversion *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBConversion * >(argp3);
    result = (OpenBabel::OBBase *)(*arg1)->DoTransformations((std::map< std::string,std::string > const *)arg2,arg3);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBase, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_ClassDescription) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_ClassDescription(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_ClassDescription" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (char *)(*arg1)->ClassDescription();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_GetTitle__SWIG_0) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; bool arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolBondIter_GetTitle(self,replaceNewlines);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_GetTitle" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolBondIter_GetTitle" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (char *)(*arg1)->GetTitle(arg2);
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_GetTitle__SWIG_1) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_GetTitle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_GetTitle" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (char *)(*arg1)->GetTitle();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_GetTitle) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolBondIter_GetTitle__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolBondIter_GetTitle__SWIG_0); return; }  } 
  croak("No matching function for overloaded '_OBMolBondIter_GetTitle'"); XSRETURN(0); }
XS(_wrap__OBMolBondIter_SetTitle) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolBondIter_SetTitle(self,char const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_SetTitle" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolBondIter_SetTitle" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); (*arg1)->SetTitle((char const *)arg2); ST(argvi) = sv_newmortal();
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_HasData__SWIG_0) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolBondIter_HasData(self,std::string const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_HasData" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolBondIter_HasData" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolBondIter_HasData" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  result = (bool)(*arg1)->HasData((std::string const &)*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_HasData__SWIG_1) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolBondIter_HasData(self,char const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_HasData" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolBondIter_HasData" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); result = (bool)(*arg1)->HasData((char const *)arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_HasData__SWIG_2) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolBondIter_HasData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_HasData" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolBondIter_HasData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (bool)(*arg1)->HasData(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_HasData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolBondIter_HasData__SWIG_2); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolBondIter_HasData__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolBondIter_HasData__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBMolBondIter_HasData'"); XSRETURN(0); }
XS(_wrap__OBMolBondIter_DeleteData__SWIG_0) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolBondIter_DeleteData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolBondIter_DeleteData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); (*arg1)->DeleteData(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_DeleteData__SWIG_1) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ;
    OpenBabel::OBGenericData *arg2 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolBondIter_DeleteData(self,OpenBabel::OBGenericData *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolBondIter_DeleteData" "', argument " "2"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBGenericData * >(argp2); (*arg1)->DeleteData(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_DeleteData__SWIG_2) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ;
    std::vector< OpenBabel::OBGenericData * > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolBondIter_DeleteData(self,std::vector< OpenBabel::OBGenericData * > &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolBondIter_DeleteData" "', argument " "2"" of type '" "std::vector< OpenBabel::OBGenericData * > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolBondIter_DeleteData" "', argument " "2"" of type '" "std::vector< OpenBabel::OBGenericData * > &""'"); }
     arg2 = reinterpret_cast< std::vector< OpenBabel::OBGenericData * > * >(argp2); (*arg1)->DeleteData(*arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_DeleteData__SWIG_3) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolBondIter_DeleteData(self,s);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolBondIter_DeleteData" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolBondIter_DeleteData" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  result = (bool)(*arg1)->DeleteData((std::string const &)*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_DeleteData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBGenericData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t, 0);
        _v = SWIG_CheckState(res);}  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolBondIter_DeleteData__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolBondIter_DeleteData__SWIG_2); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolBondIter_DeleteData__SWIG_0); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolBondIter_DeleteData__SWIG_3); return; }  } 
  croak("No matching function for overloaded '_OBMolBondIter_DeleteData'"); XSRETURN(0); }
XS(_wrap__OBMolBondIter_CloneData) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ;
    OpenBabel::OBGenericData *arg2 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolBondIter_CloneData(self,d);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_CloneData" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolBondIter_CloneData" "', argument " "2"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBGenericData * >(argp2); (*arg1)->CloneData(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_DataSize) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; size_t result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolBondIter_DataSize(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_DataSize" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (*arg1)->DataSize();
    ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1(static_cast< size_t >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_GetData__SWIG_0) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0;
    OpenBabel::OBGenericData *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolBondIter_GetData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolBondIter_GetData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (OpenBabel::OBGenericData *)(*arg1)->GetData(arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_GetData__SWIG_1) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0;
    OpenBabel::OBGenericData *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolBondIter_GetData(self,std::string const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolBondIter_GetData" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolBondIter_GetData" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  result = (OpenBabel::OBGenericData *)(*arg1)->GetData((std::string const &)*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, 0 | SWIG_SHADOW); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_GetData__SWIG_2) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    OpenBabel::OBGenericData *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolBondIter_GetData(self,char const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolBondIter_GetData" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); result = (OpenBabel::OBGenericData *)(*arg1)->GetData((char const *)arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, 0 | SWIG_SHADOW); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_GetData__SWIG_3) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::vector< OpenBabel::OBGenericData * > *result = 0 ; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBMolBondIter_GetData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1);
    result = (std::vector< OpenBabel::OBGenericData * > *) &(*arg1)->GetData();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_GetData__SWIG_4) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ;
    OpenBabel::DataOrigin arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0;
    std::vector< OpenBabel::OBGenericData * > result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolBondIter_GetData(self,source);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolBondIter_GetData" "', argument " "2"" of type '" "OpenBabel::DataOrigin""'"); }
      arg2 = static_cast< OpenBabel::DataOrigin >(val2); result = (*arg1)->GetData(arg2); { size_t len = (&result)->size();
      SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) {
        OpenBabel::OBGenericData *x = ((std::vector< OpenBabel::OBGenericData * > &)result)[i]; svs[i] = sv_newmortal();
        sv_setsv(svs[i], SWIG_NewPointerObj(x, SWIGTYPE_p_OpenBabel__OBGenericData, 0)); }  AV *myav = av_make(len, svs);
      delete[] svs; ST(argvi) = newRV_noinc((SV*) myav); sv_2mortal(ST(argvi)); argvi++; }  XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_GetData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_5; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_5;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 5;
        if (_rank == _rankm) goto dispatch; }  }  check_5: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolBondIter_GetData__SWIG_3); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolBondIter_GetData__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolBondIter_GetData__SWIG_4); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolBondIter_GetData__SWIG_1); return; case 5:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolBondIter_GetData__SWIG_2); return; }  } 
  croak("No matching function for overloaded '_OBMolBondIter_GetData'"); XSRETURN(0); }
XS(_wrap__OBMolBondIter_GetAllData) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; unsigned int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0;
    std::vector< OpenBabel::OBGenericData * > result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolBondIter_GetAllData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_GetAllData" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolBondIter_GetAllData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (*arg1)->GetAllData(arg2); { size_t len = (&result)->size();
      SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) {
        OpenBabel::OBGenericData *x = ((std::vector< OpenBabel::OBGenericData * > &)result)[i]; svs[i] = sv_newmortal();
        sv_setsv(svs[i], SWIG_NewPointerObj(x, SWIGTYPE_p_OpenBabel__OBGenericData, 0)); }  AV *myav = av_make(len, svs);
      delete[] svs; ST(argvi) = newRV_noinc((SV*) myav); sv_2mortal(ST(argvi)); argvi++; }  XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_BeginData) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBGenericData * >::iterator > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBMolBondIter_BeginData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_BeginData" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (*arg1)->BeginData();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBDataIterator(static_cast< const OpenBabel::OBDataIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolBondIter_EndData) { { OpenBabel::OBMolBondIter *arg1 = (OpenBabel::OBMolBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBGenericData * >::iterator > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBMolBondIter_EndData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolBondIter_EndData" "', argument " "1"" of type '" "OpenBabel::OBMolBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolBondIter * >(argp1); result = (*arg1)->EndData();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBDataIterator(static_cast< const OpenBabel::OBDataIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBAtomAtomIter__SWIG_0) { { int argvi = 0; OpenBabel::OBAtomAtomIter *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new__OBAtomAtomIter();"); } 
    result = (OpenBabel::OBAtomAtomIter *)new OpenBabel::OBAtomAtomIter();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtomAtomIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBAtomAtomIter__SWIG_1) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBAtomAtomIter *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new__OBAtomAtomIter(atm);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new__OBAtomAtomIter" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    result = (OpenBabel::OBAtomAtomIter *)new OpenBabel::OBAtomAtomIter(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtomAtomIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBAtomAtomIter__SWIG_2) { { OpenBabel::OBAtomAtomIter *arg1 = 0 ; void *argp1 ; int res1 = 0 ; int argvi = 0;
    OpenBabel::OBAtomAtomIter *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new__OBAtomAtomIter(ai);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBAtomAtomIter,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new__OBAtomAtomIter" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new__OBAtomAtomIter" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    result = (OpenBabel::OBAtomAtomIter *)new OpenBabel::OBAtomAtomIter((OpenBabel::OBAtomAtomIter const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtomAtomIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBAtomAtomIter) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new__OBAtomAtomIter__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new__OBAtomAtomIter__SWIG_1); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new__OBAtomAtomIter__SWIG_2); return; }  } 
  croak("No matching function for overloaded 'new__OBAtomAtomIter'"); XSRETURN(0); }
XS(_wrap_delete__OBAtomAtomIter) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: delete__OBAtomAtomIter(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete__OBAtomAtomIter" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_good) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_good(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_good" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    result = (bool)((OpenBabel::OBAtomAtomIter const *)arg1)->operator bool();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_inc__SWIG_0) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBAtomAtomIter *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_inc(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_inc" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    result = (OpenBabel::OBAtomAtomIter *) &(arg1)->operator ++();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_inc__SWIG_1) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::OBAtomAtomIter result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomAtomIter_inc(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_inc" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomAtomIter_inc" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (arg1)->operator ++(arg2);
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBAtomAtomIter(static_cast< const OpenBabel::OBAtomAtomIter& >(result))), SWIGTYPE_p_OpenBabel__OBAtomAtomIter, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_inc) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomAtomIter_inc__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomAtomIter_inc__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBAtomAtomIter_inc'"); XSRETURN(0); }
XS(_wrap__OBAtomAtomIter_deref) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_deref(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_deref" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    result = (OpenBabel::OBAtom *)((OpenBabel::OBAtomAtomIter const *)arg1)->operator ->();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter___ref__) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter___ref__(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter___ref__" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    result = (OpenBabel::OBAtom *) &((OpenBabel::OBAtomAtomIter const *)arg1)->operator *();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_Visit_set) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; bool arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomAtomIter_Visit_set(self,Visit);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_Visit_set" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomAtomIter_Visit_set" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); if (arg1) (*arg1)->Visit = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_Visit_get) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_Visit_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_Visit_get" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool) ((*arg1)->Visit);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter___eq__) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomAtomIter___eq__(self,other);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter___eq__" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomAtomIter___eq__" "', argument " "2"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2);
    result = (bool)(*arg1)->operator ==((OpenBabel::OBAtom const *)arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_Duplicate) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomAtomIter_Duplicate(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_Duplicate" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomAtomIter_Duplicate" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); (*arg1)->Duplicate(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_SetIdx) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomAtomIter_SetIdx(self,idx);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_SetIdx" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomAtomIter_SetIdx" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (*arg1)->SetIdx(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_SetId) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; unsigned long arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; unsigned long val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomAtomIter_SetId(self,id);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_SetId" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomAtomIter_SetId" "', argument " "2"" of type '" "unsigned long""'"); }
      arg2 = static_cast< unsigned long >(val2); (*arg1)->SetId(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_SetHyb) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomAtomIter_SetHyb(self,hyb);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_SetHyb" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomAtomIter_SetHyb" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (*arg1)->SetHyb(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_SetAtomicNum) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomAtomIter_SetAtomicNum(self,atomicnum);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_SetAtomicNum" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomAtomIter_SetAtomicNum" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (*arg1)->SetAtomicNum(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_SetIsotope) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; unsigned int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomAtomIter_SetIsotope(self,iso);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_SetIsotope" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomAtomIter_SetIsotope" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); (*arg1)->SetIsotope(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_SetImplicitValence) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomAtomIter_SetImplicitValence(self,val);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_SetImplicitValence" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomAtomIter_SetImplicitValence" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (*arg1)->SetImplicitValence(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_IncrementImplicitValence) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_IncrementImplicitValence(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_IncrementImplicitValence" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); (*arg1)->IncrementImplicitValence();
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_DecrementImplicitValence) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_DecrementImplicitValence(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_DecrementImplicitValence" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); (*arg1)->DecrementImplicitValence();
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_SetFormalCharge) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomAtomIter_SetFormalCharge(self,fcharge);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_SetFormalCharge" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomAtomIter_SetFormalCharge" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (*arg1)->SetFormalCharge(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_SetSpinMultiplicity) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    short arg2 ; void *argp1 = 0 ; int res1 = 0 ; short val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomAtomIter_SetSpinMultiplicity(self,spin);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_SetSpinMultiplicity" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_short SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomAtomIter_SetSpinMultiplicity" "', argument " "2"" of type '" "short""'"); }
      arg2 = static_cast< short >(val2); (*arg1)->SetSpinMultiplicity(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_SetType__SWIG_0) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomAtomIter_SetType(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_SetType" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomAtomIter_SetType" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); (*arg1)->SetType((char const *)arg2); ST(argvi) = sv_newmortal();
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_SetType__SWIG_1) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomAtomIter_SetType(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_SetType" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomAtomIter_SetType" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBAtomAtomIter_SetType" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  (*arg1)->SetType((std::string const &)*arg2); ST(argvi) = sv_newmortal();
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_SetType) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomAtomIter_SetType__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomAtomIter_SetType__SWIG_0); return; }  } 
  croak("No matching function for overloaded '_OBAtomAtomIter_SetType'"); XSRETURN(0); }
XS(_wrap__OBAtomAtomIter_SetPartialCharge) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; double arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomAtomIter_SetPartialCharge(self,pcharge);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_SetPartialCharge" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomAtomIter_SetPartialCharge" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); (*arg1)->SetPartialCharge(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_SetVector__SWIG_0) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    OpenBabel::vector3 *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomAtomIter_SetVector(self,v);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_SetVector" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomAtomIter_SetVector" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBAtomAtomIter_SetVector" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2); (*arg1)->SetVector((OpenBabel::vector3 const &)*arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_SetVector__SWIG_1) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    double arg2 ; double arg3 ; double arg4 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; double val3 ;
    int ecode3 = 0 ; double val4 ; int ecode4 = 0 ; int argvi = 0; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: _OBAtomAtomIter_SetVector(self,x,y,z);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_SetVector" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomAtomIter_SetVector" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "_OBAtomAtomIter_SetVector" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "_OBAtomAtomIter_SetVector" "', argument " "4"" of type '" "double""'"); }
      arg4 = static_cast< double >(val4); (*arg1)->SetVector(arg2,arg3,arg4); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_SetVector__SWIG_2) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_SetVector(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_SetVector" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); (*arg1)->SetVector(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_SetVector) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 4) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomAtomIter_SetVector__SWIG_2); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomAtomIter_SetVector__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomAtomIter_SetVector__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBAtomAtomIter_SetVector'"); XSRETURN(0); }
XS(_wrap__OBAtomAtomIter_SetCoordPtr) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    double **arg2 = (double **) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomAtomIter_SetCoordPtr(self,c);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_SetCoordPtr" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_p_double, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomAtomIter_SetCoordPtr" "', argument " "2"" of type '" "double **""'");  }
     arg2 = reinterpret_cast< double ** >(argp2); (*arg1)->SetCoordPtr(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_SetResidue) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    OpenBabel::OBResidue *arg2 = (OpenBabel::OBResidue *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomAtomIter_SetResidue(self,res);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_SetResidue" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomAtomIter_SetResidue" "', argument " "2"" of type '" "OpenBabel::OBResidue *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBResidue * >(argp2); (*arg1)->SetResidue(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_SetParent) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    OpenBabel::OBMol *arg2 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomAtomIter_SetParent(self,ptr);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_SetParent" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomAtomIter_SetParent" "', argument " "2"" of type '" "OpenBabel::OBMol *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); (*arg1)->SetParent(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_SetAromatic) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_SetAromatic(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_SetAromatic" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); (*arg1)->SetAromatic(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_UnsetAromatic) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_UnsetAromatic(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_UnsetAromatic" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); (*arg1)->UnsetAromatic(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_SetClockwiseStereo) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_SetClockwiseStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_SetClockwiseStereo" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); (*arg1)->SetClockwiseStereo(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_SetAntiClockwiseStereo) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_SetAntiClockwiseStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_SetAntiClockwiseStereo" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); (*arg1)->SetAntiClockwiseStereo();
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_SetPositiveStereo) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_SetPositiveStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_SetPositiveStereo" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); (*arg1)->SetPositiveStereo(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_SetNegativeStereo) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_SetNegativeStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_SetNegativeStereo" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); (*arg1)->SetNegativeStereo(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_UnsetStereo) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_UnsetStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_UnsetStereo" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); (*arg1)->UnsetStereo(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_SetInRing) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_SetInRing(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_SetInRing" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); (*arg1)->SetInRing(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_SetChiral) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_SetChiral(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_SetChiral" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); (*arg1)->SetChiral(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_ClearCoordPtr) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_ClearCoordPtr(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_ClearCoordPtr" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); (*arg1)->ClearCoordPtr(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetFormalCharge) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_GetFormalCharge(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetFormalCharge" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (int)(*arg1)->GetFormalCharge();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetAtomicNum) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_GetAtomicNum(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetAtomicNum" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (unsigned int)(*arg1)->GetAtomicNum();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetIsotope) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned short result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_GetIsotope(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetIsotope" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (unsigned short)(*arg1)->GetIsotope();
    ST(argvi) = SWIG_From_unsigned_SS_short  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned short >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetSpinMultiplicity) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_GetSpinMultiplicity(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetSpinMultiplicity" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (int)(*arg1)->GetSpinMultiplicity();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetAtomicMass) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_GetAtomicMass(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetAtomicMass" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (double)(*arg1)->GetAtomicMass();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetExactMass) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_GetExactMass(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetExactMass" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (double)(*arg1)->GetExactMass();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetIdx) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_GetIdx(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetIdx" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (unsigned int)(*arg1)->GetIdx();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetIndex) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_GetIndex(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetIndex" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (unsigned int)(*arg1)->GetIndex();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetId) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned long result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_GetId(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetId" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (unsigned long)(*arg1)->GetId();
    ST(argvi) = SWIG_From_unsigned_SS_long  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned long >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetCoordinateIdx) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_GetCoordinateIdx(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetCoordinateIdx" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (unsigned int)(*arg1)->GetCoordinateIdx();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetCIdx) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_GetCIdx(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetCIdx" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (unsigned int)(*arg1)->GetCIdx();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetValence) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_GetValence(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetValence" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (unsigned int)(*arg1)->GetValence();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetHyb) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_GetHyb(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetHyb" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (unsigned int)(*arg1)->GetHyb();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetImplicitValence) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_GetImplicitValence(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetImplicitValence" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (unsigned int)(*arg1)->GetImplicitValence();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetHvyValence) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_GetHvyValence(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetHvyValence" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (unsigned int)(*arg1)->GetHvyValence();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetHeteroValence) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_GetHeteroValence(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetHeteroValence" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (unsigned int)(*arg1)->GetHeteroValence();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetType) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_GetType(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetType" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (char *)(*arg1)->GetType();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetX) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_GetX(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetX" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (double)(*arg1)->GetX();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetY) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_GetY(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetY" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (double)(*arg1)->GetY();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetZ) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_GetZ(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetZ" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (double)(*arg1)->GetZ();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_x) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_x(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_x" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (double)(*arg1)->x();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_y) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_y(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_y" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (double)(*arg1)->y();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_z) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_z(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_z" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (double)(*arg1)->z();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetCoordinate) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_GetCoordinate(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetCoordinate" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (double *)(*arg1)->GetCoordinate();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetVector__SWIG_0) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::vector3 *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_GetVector(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetVector" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (OpenBabel::vector3 *) &(*arg1)->GetVector();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__vector3, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetVector__SWIG_1) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::vector3 *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_GetVector(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetVector" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (OpenBabel::vector3 *) &(*arg1)->GetVector();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__vector3, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetVector) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomAtomIter_GetVector__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomAtomIter_GetVector__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBAtomAtomIter_GetVector'"); XSRETURN(0); }
XS(_wrap__OBAtomAtomIter_GetPartialCharge) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_GetPartialCharge(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetPartialCharge" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (double)(*arg1)->GetPartialCharge();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetResidue__SWIG_0) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::OBResidue *result = 0 ; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBAtomAtomIter_GetResidue(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetResidue" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (OpenBabel::OBResidue *)(*arg1)->GetResidue();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBResidue, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetResidue__SWIG_1) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; bool arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::OBResidue *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomAtomIter_GetResidue(self,perception);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetResidue" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomAtomIter_GetResidue" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (OpenBabel::OBResidue *)(*arg1)->GetResidue(arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBResidue, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetResidue) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomAtomIter_GetResidue__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomAtomIter_GetResidue__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBAtomAtomIter_GetResidue'"); XSRETURN(0); }
XS(_wrap__OBAtomAtomIter_GetParent) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBMol *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_GetParent(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetParent" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (OpenBabel::OBMol *)(*arg1)->GetParent();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMol, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetNewBondVector) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    OpenBabel::vector3 *arg2 = 0 ; double arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; double val3 ;
    int ecode3 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: _OBAtomAtomIter_GetNewBondVector(self,v,length);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetNewBondVector" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomAtomIter_GetNewBondVector" "', argument " "2"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBAtomAtomIter_GetNewBondVector" "', argument " "2"" of type '" "OpenBabel::vector3 &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "_OBAtomAtomIter_GetNewBondVector" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); result = (bool)(*arg1)->GetNewBondVector(*arg2,arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetBond) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; OpenBabel::OBBond *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomAtomIter_GetBond(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetBond" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomAtomIter_GetBond" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (OpenBabel::OBBond *)(*arg1)->GetBond(arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBond, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetNextAtom) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_GetNextAtom(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetNextAtom" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (OpenBabel::OBAtom *)(*arg1)->GetNextAtom();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_BeginBonds) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBBond * >::iterator > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBAtomAtomIter_BeginBonds(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_BeginBonds" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (*arg1)->BeginBonds();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBBondIterator(static_cast< const OpenBabel::OBBondIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_EndBonds) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBBond * >::iterator > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBAtomAtomIter_EndBonds(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_EndBonds" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (*arg1)->EndBonds();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBBondIterator(static_cast< const OpenBabel::OBBondIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_BeginBond) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    OpenBabel::OBBondIterator *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    OpenBabel::OBBond *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomAtomIter_BeginBond(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_BeginBond" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomAtomIter_BeginBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBAtomAtomIter_BeginBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBondIterator * >(argp2); result = (OpenBabel::OBBond *)(*arg1)->BeginBond(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBond, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_NextBond) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    OpenBabel::OBBondIterator *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    OpenBabel::OBBond *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomAtomIter_NextBond(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_NextBond" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomAtomIter_NextBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBAtomAtomIter_NextBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBondIterator * >(argp2); result = (OpenBabel::OBBond *)(*arg1)->NextBond(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBond, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_BeginNbrAtom) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    OpenBabel::OBBondIterator *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomAtomIter_BeginNbrAtom(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_BeginNbrAtom" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomAtomIter_BeginNbrAtom" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBAtomAtomIter_BeginNbrAtom" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBondIterator * >(argp2); result = (OpenBabel::OBAtom *)(*arg1)->BeginNbrAtom(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_NextNbrAtom) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    OpenBabel::OBBondIterator *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomAtomIter_NextNbrAtom(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_NextNbrAtom" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomAtomIter_NextNbrAtom" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBAtomAtomIter_NextNbrAtom" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBondIterator * >(argp2); result = (OpenBabel::OBAtom *)(*arg1)->NextNbrAtom(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetDistance__SWIG_0) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomAtomIter_GetDistance(self,index);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetDistance" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomAtomIter_GetDistance" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (double)(*arg1)->GetDistance(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetDistance__SWIG_1) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomAtomIter_GetDistance(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetDistance" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomAtomIter_GetDistance" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (double)(*arg1)->GetDistance(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetDistance) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomAtomIter_GetDistance__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomAtomIter_GetDistance__SWIG_0); return; }  } 
  croak("No matching function for overloaded '_OBAtomAtomIter_GetDistance'"); XSRETURN(0); }
XS(_wrap__OBAtomAtomIter_GetAngle__SWIG_0) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; int arg2 ;
    int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int argvi = 0;
    double result; dXSARGS; if ((items < 3) || (items > 3)) { SWIG_croak("Usage: _OBAtomAtomIter_GetAngle(self,b,c);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetAngle" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomAtomIter_GetAngle" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "_OBAtomAtomIter_GetAngle" "', argument " "3"" of type '" "int""'"); }
      arg3 = static_cast< int >(val3); result = (double)(*arg1)->GetAngle(arg2,arg3);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetAngle__SWIG_1) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; OpenBabel::OBAtom *arg3 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: _OBAtomAtomIter_GetAngle(self,b,c);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetAngle" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomAtomIter_GetAngle" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "_OBAtomAtomIter_GetAngle" "', argument " "3"" of type '" "OpenBabel::OBAtom *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBAtom * >(argp3); result = (double)(*arg1)->GetAngle(arg2,arg3);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetAngle) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    dispatch: switch(_index) { case 1: ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomAtomIter_GetAngle__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomAtomIter_GetAngle__SWIG_0); return; }  } 
  croak("No matching function for overloaded '_OBAtomAtomIter_GetAngle'"); XSRETURN(0); }
XS(_wrap__OBAtomAtomIter_NewResidue) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_NewResidue(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_NewResidue" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); (*arg1)->NewResidue(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_AddResidue) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    OpenBabel::OBResidue *arg2 = (OpenBabel::OBResidue *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomAtomIter_AddResidue(self,res);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_AddResidue" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomAtomIter_AddResidue" "', argument " "2"" of type '" "OpenBabel::OBResidue *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBResidue * >(argp2); (*arg1)->AddResidue(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_DeleteResidue) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_DeleteResidue(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_DeleteResidue" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); (*arg1)->DeleteResidue(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_AddBond) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    OpenBabel::OBBond *arg2 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomAtomIter_AddBond(self,bond);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_AddBond" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomAtomIter_AddBond" "', argument " "2"" of type '" "OpenBabel::OBBond *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBond * >(argp2); (*arg1)->AddBond(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_InsertBond) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    OpenBabel::OBBondIterator *arg2 = 0 ; OpenBabel::OBBond *arg3 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: _OBAtomAtomIter_InsertBond(self,i,bond);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_InsertBond" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomAtomIter_InsertBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBAtomAtomIter_InsertBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBondIterator * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "_OBAtomAtomIter_InsertBond" "', argument " "3"" of type '" "OpenBabel::OBBond *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBBond * >(argp3); (*arg1)->InsertBond(*arg2,arg3); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_DeleteBond) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    OpenBabel::OBBond *arg2 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomAtomIter_DeleteBond(self,bond);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_DeleteBond" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomAtomIter_DeleteBond" "', argument " "2"" of type '" "OpenBabel::OBBond *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBond * >(argp2); result = (bool)(*arg1)->DeleteBond(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_ClearBond) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_ClearBond(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_ClearBond" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); (*arg1)->ClearBond(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_HtoMethyl) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_HtoMethyl(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_HtoMethyl" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->HtoMethyl();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_SetHybAndGeom) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomAtomIter_SetHybAndGeom(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_SetHybAndGeom" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomAtomIter_SetHybAndGeom" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (bool)(*arg1)->SetHybAndGeom(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_ForceNoH) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_ForceNoH(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_ForceNoH" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); (*arg1)->ForceNoH(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_HasNoHForced) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_HasNoHForced(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_HasNoHForced" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->HasNoHForced();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_ForceImplH) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_ForceImplH(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_ForceImplH" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); (*arg1)->ForceImplH(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_HasImplHForced) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_HasImplHForced(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_HasImplHForced" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->HasImplHForced();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_CountFreeOxygens) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_CountFreeOxygens(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_CountFreeOxygens" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (unsigned int)(*arg1)->CountFreeOxygens();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_ImplicitHydrogenCount) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_ImplicitHydrogenCount(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_ImplicitHydrogenCount" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (unsigned int)(*arg1)->ImplicitHydrogenCount();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_ExplicitHydrogenCount__SWIG_0) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; unsigned int result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomAtomIter_ExplicitHydrogenCount(self,ExcludeIsotopes);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_ExplicitHydrogenCount" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomAtomIter_ExplicitHydrogenCount" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (unsigned int)(*arg1)->ExplicitHydrogenCount(arg2);
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_ExplicitHydrogenCount__SWIG_1) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_ExplicitHydrogenCount(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_ExplicitHydrogenCount" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (unsigned int)(*arg1)->ExplicitHydrogenCount();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_ExplicitHydrogenCount) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0; 
    if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomAtomIter_ExplicitHydrogenCount__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomAtomIter_ExplicitHydrogenCount__SWIG_0); return; }  } 
  croak("No matching function for overloaded '_OBAtomAtomIter_ExplicitHydrogenCount'"); XSRETURN(0); }
XS(_wrap__OBAtomAtomIter_MemberOfRingCount) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_MemberOfRingCount(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_MemberOfRingCount" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (unsigned int)(*arg1)->MemberOfRingCount();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_MemberOfRingSize) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_MemberOfRingSize(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_MemberOfRingSize" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (unsigned int)(*arg1)->MemberOfRingSize();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_CountRingBonds) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_CountRingBonds(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_CountRingBonds" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (unsigned int)(*arg1)->CountRingBonds();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_SmallestBondAngle) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_SmallestBondAngle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_SmallestBondAngle" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (double)(*arg1)->SmallestBondAngle();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_AverageBondAngle) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_AverageBondAngle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_AverageBondAngle" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (double)(*arg1)->AverageBondAngle();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_BOSum) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_BOSum(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_BOSum" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (unsigned int)(*arg1)->BOSum();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_KBOSum) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_KBOSum(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_KBOSum" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (unsigned int)(*arg1)->KBOSum();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_HasResidue) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_HasResidue(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_HasResidue" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->HasResidue();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_IsHydrogen__SWIG_0) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_IsHydrogen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_IsHydrogen" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->IsHydrogen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_IsHydrogen__SWIG_1) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_IsHydrogen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_IsHydrogen" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->IsHydrogen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_IsHydrogen) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomAtomIter_IsHydrogen__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomAtomIter_IsHydrogen__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBAtomAtomIter_IsHydrogen'"); XSRETURN(0); }
XS(_wrap__OBAtomAtomIter_IsCarbon) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_IsCarbon(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_IsCarbon" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->IsCarbon();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_IsNitrogen) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_IsNitrogen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_IsNitrogen" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->IsNitrogen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_IsOxygen) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_IsOxygen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_IsOxygen" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->IsOxygen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_IsSulfur) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_IsSulfur(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_IsSulfur" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->IsSulfur();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_IsPhosphorus) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_IsPhosphorus(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_IsPhosphorus" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->IsPhosphorus();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_IsAromatic) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_IsAromatic(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_IsAromatic" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->IsAromatic();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_IsInRing) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_IsInRing(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_IsInRing" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->IsInRing();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_IsInRingSize) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomAtomIter_IsInRingSize(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_IsInRingSize" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomAtomIter_IsInRingSize" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (bool)(*arg1)->IsInRingSize(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_IsHeteroatom) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_IsHeteroatom(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_IsHeteroatom" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->IsHeteroatom();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_IsNotCorH) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_IsNotCorH(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_IsNotCorH" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->IsNotCorH();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_IsConnected) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomAtomIter_IsConnected(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_IsConnected" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomAtomIter_IsConnected" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (bool)(*arg1)->IsConnected(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_IsOneThree) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomAtomIter_IsOneThree(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_IsOneThree" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomAtomIter_IsOneThree" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (bool)(*arg1)->IsOneThree(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_IsOneFour) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomAtomIter_IsOneFour(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_IsOneFour" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomAtomIter_IsOneFour" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (bool)(*arg1)->IsOneFour(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_IsCarboxylOxygen) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_IsCarboxylOxygen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_IsCarboxylOxygen" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->IsCarboxylOxygen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_IsPhosphateOxygen) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_IsPhosphateOxygen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_IsPhosphateOxygen" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->IsPhosphateOxygen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_IsSulfateOxygen) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_IsSulfateOxygen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_IsSulfateOxygen" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->IsSulfateOxygen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_IsNitroOxygen) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_IsNitroOxygen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_IsNitroOxygen" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->IsNitroOxygen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_IsAmideNitrogen) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_IsAmideNitrogen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_IsAmideNitrogen" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->IsAmideNitrogen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_IsPolarHydrogen) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_IsPolarHydrogen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_IsPolarHydrogen" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->IsPolarHydrogen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_IsNonPolarHydrogen) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_IsNonPolarHydrogen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_IsNonPolarHydrogen" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->IsNonPolarHydrogen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_IsAromaticNOxide) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_IsAromaticNOxide(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_IsAromaticNOxide" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->IsAromaticNOxide();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_IsChiral) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_IsChiral(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_IsChiral" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->IsChiral();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_IsAxial) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_IsAxial(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_IsAxial" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->IsAxial();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_IsClockwise) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_IsClockwise(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_IsClockwise" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->IsClockwise();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_IsAntiClockwise) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_IsAntiClockwise(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_IsAntiClockwise" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->IsAntiClockwise();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_IsPositiveStereo) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_IsPositiveStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_IsPositiveStereo" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->IsPositiveStereo();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_IsNegativeStereo) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_IsNegativeStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_IsNegativeStereo" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->IsNegativeStereo();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_HasChiralitySpecified) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_HasChiralitySpecified(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_HasChiralitySpecified" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->HasChiralitySpecified();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_HasChiralVolume) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_HasChiralVolume(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_HasChiralVolume" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->HasChiralVolume();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_IsHbondAcceptor) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_IsHbondAcceptor(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_IsHbondAcceptor" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->IsHbondAcceptor();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_IsHbondDonor) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_IsHbondDonor(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_IsHbondDonor" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->IsHbondDonor();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_IsHbondDonorH) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_IsHbondDonorH(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_IsHbondDonorH" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->IsHbondDonorH();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_HasAlphaBetaUnsat__SWIG_0) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomAtomIter_HasAlphaBetaUnsat(self,includePandS);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_HasAlphaBetaUnsat" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomAtomIter_HasAlphaBetaUnsat" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (bool)(*arg1)->HasAlphaBetaUnsat(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_HasAlphaBetaUnsat__SWIG_1) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_HasAlphaBetaUnsat(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_HasAlphaBetaUnsat" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->HasAlphaBetaUnsat();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_HasAlphaBetaUnsat) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomAtomIter_HasAlphaBetaUnsat__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomAtomIter_HasAlphaBetaUnsat__SWIG_0); return; }  } 
  croak("No matching function for overloaded '_OBAtomAtomIter_HasAlphaBetaUnsat'"); XSRETURN(0); }
XS(_wrap__OBAtomAtomIter_HasBondOfOrder) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomAtomIter_HasBondOfOrder(self,bo);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_HasBondOfOrder" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomAtomIter_HasBondOfOrder" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (bool)(*arg1)->HasBondOfOrder(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_CountBondsOfOrder) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; int result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomAtomIter_CountBondsOfOrder(self,bo);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_CountBondsOfOrder" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomAtomIter_CountBondsOfOrder" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (int)(*arg1)->CountBondsOfOrder(arg2);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_HasNonSingleBond) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_HasNonSingleBond(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_HasNonSingleBond" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->HasNonSingleBond();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_HasSingleBond) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_HasSingleBond(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_HasSingleBond" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->HasSingleBond();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_HasDoubleBond) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_HasDoubleBond(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_HasDoubleBond" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->HasDoubleBond();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_HasAromaticBond) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_HasAromaticBond(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_HasAromaticBond" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->HasAromaticBond();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_MatchesSMARTS) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomAtomIter_MatchesSMARTS(self,char const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_MatchesSMARTS" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomAtomIter_MatchesSMARTS" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); result = (bool)(*arg1)->MatchesSMARTS((char const *)arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_Clear) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_Clear(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_Clear" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (bool)(*arg1)->Clear();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_DoTransformations) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    std::map< std::string,std::string > *arg2 = (std::map< std::string,std::string > *) 0 ;
    OpenBabel::OBConversion *arg3 = (OpenBabel::OBConversion *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; OpenBabel::OBBase *result = 0 ; dXSARGS;
    if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: _OBAtomAtomIter_DoTransformations(self,std::map< std::string,std::string > const *,OpenBabel::OBConversion *);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_DoTransformations" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomAtomIter_DoTransformations" "', argument " "2"" of type '" "std::map< std::string,std::string > const *""'");  }
     arg2 = reinterpret_cast< std::map< std::string,std::string > * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "_OBAtomAtomIter_DoTransformations" "', argument " "3"" of type '" "OpenBabel::OBConversion *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBConversion * >(argp3);
    result = (OpenBabel::OBBase *)(*arg1)->DoTransformations((std::map< std::string,std::string > const *)arg2,arg3);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBase, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_ClassDescription) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_ClassDescription(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_ClassDescription" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (char *)(*arg1)->ClassDescription();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetTitle__SWIG_0) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; bool arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomAtomIter_GetTitle(self,replaceNewlines);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetTitle" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomAtomIter_GetTitle" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (char *)(*arg1)->GetTitle(arg2);
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetTitle__SWIG_1) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_GetTitle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetTitle" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (char *)(*arg1)->GetTitle();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetTitle) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomAtomIter_GetTitle__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomAtomIter_GetTitle__SWIG_0); return; }  } 
  croak("No matching function for overloaded '_OBAtomAtomIter_GetTitle'"); XSRETURN(0); }
XS(_wrap__OBAtomAtomIter_SetTitle) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomAtomIter_SetTitle(self,char const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_SetTitle" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomAtomIter_SetTitle" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); (*arg1)->SetTitle((char const *)arg2); ST(argvi) = sv_newmortal();
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_HasData__SWIG_0) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomAtomIter_HasData(self,std::string const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_HasData" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomAtomIter_HasData" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBAtomAtomIter_HasData" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  result = (bool)(*arg1)->HasData((std::string const &)*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_HasData__SWIG_1) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomAtomIter_HasData(self,char const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_HasData" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomAtomIter_HasData" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); result = (bool)(*arg1)->HasData((char const *)arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_HasData__SWIG_2) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomAtomIter_HasData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_HasData" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomAtomIter_HasData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (bool)(*arg1)->HasData(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_HasData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomAtomIter_HasData__SWIG_2); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomAtomIter_HasData__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomAtomIter_HasData__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBAtomAtomIter_HasData'"); XSRETURN(0); }
XS(_wrap__OBAtomAtomIter_DeleteData__SWIG_0) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomAtomIter_DeleteData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomAtomIter_DeleteData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); (*arg1)->DeleteData(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_DeleteData__SWIG_1) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    OpenBabel::OBGenericData *arg2 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomAtomIter_DeleteData(self,OpenBabel::OBGenericData *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomAtomIter_DeleteData" "', argument " "2"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBGenericData * >(argp2); (*arg1)->DeleteData(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_DeleteData__SWIG_2) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    std::vector< OpenBabel::OBGenericData * > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomAtomIter_DeleteData(self,std::vector< OpenBabel::OBGenericData * > &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomAtomIter_DeleteData" "', argument " "2"" of type '" "std::vector< OpenBabel::OBGenericData * > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBAtomAtomIter_DeleteData" "', argument " "2"" of type '" "std::vector< OpenBabel::OBGenericData * > &""'"); }
     arg2 = reinterpret_cast< std::vector< OpenBabel::OBGenericData * > * >(argp2); (*arg1)->DeleteData(*arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_DeleteData__SWIG_3) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomAtomIter_DeleteData(self,s);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomAtomIter_DeleteData" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBAtomAtomIter_DeleteData" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  result = (bool)(*arg1)->DeleteData((std::string const &)*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_DeleteData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBGenericData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t, 0);
        _v = SWIG_CheckState(res);}  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomAtomIter_DeleteData__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomAtomIter_DeleteData__SWIG_2); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomAtomIter_DeleteData__SWIG_0); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomAtomIter_DeleteData__SWIG_3); return; }  } 
  croak("No matching function for overloaded '_OBAtomAtomIter_DeleteData'"); XSRETURN(0); }
XS(_wrap__OBAtomAtomIter_CloneData) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    OpenBabel::OBGenericData *arg2 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomAtomIter_CloneData(self,d);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_CloneData" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomAtomIter_CloneData" "', argument " "2"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBGenericData * >(argp2); (*arg1)->CloneData(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_DataSize) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; size_t result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomAtomIter_DataSize(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_DataSize" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (*arg1)->DataSize();
    ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1(static_cast< size_t >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetData__SWIG_0) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0;
    OpenBabel::OBGenericData *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomAtomIter_GetData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomAtomIter_GetData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (OpenBabel::OBGenericData *)(*arg1)->GetData(arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetData__SWIG_1) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0;
    OpenBabel::OBGenericData *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomAtomIter_GetData(self,std::string const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomAtomIter_GetData" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBAtomAtomIter_GetData" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  result = (OpenBabel::OBGenericData *)(*arg1)->GetData((std::string const &)*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, 0 | SWIG_SHADOW); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetData__SWIG_2) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    OpenBabel::OBGenericData *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomAtomIter_GetData(self,char const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomAtomIter_GetData" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); result = (OpenBabel::OBGenericData *)(*arg1)->GetData((char const *)arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, 0 | SWIG_SHADOW); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetData__SWIG_3) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; std::vector< OpenBabel::OBGenericData * > *result = 0 ; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBAtomAtomIter_GetData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    result = (std::vector< OpenBabel::OBGenericData * > *) &(*arg1)->GetData();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetData__SWIG_4) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ;
    OpenBabel::DataOrigin arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0;
    std::vector< OpenBabel::OBGenericData * > result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomAtomIter_GetData(self,source);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomAtomIter_GetData" "', argument " "2"" of type '" "OpenBabel::DataOrigin""'"); }
      arg2 = static_cast< OpenBabel::DataOrigin >(val2); result = (*arg1)->GetData(arg2); { size_t len = (&result)->size();
      SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) {
        OpenBabel::OBGenericData *x = ((std::vector< OpenBabel::OBGenericData * > &)result)[i]; svs[i] = sv_newmortal();
        sv_setsv(svs[i], SWIG_NewPointerObj(x, SWIGTYPE_p_OpenBabel__OBGenericData, 0)); }  AV *myav = av_make(len, svs);
      delete[] svs; ST(argvi) = newRV_noinc((SV*) myav); sv_2mortal(ST(argvi)); argvi++; }  XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_GetData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_5; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_5;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 5;
        if (_rank == _rankm) goto dispatch; }  }  check_5: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomAtomIter_GetData__SWIG_3); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomAtomIter_GetData__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomAtomIter_GetData__SWIG_4); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomAtomIter_GetData__SWIG_1); return; case 5:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomAtomIter_GetData__SWIG_2); return; }  } 
  croak("No matching function for overloaded '_OBAtomAtomIter_GetData'"); XSRETURN(0); }
XS(_wrap__OBAtomAtomIter_GetAllData) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; unsigned int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0;
    std::vector< OpenBabel::OBGenericData * > result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomAtomIter_GetAllData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_GetAllData" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomAtomIter_GetAllData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (*arg1)->GetAllData(arg2); { size_t len = (&result)->size();
      SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) {
        OpenBabel::OBGenericData *x = ((std::vector< OpenBabel::OBGenericData * > &)result)[i]; svs[i] = sv_newmortal();
        sv_setsv(svs[i], SWIG_NewPointerObj(x, SWIGTYPE_p_OpenBabel__OBGenericData, 0)); }  AV *myav = av_make(len, svs);
      delete[] svs; ST(argvi) = newRV_noinc((SV*) myav); sv_2mortal(ST(argvi)); argvi++; }  XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_BeginData) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBGenericData * >::iterator > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBAtomAtomIter_BeginData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_BeginData" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (*arg1)->BeginData();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBDataIterator(static_cast< const OpenBabel::OBDataIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomAtomIter_EndData) { { OpenBabel::OBAtomAtomIter *arg1 = (OpenBabel::OBAtomAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBGenericData * >::iterator > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBAtomAtomIter_EndData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomAtomIter_EndData" "', argument " "1"" of type '" "OpenBabel::OBAtomAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomAtomIter * >(argp1); result = (*arg1)->EndData();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBDataIterator(static_cast< const OpenBabel::OBDataIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBAtomBondIter__SWIG_0) { { int argvi = 0; OpenBabel::OBAtomBondIter *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new__OBAtomBondIter();"); } 
    result = (OpenBabel::OBAtomBondIter *)new OpenBabel::OBAtomBondIter();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtomBondIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBAtomBondIter__SWIG_1) { { OpenBabel::OBAtom *arg1 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBAtomBondIter *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new__OBAtomBondIter(atm);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new__OBAtomBondIter" "', argument " "1"" of type '" "OpenBabel::OBAtom *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtom * >(argp1);
    result = (OpenBabel::OBAtomBondIter *)new OpenBabel::OBAtomBondIter(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtomBondIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBAtomBondIter__SWIG_2) { { OpenBabel::OBAtomBondIter *arg1 = 0 ; void *argp1 ; int res1 = 0 ; int argvi = 0;
    OpenBabel::OBAtomBondIter *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new__OBAtomBondIter(bi);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBAtomBondIter,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new__OBAtomBondIter" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new__OBAtomBondIter" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1);
    result = (OpenBabel::OBAtomBondIter *)new OpenBabel::OBAtomBondIter((OpenBabel::OBAtomBondIter const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtomBondIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBAtomBondIter) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new__OBAtomBondIter__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new__OBAtomBondIter__SWIG_1); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new__OBAtomBondIter__SWIG_2); return; }  } 
  croak("No matching function for overloaded 'new__OBAtomBondIter'"); XSRETURN(0); }
XS(_wrap_delete__OBAtomBondIter) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: delete__OBAtomBondIter(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete__OBAtomBondIter" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_good) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_good(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_good" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1);
    result = (bool)((OpenBabel::OBAtomBondIter const *)arg1)->operator bool();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_inc__SWIG_0) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBAtomBondIter *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_inc(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_inc" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1);
    result = (OpenBabel::OBAtomBondIter *) &(arg1)->operator ++();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_inc__SWIG_1) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::OBAtomBondIter result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomBondIter_inc(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_inc" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomBondIter_inc" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (arg1)->operator ++(arg2);
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBAtomBondIter(static_cast< const OpenBabel::OBAtomBondIter& >(result))), SWIGTYPE_p_OpenBabel__OBAtomBondIter, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_inc) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomBondIter_inc__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomBondIter_inc__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBAtomBondIter_inc'"); XSRETURN(0); }
XS(_wrap__OBAtomBondIter_deref) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBBond *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_deref(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_deref" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1);
    result = (OpenBabel::OBBond *)((OpenBabel::OBAtomBondIter const *)arg1)->operator ->();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBond, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter___ref__) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBBond *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter___ref__(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter___ref__" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1);
    result = (OpenBabel::OBBond *) &((OpenBabel::OBAtomBondIter const *)arg1)->operator *();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBond, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_Visit_set) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; bool arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomBondIter_Visit_set(self,Visit);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_Visit_set" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1);
    ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomBondIter_Visit_set" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); if (arg1) (*arg1)->Visit = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_Visit_get) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_Visit_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_Visit_get" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (bool) ((*arg1)->Visit);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_SetIdx) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomBondIter_SetIdx(self,idx);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_SetIdx" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomBondIter_SetIdx" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (*arg1)->SetIdx(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_SetId) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; unsigned long arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; unsigned long val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomBondIter_SetId(self,id);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_SetId" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomBondIter_SetId" "', argument " "2"" of type '" "unsigned long""'"); }
      arg2 = static_cast< unsigned long >(val2); (*arg1)->SetId(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_SetBO) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomBondIter_SetBO(self,order);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_SetBO" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomBondIter_SetBO" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (*arg1)->SetBO(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_SetBondOrder) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomBondIter_SetBondOrder(self,order);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_SetBondOrder" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomBondIter_SetBondOrder" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (*arg1)->SetBondOrder(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_SetBegin) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomBondIter_SetBegin(self,begin);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_SetBegin" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomBondIter_SetBegin" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); (*arg1)->SetBegin(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_SetEnd) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomBondIter_SetEnd(self,end);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_SetEnd" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomBondIter_SetEnd" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); (*arg1)->SetEnd(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_SetParent) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    OpenBabel::OBMol *arg2 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomBondIter_SetParent(self,ptr);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_SetParent" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomBondIter_SetParent" "', argument " "2"" of type '" "OpenBabel::OBMol *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); (*arg1)->SetParent(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_SetLength__SWIG_0) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; double arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; double val3 ; int ecode3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: _OBAtomBondIter_SetLength(self,fixed,length);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_SetLength" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomBondIter_SetLength" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "_OBAtomBondIter_SetLength" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); (*arg1)->SetLength(arg2,arg3); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_SetLength__SWIG_1) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomBondIter_SetLength(self,length);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_SetLength" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1);
    ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomBondIter_SetLength" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); (*arg1)->SetLength(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_SetLength) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomBondIter_SetLength__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomBondIter_SetLength__SWIG_0); return; }  } 
  croak("No matching function for overloaded '_OBAtomBondIter_SetLength'"); XSRETURN(0); }
XS(_wrap__OBAtomBondIter_Set) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; int arg2 ;
    OpenBabel::OBAtom *arg3 = (OpenBabel::OBAtom *) 0 ; OpenBabel::OBAtom *arg4 = (OpenBabel::OBAtom *) 0 ; int arg5 ;
    int arg6 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ;
    int res4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 6) || (items > 6)) { SWIG_croak("Usage: _OBAtomBondIter_Set(self,index,begin,end,order,flags);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_Set" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomBondIter_Set" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "_OBAtomBondIter_Set" "', argument " "3"" of type '" "OpenBabel::OBAtom *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBAtom * >(argp3);
    res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "_OBAtomBondIter_Set" "', argument " "4"" of type '" "OpenBabel::OBAtom *""'");  }
     arg4 = reinterpret_cast< OpenBabel::OBAtom * >(argp4); ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "_OBAtomBondIter_Set" "', argument " "5"" of type '" "int""'"); }
      arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(5), &val6); if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "_OBAtomBondIter_Set" "', argument " "6"" of type '" "int""'"); }
      arg6 = static_cast< int >(val6); (*arg1)->Set(arg2,arg3,arg4,arg5,arg6); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_SetKSingle) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_SetKSingle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_SetKSingle" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); (*arg1)->SetKSingle(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_SetKDouble) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_SetKDouble(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_SetKDouble" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); (*arg1)->SetKDouble(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_SetKTriple) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_SetKTriple(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_SetKTriple" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); (*arg1)->SetKTriple(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_SetAromatic) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_SetAromatic(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_SetAromatic" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); (*arg1)->SetAromatic(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_SetWedge) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_SetWedge(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_SetWedge" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); (*arg1)->SetWedge(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_SetHash) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_SetHash(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_SetHash" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); (*arg1)->SetHash(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_SetWedgeOrHash) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_SetWedgeOrHash(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_SetWedgeOrHash" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); (*arg1)->SetWedgeOrHash(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_SetUp) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBAtomBondIter_SetUp(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_SetUp" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); (*arg1)->SetUp(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_SetDown) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_SetDown(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_SetDown" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); (*arg1)->SetDown(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_SetInRing__SWIG_0) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; bool arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomBondIter_SetInRing(self,set);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_SetInRing" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1);
    ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomBondIter_SetInRing" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); (*arg1)->SetInRing(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_SetInRing__SWIG_1) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_SetInRing(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_SetInRing" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); (*arg1)->SetInRing(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_SetInRing) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomBondIter_SetInRing__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomBondIter_SetInRing__SWIG_0); return; }  } 
  croak("No matching function for overloaded '_OBAtomBondIter_SetInRing'"); XSRETURN(0); }
XS(_wrap__OBAtomBondIter_SetClosure) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_SetClosure(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_SetClosure" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); (*arg1)->SetClosure(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_UnsetHash) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_UnsetHash(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_UnsetHash" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); (*arg1)->UnsetHash(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_UnsetWedge) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_UnsetWedge(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_UnsetWedge" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); (*arg1)->UnsetWedge(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_UnsetUp) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_UnsetUp(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_UnsetUp" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); (*arg1)->UnsetUp(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_UnsetDown) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_UnsetDown(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_UnsetDown" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); (*arg1)->UnsetDown(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_UnsetAromatic) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_UnsetAromatic(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_UnsetAromatic" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); (*arg1)->UnsetAromatic(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_UnsetKekule) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_UnsetKekule(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_UnsetKekule" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); (*arg1)->UnsetKekule(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_GetIdx) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_GetIdx(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_GetIdx" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (unsigned int)(*arg1)->GetIdx();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_GetId) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned long result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_GetId(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_GetId" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (unsigned long)(*arg1)->GetId();
    ST(argvi) = SWIG_From_unsigned_SS_long  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned long >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_GetBO) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_GetBO(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_GetBO" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (unsigned int)(*arg1)->GetBO();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_GetBondOrder) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_GetBondOrder(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_GetBondOrder" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (unsigned int)(*arg1)->GetBondOrder();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_GetFlags) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_GetFlags(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_GetFlags" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (unsigned int)(*arg1)->GetFlags();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_GetBeginAtomIdx) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_GetBeginAtomIdx(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_GetBeginAtomIdx" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (unsigned int)(*arg1)->GetBeginAtomIdx();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_GetEndAtomIdx) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_GetEndAtomIdx(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_GetEndAtomIdx" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (unsigned int)(*arg1)->GetEndAtomIdx();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_GetBeginAtom__SWIG_0) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_GetBeginAtom(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_GetBeginAtom" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (OpenBabel::OBAtom *)(*arg1)->GetBeginAtom();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_GetBeginAtom__SWIG_1) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_GetBeginAtom(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_GetBeginAtom" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (OpenBabel::OBAtom *)(*arg1)->GetBeginAtom();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_GetBeginAtom) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomBondIter_GetBeginAtom__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomBondIter_GetBeginAtom__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBAtomBondIter_GetBeginAtom'"); XSRETURN(0); }
XS(_wrap__OBAtomBondIter_GetEndAtom__SWIG_0) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_GetEndAtom(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_GetEndAtom" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (OpenBabel::OBAtom *)(*arg1)->GetEndAtom();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_GetEndAtom__SWIG_1) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_GetEndAtom(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_GetEndAtom" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (OpenBabel::OBAtom *)(*arg1)->GetEndAtom();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_GetEndAtom) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomBondIter_GetEndAtom__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomBondIter_GetEndAtom__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBAtomBondIter_GetEndAtom'"); XSRETURN(0); }
XS(_wrap__OBAtomBondIter_GetNbrAtom) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomBondIter_GetNbrAtom(self,ptr);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_GetNbrAtom" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomBondIter_GetNbrAtom" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (OpenBabel::OBAtom *)(*arg1)->GetNbrAtom(arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_GetParent) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBMol *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_GetParent(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_GetParent" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (OpenBabel::OBMol *)(*arg1)->GetParent();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMol, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_GetEquibLength) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_GetEquibLength(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_GetEquibLength" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (double)(*arg1)->GetEquibLength();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_GetLength) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_GetLength(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_GetLength" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (double)(*arg1)->GetLength();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_GetNbrAtomIdx) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomBondIter_GetNbrAtomIdx(self,ptr);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_GetNbrAtomIdx" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomBondIter_GetNbrAtomIdx" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (unsigned int)(*arg1)->GetNbrAtomIdx(arg2);
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_FindSmallestRing) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::OBRing *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_FindSmallestRing(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_FindSmallestRing" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (OpenBabel::OBRing *)(*arg1)->FindSmallestRing();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBRing, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_IsAromatic) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_IsAromatic(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_IsAromatic" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (bool)(*arg1)->IsAromatic();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_IsInRing) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_IsInRing(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_IsInRing" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (bool)(*arg1)->IsInRing();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_IsRotor) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_IsRotor(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_IsRotor" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (bool)(*arg1)->IsRotor();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_IsAmide) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_IsAmide(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_IsAmide" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (bool)(*arg1)->IsAmide();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_IsPrimaryAmide) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_IsPrimaryAmide(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_IsPrimaryAmide" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (bool)(*arg1)->IsPrimaryAmide();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_IsSecondaryAmide) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_IsSecondaryAmide(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_IsSecondaryAmide" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (bool)(*arg1)->IsSecondaryAmide();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_IsTertiaryAmide) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_IsTertiaryAmide(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_IsTertiaryAmide" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (bool)(*arg1)->IsTertiaryAmide();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_IsEster) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_IsEster(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_IsEster" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (bool)(*arg1)->IsEster();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_IsCarbonyl) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_IsCarbonyl(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_IsCarbonyl" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (bool)(*arg1)->IsCarbonyl();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_IsSingle) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_IsSingle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_IsSingle" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (bool)(*arg1)->IsSingle();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_IsDouble) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_IsDouble(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_IsDouble" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (bool)(*arg1)->IsDouble();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_IsTriple) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_IsTriple(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_IsTriple" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (bool)(*arg1)->IsTriple();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_IsKSingle) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_IsKSingle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_IsKSingle" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (bool)(*arg1)->IsKSingle();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_IsKDouble) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_IsKDouble(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_IsKDouble" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (bool)(*arg1)->IsKDouble();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_IsKTriple) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_IsKTriple(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_IsKTriple" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (bool)(*arg1)->IsKTriple();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_IsClosure) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_IsClosure(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_IsClosure" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (bool)(*arg1)->IsClosure();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_IsUp) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_IsUp(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_IsUp" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (bool)(*arg1)->IsUp();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_IsDown) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_IsDown(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_IsDown" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (bool)(*arg1)->IsDown();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_IsWedge) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_IsWedge(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_IsWedge" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (bool)(*arg1)->IsWedge();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_IsHash) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_IsHash(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_IsHash" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (bool)(*arg1)->IsHash();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_IsWedgeOrHash) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_IsWedgeOrHash(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_IsWedgeOrHash" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (bool)(*arg1)->IsWedgeOrHash();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_IsCisOrTrans) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_IsCisOrTrans(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_IsCisOrTrans" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (bool)(*arg1)->IsCisOrTrans();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_IsDoubleBondGeometry) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_IsDoubleBondGeometry(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_IsDoubleBondGeometry" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (bool)(*arg1)->IsDoubleBondGeometry();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_Clear) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_Clear(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_Clear" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (bool)(*arg1)->Clear();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_DoTransformations) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    std::map< std::string,std::string > *arg2 = (std::map< std::string,std::string > *) 0 ;
    OpenBabel::OBConversion *arg3 = (OpenBabel::OBConversion *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; OpenBabel::OBBase *result = 0 ; dXSARGS;
    if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: _OBAtomBondIter_DoTransformations(self,std::map< std::string,std::string > const *,OpenBabel::OBConversion *);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_DoTransformations" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomBondIter_DoTransformations" "', argument " "2"" of type '" "std::map< std::string,std::string > const *""'");  }
     arg2 = reinterpret_cast< std::map< std::string,std::string > * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "_OBAtomBondIter_DoTransformations" "', argument " "3"" of type '" "OpenBabel::OBConversion *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBConversion * >(argp3);
    result = (OpenBabel::OBBase *)(*arg1)->DoTransformations((std::map< std::string,std::string > const *)arg2,arg3);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBase, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_ClassDescription) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_ClassDescription(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_ClassDescription" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (char *)(*arg1)->ClassDescription();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_GetTitle__SWIG_0) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; bool arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomBondIter_GetTitle(self,replaceNewlines);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_GetTitle" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1);
    ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomBondIter_GetTitle" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (char *)(*arg1)->GetTitle(arg2);
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_GetTitle__SWIG_1) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_GetTitle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_GetTitle" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (char *)(*arg1)->GetTitle();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_GetTitle) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomBondIter_GetTitle__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomBondIter_GetTitle__SWIG_0); return; }  } 
  croak("No matching function for overloaded '_OBAtomBondIter_GetTitle'"); XSRETURN(0); }
XS(_wrap__OBAtomBondIter_SetTitle) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomBondIter_SetTitle(self,char const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_SetTitle" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomBondIter_SetTitle" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); (*arg1)->SetTitle((char const *)arg2); ST(argvi) = sv_newmortal();
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_HasData__SWIG_0) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomBondIter_HasData(self,std::string const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_HasData" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomBondIter_HasData" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBAtomBondIter_HasData" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  result = (bool)(*arg1)->HasData((std::string const &)*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_HasData__SWIG_1) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomBondIter_HasData(self,char const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_HasData" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomBondIter_HasData" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); result = (bool)(*arg1)->HasData((char const *)arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_HasData__SWIG_2) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomBondIter_HasData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_HasData" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomBondIter_HasData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (bool)(*arg1)->HasData(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_HasData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomBondIter_HasData__SWIG_2); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomBondIter_HasData__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomBondIter_HasData__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBAtomBondIter_HasData'"); XSRETURN(0); }
XS(_wrap__OBAtomBondIter_DeleteData__SWIG_0) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomBondIter_DeleteData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomBondIter_DeleteData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); (*arg1)->DeleteData(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_DeleteData__SWIG_1) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    OpenBabel::OBGenericData *arg2 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomBondIter_DeleteData(self,OpenBabel::OBGenericData *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomBondIter_DeleteData" "', argument " "2"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBGenericData * >(argp2); (*arg1)->DeleteData(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_DeleteData__SWIG_2) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    std::vector< OpenBabel::OBGenericData * > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomBondIter_DeleteData(self,std::vector< OpenBabel::OBGenericData * > &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomBondIter_DeleteData" "', argument " "2"" of type '" "std::vector< OpenBabel::OBGenericData * > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBAtomBondIter_DeleteData" "', argument " "2"" of type '" "std::vector< OpenBabel::OBGenericData * > &""'"); }
     arg2 = reinterpret_cast< std::vector< OpenBabel::OBGenericData * > * >(argp2); (*arg1)->DeleteData(*arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_DeleteData__SWIG_3) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBAtomBondIter_DeleteData(self,s);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomBondIter_DeleteData" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBAtomBondIter_DeleteData" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  result = (bool)(*arg1)->DeleteData((std::string const &)*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_DeleteData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBGenericData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t, 0);
        _v = SWIG_CheckState(res);}  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomBondIter_DeleteData__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomBondIter_DeleteData__SWIG_2); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomBondIter_DeleteData__SWIG_0); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomBondIter_DeleteData__SWIG_3); return; }  } 
  croak("No matching function for overloaded '_OBAtomBondIter_DeleteData'"); XSRETURN(0); }
XS(_wrap__OBAtomBondIter_CloneData) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    OpenBabel::OBGenericData *arg2 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomBondIter_CloneData(self,d);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_CloneData" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomBondIter_CloneData" "', argument " "2"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBGenericData * >(argp2); (*arg1)->CloneData(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_DataSize) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; size_t result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBAtomBondIter_DataSize(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_DataSize" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (*arg1)->DataSize();
    ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1(static_cast< size_t >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_GetData__SWIG_0) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0;
    OpenBabel::OBGenericData *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomBondIter_GetData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomBondIter_GetData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (OpenBabel::OBGenericData *)(*arg1)->GetData(arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_GetData__SWIG_1) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0;
    OpenBabel::OBGenericData *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomBondIter_GetData(self,std::string const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomBondIter_GetData" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBAtomBondIter_GetData" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  result = (OpenBabel::OBGenericData *)(*arg1)->GetData((std::string const &)*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, 0 | SWIG_SHADOW); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_GetData__SWIG_2) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    OpenBabel::OBGenericData *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomBondIter_GetData(self,char const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBAtomBondIter_GetData" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); result = (OpenBabel::OBGenericData *)(*arg1)->GetData((char const *)arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, 0 | SWIG_SHADOW); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_GetData__SWIG_3) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; std::vector< OpenBabel::OBGenericData * > *result = 0 ; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBAtomBondIter_GetData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1);
    result = (std::vector< OpenBabel::OBGenericData * > *) &(*arg1)->GetData();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_GetData__SWIG_4) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ;
    OpenBabel::DataOrigin arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0;
    std::vector< OpenBabel::OBGenericData * > result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomBondIter_GetData(self,source);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomBondIter_GetData" "', argument " "2"" of type '" "OpenBabel::DataOrigin""'"); }
      arg2 = static_cast< OpenBabel::DataOrigin >(val2); result = (*arg1)->GetData(arg2); { size_t len = (&result)->size();
      SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) {
        OpenBabel::OBGenericData *x = ((std::vector< OpenBabel::OBGenericData * > &)result)[i]; svs[i] = sv_newmortal();
        sv_setsv(svs[i], SWIG_NewPointerObj(x, SWIGTYPE_p_OpenBabel__OBGenericData, 0)); }  AV *myav = av_make(len, svs);
      delete[] svs; ST(argvi) = newRV_noinc((SV*) myav); sv_2mortal(ST(argvi)); argvi++; }  XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_GetData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_5; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_5;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 5;
        if (_rank == _rankm) goto dispatch; }  }  check_5: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomBondIter_GetData__SWIG_3); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomBondIter_GetData__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomBondIter_GetData__SWIG_4); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomBondIter_GetData__SWIG_1); return; case 5:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBAtomBondIter_GetData__SWIG_2); return; }  } 
  croak("No matching function for overloaded '_OBAtomBondIter_GetData'"); XSRETURN(0); }
XS(_wrap__OBAtomBondIter_GetAllData) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; unsigned int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0;
    std::vector< OpenBabel::OBGenericData * > result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBAtomBondIter_GetAllData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_GetAllData" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBAtomBondIter_GetAllData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (*arg1)->GetAllData(arg2); { size_t len = (&result)->size();
      SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) {
        OpenBabel::OBGenericData *x = ((std::vector< OpenBabel::OBGenericData * > &)result)[i]; svs[i] = sv_newmortal();
        sv_setsv(svs[i], SWIG_NewPointerObj(x, SWIGTYPE_p_OpenBabel__OBGenericData, 0)); }  AV *myav = av_make(len, svs);
      delete[] svs; ST(argvi) = newRV_noinc((SV*) myav); sv_2mortal(ST(argvi)); argvi++; }  XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_BeginData) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBGenericData * >::iterator > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBAtomBondIter_BeginData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_BeginData" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (*arg1)->BeginData();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBDataIterator(static_cast< const OpenBabel::OBDataIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBAtomBondIter_EndData) { { OpenBabel::OBAtomBondIter *arg1 = (OpenBabel::OBAtomBondIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBGenericData * >::iterator > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBAtomBondIter_EndData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBAtomBondIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBAtomBondIter_EndData" "', argument " "1"" of type '" "OpenBabel::OBAtomBondIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBAtomBondIter * >(argp1); result = (*arg1)->EndData();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBDataIterator(static_cast< const OpenBabel::OBDataIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBResidueIter__SWIG_0) { { int argvi = 0; OpenBabel::OBResidueIter *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new_OBResidueIter();"); } 
    result = (OpenBabel::OBResidueIter *)new OpenBabel::OBResidueIter();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBResidueIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBResidueIter__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBResidueIter *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new_OBResidueIter(mol);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBResidueIter" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    result = (OpenBabel::OBResidueIter *)new OpenBabel::OBResidueIter(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBResidueIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBResidueIter__SWIG_2) { { OpenBabel::OBResidueIter *arg1 = 0 ; void *argp1 ; int res1 = 0 ; int argvi = 0;
    OpenBabel::OBResidueIter *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new_OBResidueIter(ri);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBResidueIter,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OBResidueIter" "', argument " "1"" of type '" "OpenBabel::OBResidueIter const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OBResidueIter" "', argument " "1"" of type '" "OpenBabel::OBResidueIter const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1);
    result = (OpenBabel::OBResidueIter *)new OpenBabel::OBResidueIter((OpenBabel::OBResidueIter const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBResidueIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new_OBResidueIter) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBResidueIter__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBResidueIter__SWIG_1); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new_OBResidueIter__SWIG_2); return; }  } 
  croak("No matching function for overloaded 'new_OBResidueIter'"); XSRETURN(0); }
XS(_wrap_delete_OBResidueIter) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete_OBResidueIter(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OBResidueIter" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_good) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBResidueIter_good(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_good" "', argument " "1"" of type '" "OpenBabel::OBResidueIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1);
    result = (bool)((OpenBabel::OBResidueIter const *)arg1)->operator bool();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_inc__SWIG_0) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBResidueIter *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBResidueIter_inc(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_inc" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1); result = (OpenBabel::OBResidueIter *) &(arg1)->operator ++();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBResidueIter, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_inc__SWIG_1) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::OBResidueIter result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBResidueIter_inc(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_inc" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBResidueIter_inc" "', argument " "2"" of type '" "int""'"); }  
    arg2 = static_cast< int >(val2); result = (arg1)->operator ++(arg2);
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBResidueIter(static_cast< const OpenBabel::OBResidueIter& >(result))), SWIGTYPE_p_OpenBabel__OBResidueIter, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_inc) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBResidueIter_inc__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBResidueIter_inc__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBResidueIter_inc'"); XSRETURN(0); }
XS(_wrap_OBResidueIter_deref) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBResidue *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBResidueIter_deref(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_deref" "', argument " "1"" of type '" "OpenBabel::OBResidueIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1);
    result = (OpenBabel::OBResidue *)((OpenBabel::OBResidueIter const *)arg1)->operator ->();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBResidue, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter___ref__) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBResidue *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBResidueIter___ref__(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter___ref__" "', argument " "1"" of type '" "OpenBabel::OBResidueIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1);
    result = (OpenBabel::OBResidue *) &((OpenBabel::OBResidueIter const *)arg1)->operator *();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBResidue, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_AddAtom) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBResidueIter_AddAtom(self,atom);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_AddAtom" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidueIter_AddAtom" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); (*arg1)->AddAtom(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_InsertAtom) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBResidueIter_InsertAtom(self,atom);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_InsertAtom" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidueIter_InsertAtom" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); (*arg1)->InsertAtom(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_RemoveAtom) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBResidueIter_RemoveAtom(self,atom);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_RemoveAtom" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidueIter_RemoveAtom" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); (*arg1)->RemoveAtom(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_SetName) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; std::string *arg2 = 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBResidueIter_SetName(self,resname);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_SetName" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidueIter_SetName" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBResidueIter_SetName" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  (*arg1)->SetName((std::string const &)*arg2); ST(argvi) = sv_newmortal();
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_SetNum__SWIG_0) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; unsigned int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBResidueIter_SetNum(self,resnum);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_SetNum" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBResidueIter_SetNum" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); (*arg1)->SetNum(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_SetNum__SWIG_1) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; std::string arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBResidueIter_SetNum(self,resnum);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_SetNum" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1); { std::string *ptr = (std::string *)0;
      int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "OBResidueIter_SetNum" "', argument " "2"" of type '" "std::string const""'");  }
       arg2 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; }  (*arg1)->SetNum(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_SetNum) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBResidueIter_SetNum__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBResidueIter_SetNum__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBResidueIter_SetNum'"); XSRETURN(0); }
XS(_wrap_OBResidueIter_SetChain) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; char arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; char val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBResidueIter_SetChain(self,chain);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_SetChain" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1); ecode2 = SWIG_AsVal_char SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBResidueIter_SetChain" "', argument " "2"" of type '" "char""'"); }
      arg2 = static_cast< char >(val2); (*arg1)->SetChain(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_SetChainNum) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; unsigned int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBResidueIter_SetChainNum(self,chainnum);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_SetChainNum" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBResidueIter_SetChainNum" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); (*arg1)->SetChainNum(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_SetIdx) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; unsigned int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBResidueIter_SetIdx(self,idx);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_SetIdx" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBResidueIter_SetIdx" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); (*arg1)->SetIdx(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_SetAtomID) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; std::string *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
    void *argp2 = 0 ; int res2 = 0 ; int res3 = SWIG_OLDOBJ ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBResidueIter_SetAtomID(self,atom,id);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_SetAtomID" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidueIter_SetAtomID" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); { std::string *ptr = (std::string *)0;
      res3 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), &ptr); if (!SWIG_IsOK(res3)) {
        SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBResidueIter_SetAtomID" "', argument " "3"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBResidueIter_SetAtomID" "', argument " "3"" of type '" "std::string const &""'"); }
       arg3 = ptr; }  (*arg1)->SetAtomID(arg2,(std::string const &)*arg3); ST(argvi) = sv_newmortal();
    if (SWIG_IsNewObj(res3)) delete arg3; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res3)) delete arg3; SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_SetHetAtom) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; bool arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; bool val3 ; int ecode3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBResidueIter_SetHetAtom(self,atom,hetatm);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_SetHetAtom" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidueIter_SetHetAtom" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); ecode3 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBResidueIter_SetHetAtom" "', argument " "3"" of type '" "bool""'"); }
      arg3 = static_cast< bool >(val3); (*arg1)->SetHetAtom(arg2,arg3); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_SetSerialNum) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; unsigned int arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; unsigned int val3 ; int ecode3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBResidueIter_SetSerialNum(self,atom,sernum);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_SetSerialNum" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidueIter_SetSerialNum" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2);
    ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBResidueIter_SetSerialNum" "', argument " "3"" of type '" "unsigned int""'"); }
      arg3 = static_cast< unsigned int >(val3); (*arg1)->SetSerialNum(arg2,arg3); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_GetName) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::string result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBResidueIter_GetName(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_GetName" "', argument " "1"" of type '" "OpenBabel::OBResidueIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1); result = (*arg1)->GetName();
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_GetNum) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBResidueIter_GetNum(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_GetNum" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1); result = (unsigned int)(*arg1)->GetNum();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_GetNumString) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::string result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBResidueIter_GetNumString(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_GetNumString" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1); result = (*arg1)->GetNumString();
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_GetNumAtoms) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBResidueIter_GetNumAtoms(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_GetNumAtoms" "', argument " "1"" of type '" "OpenBabel::OBResidueIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1); result = (unsigned int)(*arg1)->GetNumAtoms();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_GetChain) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; char result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBResidueIter_GetChain(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_GetChain" "', argument " "1"" of type '" "OpenBabel::OBResidueIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1); result = (char)(*arg1)->GetChain();
    ST(argvi) = SWIG_From_char  SWIG_PERL_CALL_ARGS_1(static_cast< char >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_GetChainNum) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBResidueIter_GetChainNum(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_GetChainNum" "', argument " "1"" of type '" "OpenBabel::OBResidueIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1); result = (unsigned int)(*arg1)->GetChainNum();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_GetIdx) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBResidueIter_GetIdx(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_GetIdx" "', argument " "1"" of type '" "OpenBabel::OBResidueIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1); result = (unsigned int)(*arg1)->GetIdx();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_GetResKey) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBResidueIter_GetResKey(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_GetResKey" "', argument " "1"" of type '" "OpenBabel::OBResidueIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1); result = (unsigned int)(*arg1)->GetResKey();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_GetAtoms) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBAtom * > > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBResidueIter_GetAtoms(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_GetAtoms" "', argument " "1"" of type '" "OpenBabel::OBResidueIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1); result = (*arg1)->GetAtoms();
    ST(argvi) = SWIG_NewPointerObj((new std::vector< OpenBabel::OBAtom * >(static_cast< const std::vector< OpenBabel::OBAtom * >& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBAtom_p_t, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_GetBonds__SWIG_0) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; bool arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0;
    SwigValueWrapper< std::vector< OpenBabel::OBBond * > > result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBResidueIter_GetBonds(self,exterior);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_GetBonds" "', argument " "1"" of type '" "OpenBabel::OBResidueIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBResidueIter_GetBonds" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (*arg1)->GetBonds(arg2);
    ST(argvi) = SWIG_NewPointerObj((new std::vector< OpenBabel::OBBond * >(static_cast< const std::vector< OpenBabel::OBBond * >& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_GetBonds__SWIG_1) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBBond * > > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBResidueIter_GetBonds(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_GetBonds" "', argument " "1"" of type '" "OpenBabel::OBResidueIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1); result = (*arg1)->GetBonds();
    ST(argvi) = SWIG_NewPointerObj((new std::vector< OpenBabel::OBBond * >(static_cast< const std::vector< OpenBabel::OBBond * >& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_GetBonds) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBResidueIter_GetBonds__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBResidueIter_GetBonds__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBResidueIter_GetBonds'"); XSRETURN(0); }
XS(_wrap_OBResidueIter_GetAtomID) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; std::string result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBResidueIter_GetAtomID(self,atom);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_GetAtomID" "', argument " "1"" of type '" "OpenBabel::OBResidueIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidueIter_GetAtomID" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (*arg1)->GetAtomID(arg2);
    ST(argvi) = SWIG_From_std_string  SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ; XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_GetSerialNum) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; unsigned int result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBResidueIter_GetSerialNum(self,atom);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_GetSerialNum" "', argument " "1"" of type '" "OpenBabel::OBResidueIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidueIter_GetSerialNum" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (unsigned int)(*arg1)->GetSerialNum(arg2);
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_GetAminoAcidProperty) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBResidueIter_GetAminoAcidProperty(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_GetAminoAcidProperty" "', argument " "1"" of type '" "OpenBabel::OBResidueIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBResidueIter_GetAminoAcidProperty" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (bool)(*arg1)->GetAminoAcidProperty(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_GetAtomProperty) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int val3 ; int ecode3 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBResidueIter_GetAtomProperty(self,a,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_GetAtomProperty" "', argument " "1"" of type '" "OpenBabel::OBResidueIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidueIter_GetAtomProperty" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OBResidueIter_GetAtomProperty" "', argument " "3"" of type '" "int""'"); }
      arg3 = static_cast< int >(val3); result = (bool)(*arg1)->GetAtomProperty(arg2,arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_GetResidueProperty) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBResidueIter_GetResidueProperty(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_GetResidueProperty" "', argument " "1"" of type '" "OpenBabel::OBResidueIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBResidueIter_GetResidueProperty" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (bool)(*arg1)->GetResidueProperty(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_IsHetAtom) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBResidueIter_IsHetAtom(self,atom);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_IsHetAtom" "', argument " "1"" of type '" "OpenBabel::OBResidueIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidueIter_IsHetAtom" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (bool)(*arg1)->IsHetAtom(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_IsResidueType) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBResidueIter_IsResidueType(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_IsResidueType" "', argument " "1"" of type '" "OpenBabel::OBResidueIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBResidueIter_IsResidueType" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (bool)(*arg1)->IsResidueType(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_BeginAtoms) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBAtom * >::iterator > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBResidueIter_BeginAtoms(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_BeginAtoms" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1); result = (*arg1)->BeginAtoms();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBAtomIterator(static_cast< const OpenBabel::OBAtomIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBAtom_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_EndAtoms) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBAtom * >::iterator > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBResidueIter_EndAtoms(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_EndAtoms" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1); result = (*arg1)->EndAtoms();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBAtomIterator(static_cast< const OpenBabel::OBAtomIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBAtom_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_BeginAtom) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ;
    std::vector< OpenBabel::OBAtom * >::iterator *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBResidueIter_BeginAtom(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_BeginAtom" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBAtom_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidueIter_BeginAtom" "', argument " "2"" of type '" "std::vector< OpenBabel::OBAtom * >::iterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBResidueIter_BeginAtom" "', argument " "2"" of type '" "std::vector< OpenBabel::OBAtom * >::iterator &""'"); }
     arg2 = reinterpret_cast< std::vector< OpenBabel::OBAtom * >::iterator * >(argp2);
    result = (OpenBabel::OBAtom *)(*arg1)->BeginAtom(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_NextAtom) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ;
    std::vector< OpenBabel::OBAtom * >::iterator *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBResidueIter_NextAtom(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_NextAtom" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBAtom_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidueIter_NextAtom" "', argument " "2"" of type '" "std::vector< OpenBabel::OBAtom * >::iterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBResidueIter_NextAtom" "', argument " "2"" of type '" "std::vector< OpenBabel::OBAtom * >::iterator &""'"); }
     arg2 = reinterpret_cast< std::vector< OpenBabel::OBAtom * >::iterator * >(argp2);
    result = (OpenBabel::OBAtom *)(*arg1)->NextAtom(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_Clear) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBResidueIter_Clear(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_Clear" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1); result = (bool)(*arg1)->Clear();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_DoTransformations) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ;
    std::map< std::string,std::string > *arg2 = (std::map< std::string,std::string > *) 0 ;
    OpenBabel::OBConversion *arg3 = (OpenBabel::OBConversion *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; OpenBabel::OBBase *result = 0 ; dXSARGS;
    if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: OBResidueIter_DoTransformations(self,std::map< std::string,std::string > const *,OpenBabel::OBConversion *);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_DoTransformations" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidueIter_DoTransformations" "', argument " "2"" of type '" "std::map< std::string,std::string > const *""'");  }
     arg2 = reinterpret_cast< std::map< std::string,std::string > * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OBResidueIter_DoTransformations" "', argument " "3"" of type '" "OpenBabel::OBConversion *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBConversion * >(argp3);
    result = (OpenBabel::OBBase *)(*arg1)->DoTransformations((std::map< std::string,std::string > const *)arg2,arg3);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBase, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_ClassDescription) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBResidueIter_ClassDescription(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_ClassDescription" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1); result = (char *)(*arg1)->ClassDescription();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_GetTitle__SWIG_0) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; bool arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBResidueIter_GetTitle(self,replaceNewlines);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_GetTitle" "', argument " "1"" of type '" "OpenBabel::OBResidueIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1); ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBResidueIter_GetTitle" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (char *)(*arg1)->GetTitle(arg2);
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_GetTitle__SWIG_1) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBResidueIter_GetTitle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_GetTitle" "', argument " "1"" of type '" "OpenBabel::OBResidueIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1); result = (char *)(*arg1)->GetTitle();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_GetTitle) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBResidueIter_GetTitle__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBResidueIter_GetTitle__SWIG_0); return; }  } 
  croak("No matching function for overloaded 'OBResidueIter_GetTitle'"); XSRETURN(0); }
XS(_wrap_OBResidueIter_SetTitle) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; char *arg2 = (char *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBResidueIter_SetTitle(self,char const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_SetTitle" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidueIter_SetTitle" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); (*arg1)->SetTitle((char const *)arg2); ST(argvi) = sv_newmortal();
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_HasData__SWIG_0) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBResidueIter_HasData(self,std::string const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_HasData" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidueIter_HasData" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBResidueIter_HasData" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  result = (bool)(*arg1)->HasData((std::string const &)*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_HasData__SWIG_1) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBResidueIter_HasData(self,char const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_HasData" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidueIter_HasData" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); result = (bool)(*arg1)->HasData((char const *)arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_HasData__SWIG_2) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBResidueIter_HasData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_HasData" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBResidueIter_HasData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (bool)(*arg1)->HasData(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_HasData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBResidueIter_HasData__SWIG_2); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBResidueIter_HasData__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBResidueIter_HasData__SWIG_1); return; }  } 
  croak("No matching function for overloaded 'OBResidueIter_HasData'"); XSRETURN(0); }
XS(_wrap_OBResidueIter_DeleteData__SWIG_0) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBResidueIter_DeleteData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBResidueIter_DeleteData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); (*arg1)->DeleteData(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_DeleteData__SWIG_1) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ;
    OpenBabel::OBGenericData *arg2 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBResidueIter_DeleteData(self,OpenBabel::OBGenericData *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidueIter_DeleteData" "', argument " "2"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBGenericData * >(argp2); (*arg1)->DeleteData(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_DeleteData__SWIG_2) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ;
    std::vector< OpenBabel::OBGenericData * > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBResidueIter_DeleteData(self,std::vector< OpenBabel::OBGenericData * > &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidueIter_DeleteData" "', argument " "2"" of type '" "std::vector< OpenBabel::OBGenericData * > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBResidueIter_DeleteData" "', argument " "2"" of type '" "std::vector< OpenBabel::OBGenericData * > &""'"); }
     arg2 = reinterpret_cast< std::vector< OpenBabel::OBGenericData * > * >(argp2); (*arg1)->DeleteData(*arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_DeleteData__SWIG_3) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: OBResidueIter_DeleteData(self,s);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidueIter_DeleteData" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBResidueIter_DeleteData" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  result = (bool)(*arg1)->DeleteData((std::string const &)*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_DeleteData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBGenericData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t, 0);
        _v = SWIG_CheckState(res);}  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBResidueIter_DeleteData__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBResidueIter_DeleteData__SWIG_2); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBResidueIter_DeleteData__SWIG_0); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBResidueIter_DeleteData__SWIG_3); return; }  } 
  croak("No matching function for overloaded 'OBResidueIter_DeleteData'"); XSRETURN(0); }
XS(_wrap_OBResidueIter_CloneData) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ;
    OpenBabel::OBGenericData *arg2 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBResidueIter_CloneData(self,d);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_CloneData" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidueIter_CloneData" "', argument " "2"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBGenericData * >(argp2); (*arg1)->CloneData(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_DataSize) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; size_t result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: OBResidueIter_DataSize(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_DataSize" "', argument " "1"" of type '" "OpenBabel::OBResidueIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1); result = (*arg1)->DataSize();
    ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1(static_cast< size_t >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_GetData__SWIG_0) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0;
    OpenBabel::OBGenericData *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBResidueIter_GetData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBResidueIter_GetData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (OpenBabel::OBGenericData *)(*arg1)->GetData(arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_GetData__SWIG_1) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0;
    OpenBabel::OBGenericData *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBResidueIter_GetData(self,std::string const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidueIter_GetData" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OBResidueIter_GetData" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  result = (OpenBabel::OBGenericData *)(*arg1)->GetData((std::string const &)*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, 0 | SWIG_SHADOW); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_GetData__SWIG_2) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    OpenBabel::OBGenericData *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBResidueIter_GetData(self,char const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OBResidueIter_GetData" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); result = (OpenBabel::OBGenericData *)(*arg1)->GetData((char const *)arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, 0 | SWIG_SHADOW); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_GetData__SWIG_3) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::vector< OpenBabel::OBGenericData * > *result = 0 ; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBResidueIter_GetData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1);
    result = (std::vector< OpenBabel::OBGenericData * > *) &(*arg1)->GetData();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_GetData__SWIG_4) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ;
    OpenBabel::DataOrigin arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0;
    std::vector< OpenBabel::OBGenericData * > result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBResidueIter_GetData(self,source);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBResidueIter_GetData" "', argument " "2"" of type '" "OpenBabel::DataOrigin""'"); }
      arg2 = static_cast< OpenBabel::DataOrigin >(val2); result = (*arg1)->GetData(arg2); { size_t len = (&result)->size();
      SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) {
        OpenBabel::OBGenericData *x = ((std::vector< OpenBabel::OBGenericData * > &)result)[i]; svs[i] = sv_newmortal();
        sv_setsv(svs[i], SWIG_NewPointerObj(x, SWIGTYPE_p_OpenBabel__OBGenericData, 0)); }  AV *myav = av_make(len, svs);
      delete[] svs; ST(argvi) = newRV_noinc((SV*) myav); sv_2mortal(ST(argvi)); argvi++; }  XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_GetData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_5; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_5;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 5;
        if (_rank == _rankm) goto dispatch; }  }  check_5: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBResidueIter_GetData__SWIG_3); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBResidueIter_GetData__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBResidueIter_GetData__SWIG_4); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBResidueIter_GetData__SWIG_1); return; case 5:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_OBResidueIter_GetData__SWIG_2); return; }  } 
  croak("No matching function for overloaded 'OBResidueIter_GetData'"); XSRETURN(0); }
XS(_wrap_OBResidueIter_GetAllData) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; unsigned int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0;
    std::vector< OpenBabel::OBGenericData * > result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: OBResidueIter_GetAllData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_GetAllData" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OBResidueIter_GetAllData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (*arg1)->GetAllData(arg2); { size_t len = (&result)->size();
      SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) {
        OpenBabel::OBGenericData *x = ((std::vector< OpenBabel::OBGenericData * > &)result)[i]; svs[i] = sv_newmortal();
        sv_setsv(svs[i], SWIG_NewPointerObj(x, SWIGTYPE_p_OpenBabel__OBGenericData, 0)); }  AV *myav = av_make(len, svs);
      delete[] svs; ST(argvi) = newRV_noinc((SV*) myav); sv_2mortal(ST(argvi)); argvi++; }  XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_BeginData) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBGenericData * >::iterator > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBResidueIter_BeginData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_BeginData" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1); result = (*arg1)->BeginData();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBDataIterator(static_cast< const OpenBabel::OBDataIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_OBResidueIter_EndData) { { OpenBabel::OBResidueIter *arg1 = (OpenBabel::OBResidueIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBGenericData * >::iterator > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: OBResidueIter_EndData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBResidueIter_EndData" "', argument " "1"" of type '" "OpenBabel::OBResidueIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueIter * >(argp1); result = (*arg1)->EndData();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBDataIterator(static_cast< const OpenBabel::OBDataIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBResidueAtomIter__SWIG_0) { { int argvi = 0; OpenBabel::OBResidueAtomIter *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new__OBResidueAtomIter();"); } 
    result = (OpenBabel::OBResidueAtomIter *)new OpenBabel::OBResidueAtomIter();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBResidueAtomIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBResidueAtomIter__SWIG_1) { { OpenBabel::OBResidue *arg1 = (OpenBabel::OBResidue *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBResidueAtomIter *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new__OBResidueAtomIter(res);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new__OBResidueAtomIter" "', argument " "1"" of type '" "OpenBabel::OBResidue *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidue * >(argp1);
    result = (OpenBabel::OBResidueAtomIter *)new OpenBabel::OBResidueAtomIter(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBResidueAtomIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBResidueAtomIter__SWIG_2) { { OpenBabel::OBResidueAtomIter *arg1 = 0 ; void *argp1 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBResidueAtomIter *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new__OBResidueAtomIter(ri);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBResidueAtomIter,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new__OBResidueAtomIter" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new__OBResidueAtomIter" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    result = (OpenBabel::OBResidueAtomIter *)new OpenBabel::OBResidueAtomIter((OpenBabel::OBResidueAtomIter const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBResidueAtomIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBResidueAtomIter) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidue, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new__OBResidueAtomIter__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new__OBResidueAtomIter__SWIG_1); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new__OBResidueAtomIter__SWIG_2); return; }  } 
  croak("No matching function for overloaded 'new__OBResidueAtomIter'"); XSRETURN(0); }
XS(_wrap_delete__OBResidueAtomIter) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: delete__OBResidueAtomIter(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete__OBResidueAtomIter" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_good) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_good(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_good" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    result = (bool)((OpenBabel::OBResidueAtomIter const *)arg1)->operator bool();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_inc__SWIG_0) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::OBResidueAtomIter *result = 0 ; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBResidueAtomIter_inc(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_inc" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    result = (OpenBabel::OBResidueAtomIter *) &(arg1)->operator ++();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_inc__SWIG_1) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::OBResidueAtomIter result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBResidueAtomIter_inc(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_inc" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBResidueAtomIter_inc" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (arg1)->operator ++(arg2);
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBResidueAtomIter(static_cast< const OpenBabel::OBResidueAtomIter& >(result))), SWIGTYPE_p_OpenBabel__OBResidueAtomIter, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_inc) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBResidueAtomIter_inc__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBResidueAtomIter_inc__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBResidueAtomIter_inc'"); XSRETURN(0); }
XS(_wrap__OBResidueAtomIter_deref) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_deref(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_deref" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    result = (OpenBabel::OBAtom *)((OpenBabel::OBResidueAtomIter const *)arg1)->operator ->();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter___ref__) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter___ref__(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter___ref__" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    result = (OpenBabel::OBAtom *) &((OpenBabel::OBResidueAtomIter const *)arg1)->operator *();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_Visit_set) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ; bool arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBResidueAtomIter_Visit_set(self,Visit);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_Visit_set" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBResidueAtomIter_Visit_set" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); if (arg1) (*arg1)->Visit = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_Visit_get) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_Visit_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_Visit_get" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool) ((*arg1)->Visit);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter___eq__) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBResidueAtomIter___eq__(self,other);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter___eq__" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBResidueAtomIter___eq__" "', argument " "2"" of type '" "OpenBabel::OBAtom const *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2);
    result = (bool)(*arg1)->operator ==((OpenBabel::OBAtom const *)arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_Duplicate) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBResidueAtomIter_Duplicate(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_Duplicate" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBResidueAtomIter_Duplicate" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); (*arg1)->Duplicate(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_SetIdx) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBResidueAtomIter_SetIdx(self,idx);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_SetIdx" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBResidueAtomIter_SetIdx" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (*arg1)->SetIdx(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_SetId) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    unsigned long arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned long val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBResidueAtomIter_SetId(self,id);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_SetId" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBResidueAtomIter_SetId" "', argument " "2"" of type '" "unsigned long""'"); }
      arg2 = static_cast< unsigned long >(val2); (*arg1)->SetId(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_SetHyb) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBResidueAtomIter_SetHyb(self,hyb);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_SetHyb" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBResidueAtomIter_SetHyb" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (*arg1)->SetHyb(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_SetAtomicNum) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBResidueAtomIter_SetAtomicNum(self,atomicnum);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_SetAtomicNum" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBResidueAtomIter_SetAtomicNum" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (*arg1)->SetAtomicNum(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_SetIsotope) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBResidueAtomIter_SetIsotope(self,iso);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_SetIsotope" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBResidueAtomIter_SetIsotope" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); (*arg1)->SetIsotope(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_SetImplicitValence) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBResidueAtomIter_SetImplicitValence(self,val);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_SetImplicitValence" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBResidueAtomIter_SetImplicitValence" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (*arg1)->SetImplicitValence(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_IncrementImplicitValence) { {
    OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBResidueAtomIter_IncrementImplicitValence(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_IncrementImplicitValence" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); (*arg1)->IncrementImplicitValence();
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_DecrementImplicitValence) { {
    OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBResidueAtomIter_DecrementImplicitValence(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_DecrementImplicitValence" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); (*arg1)->DecrementImplicitValence();
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_SetFormalCharge) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBResidueAtomIter_SetFormalCharge(self,fcharge);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_SetFormalCharge" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBResidueAtomIter_SetFormalCharge" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); (*arg1)->SetFormalCharge(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_SetSpinMultiplicity) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    short arg2 ; void *argp1 = 0 ; int res1 = 0 ; short val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBResidueAtomIter_SetSpinMultiplicity(self,spin);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_SetSpinMultiplicity" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_short SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBResidueAtomIter_SetSpinMultiplicity" "', argument " "2"" of type '" "short""'"); }
      arg2 = static_cast< short >(val2); (*arg1)->SetSpinMultiplicity(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_SetType__SWIG_0) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBResidueAtomIter_SetType(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_SetType" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBResidueAtomIter_SetType" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); (*arg1)->SetType((char const *)arg2); ST(argvi) = sv_newmortal();
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_SetType__SWIG_1) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBResidueAtomIter_SetType(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_SetType" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBResidueAtomIter_SetType" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBResidueAtomIter_SetType" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  (*arg1)->SetType((std::string const &)*arg2); ST(argvi) = sv_newmortal();
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_SetType) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBResidueAtomIter_SetType__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBResidueAtomIter_SetType__SWIG_0); return; }  } 
  croak("No matching function for overloaded '_OBResidueAtomIter_SetType'"); XSRETURN(0); }
XS(_wrap__OBResidueAtomIter_SetPartialCharge) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBResidueAtomIter_SetPartialCharge(self,pcharge);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_SetPartialCharge" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBResidueAtomIter_SetPartialCharge" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); (*arg1)->SetPartialCharge(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_SetVector__SWIG_0) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    OpenBabel::vector3 *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBResidueAtomIter_SetVector(self,v);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_SetVector" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBResidueAtomIter_SetVector" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBResidueAtomIter_SetVector" "', argument " "2"" of type '" "OpenBabel::vector3 const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2); (*arg1)->SetVector((OpenBabel::vector3 const &)*arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_SetVector__SWIG_1) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    double arg2 ; double arg3 ; double arg4 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; double val3 ;
    int ecode3 = 0 ; double val4 ; int ecode4 = 0 ; int argvi = 0; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: _OBResidueAtomIter_SetVector(self,x,y,z);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_SetVector" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBResidueAtomIter_SetVector" "', argument " "2"" of type '" "double""'"); }
      arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "_OBResidueAtomIter_SetVector" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "_OBResidueAtomIter_SetVector" "', argument " "4"" of type '" "double""'"); }
      arg4 = static_cast< double >(val4); (*arg1)->SetVector(arg2,arg3,arg4); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_SetVector__SWIG_2) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_SetVector(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_SetVector" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); (*arg1)->SetVector(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_SetVector) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__vector3, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 4) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBResidueAtomIter_SetVector__SWIG_2); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBResidueAtomIter_SetVector__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBResidueAtomIter_SetVector__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBResidueAtomIter_SetVector'"); XSRETURN(0); }
XS(_wrap__OBResidueAtomIter_SetCoordPtr) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    double **arg2 = (double **) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBResidueAtomIter_SetCoordPtr(self,c);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_SetCoordPtr" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_p_double, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBResidueAtomIter_SetCoordPtr" "', argument " "2"" of type '" "double **""'");  }
     arg2 = reinterpret_cast< double ** >(argp2); (*arg1)->SetCoordPtr(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_SetResidue) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    OpenBabel::OBResidue *arg2 = (OpenBabel::OBResidue *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBResidueAtomIter_SetResidue(self,res);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_SetResidue" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBResidueAtomIter_SetResidue" "', argument " "2"" of type '" "OpenBabel::OBResidue *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBResidue * >(argp2); (*arg1)->SetResidue(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_SetParent) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    OpenBabel::OBMol *arg2 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBResidueAtomIter_SetParent(self,ptr);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_SetParent" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBResidueAtomIter_SetParent" "', argument " "2"" of type '" "OpenBabel::OBMol *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); (*arg1)->SetParent(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_SetAromatic) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_SetAromatic(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_SetAromatic" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); (*arg1)->SetAromatic(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_UnsetAromatic) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_UnsetAromatic(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_UnsetAromatic" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); (*arg1)->UnsetAromatic(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_SetClockwiseStereo) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_SetClockwiseStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_SetClockwiseStereo" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); (*arg1)->SetClockwiseStereo();
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_SetAntiClockwiseStereo) { {
    OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBResidueAtomIter_SetAntiClockwiseStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_SetAntiClockwiseStereo" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); (*arg1)->SetAntiClockwiseStereo();
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_SetPositiveStereo) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_SetPositiveStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_SetPositiveStereo" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); (*arg1)->SetPositiveStereo(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_SetNegativeStereo) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_SetNegativeStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_SetNegativeStereo" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); (*arg1)->SetNegativeStereo(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_UnsetStereo) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_UnsetStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_UnsetStereo" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); (*arg1)->UnsetStereo(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_SetInRing) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_SetInRing(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_SetInRing" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); (*arg1)->SetInRing(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_SetChiral) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_SetChiral(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_SetChiral" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); (*arg1)->SetChiral(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_ClearCoordPtr) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_ClearCoordPtr(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_ClearCoordPtr" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); (*arg1)->ClearCoordPtr(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetFormalCharge) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_GetFormalCharge(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetFormalCharge" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (int)(*arg1)->GetFormalCharge();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetAtomicNum) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_GetAtomicNum(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetAtomicNum" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (unsigned int)(*arg1)->GetAtomicNum();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetIsotope) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned short result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_GetIsotope(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetIsotope" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (unsigned short)(*arg1)->GetIsotope();
    ST(argvi) = SWIG_From_unsigned_SS_short  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned short >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetSpinMultiplicity) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_GetSpinMultiplicity(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetSpinMultiplicity" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (int)(*arg1)->GetSpinMultiplicity();
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetAtomicMass) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_GetAtomicMass(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetAtomicMass" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (double)(*arg1)->GetAtomicMass();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetExactMass) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_GetExactMass(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetExactMass" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (double)(*arg1)->GetExactMass();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetIdx) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_GetIdx(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetIdx" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (unsigned int)(*arg1)->GetIdx();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetIndex) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_GetIndex(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetIndex" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (unsigned int)(*arg1)->GetIndex();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetId) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned long result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_GetId(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetId" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (unsigned long)(*arg1)->GetId();
    ST(argvi) = SWIG_From_unsigned_SS_long  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned long >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetCoordinateIdx) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_GetCoordinateIdx(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetCoordinateIdx" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (unsigned int)(*arg1)->GetCoordinateIdx();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetCIdx) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_GetCIdx(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetCIdx" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (unsigned int)(*arg1)->GetCIdx();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetValence) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_GetValence(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetValence" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (unsigned int)(*arg1)->GetValence();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetHyb) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_GetHyb(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetHyb" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (unsigned int)(*arg1)->GetHyb();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetImplicitValence) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_GetImplicitValence(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetImplicitValence" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (unsigned int)(*arg1)->GetImplicitValence();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetHvyValence) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_GetHvyValence(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetHvyValence" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (unsigned int)(*arg1)->GetHvyValence();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetHeteroValence) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_GetHeteroValence(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetHeteroValence" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (unsigned int)(*arg1)->GetHeteroValence();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetType) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_GetType(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetType" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (char *)(*arg1)->GetType();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetX) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_GetX(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetX" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (double)(*arg1)->GetX();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetY) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_GetY(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetY" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (double)(*arg1)->GetY();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetZ) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_GetZ(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetZ" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (double)(*arg1)->GetZ();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_x) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_x(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_x" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (double)(*arg1)->x();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_y) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_y(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_y" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (double)(*arg1)->y();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_z) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_z(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_z" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (double)(*arg1)->z();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetCoordinate) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_GetCoordinate(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetCoordinate" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (double *)(*arg1)->GetCoordinate();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetVector__SWIG_0) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::vector3 *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_GetVector(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetVector" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (OpenBabel::vector3 *) &(*arg1)->GetVector();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__vector3, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetVector__SWIG_1) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::vector3 *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_GetVector(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetVector" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (OpenBabel::vector3 *) &(*arg1)->GetVector();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__vector3, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetVector) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBResidueAtomIter_GetVector__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBResidueAtomIter_GetVector__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBResidueAtomIter_GetVector'"); XSRETURN(0); }
XS(_wrap__OBResidueAtomIter_GetPartialCharge) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_GetPartialCharge(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetPartialCharge" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (double)(*arg1)->GetPartialCharge();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetResidue__SWIG_0) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::OBResidue *result = 0 ; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBResidueAtomIter_GetResidue(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetResidue" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (OpenBabel::OBResidue *)(*arg1)->GetResidue();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBResidue, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetResidue__SWIG_1) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::OBResidue *result = 0 ;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBResidueAtomIter_GetResidue(self,perception);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetResidue" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBResidueAtomIter_GetResidue" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (OpenBabel::OBResidue *)(*arg1)->GetResidue(arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBResidue, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetResidue) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBResidueAtomIter_GetResidue__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBResidueAtomIter_GetResidue__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBResidueAtomIter_GetResidue'"); XSRETURN(0); }
XS(_wrap__OBResidueAtomIter_GetParent) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::OBMol *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_GetParent(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetParent" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (OpenBabel::OBMol *)(*arg1)->GetParent();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMol, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetNewBondVector) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    OpenBabel::vector3 *arg2 = 0 ; double arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; double val3 ;
    int ecode3 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: _OBResidueAtomIter_GetNewBondVector(self,v,length);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetNewBondVector" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBResidueAtomIter_GetNewBondVector" "', argument " "2"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBResidueAtomIter_GetNewBondVector" "', argument " "2"" of type '" "OpenBabel::vector3 &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2); ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "_OBResidueAtomIter_GetNewBondVector" "', argument " "3"" of type '" "double""'"); }
      arg3 = static_cast< double >(val3); result = (bool)(*arg1)->GetNewBondVector(*arg2,arg3);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetBond) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; OpenBabel::OBBond *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBResidueAtomIter_GetBond(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetBond" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBResidueAtomIter_GetBond" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (OpenBabel::OBBond *)(*arg1)->GetBond(arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBond, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetNextAtom) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_GetNextAtom(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetNextAtom" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (OpenBabel::OBAtom *)(*arg1)->GetNextAtom();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_BeginBonds) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBBond * >::iterator > result;
    dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBResidueAtomIter_BeginBonds(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_BeginBonds" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (*arg1)->BeginBonds();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBBondIterator(static_cast< const OpenBabel::OBBondIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_EndBonds) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; SwigValueWrapper< std::vector< OpenBabel::OBBond * >::iterator > result;
    dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBResidueAtomIter_EndBonds(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_EndBonds" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (*arg1)->EndBonds();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBBondIterator(static_cast< const OpenBabel::OBBondIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_BeginBond) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    OpenBabel::OBBondIterator *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    OpenBabel::OBBond *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBResidueAtomIter_BeginBond(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_BeginBond" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBResidueAtomIter_BeginBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBResidueAtomIter_BeginBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBondIterator * >(argp2); result = (OpenBabel::OBBond *)(*arg1)->BeginBond(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBond, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_NextBond) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    OpenBabel::OBBondIterator *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    OpenBabel::OBBond *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBResidueAtomIter_NextBond(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_NextBond" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBResidueAtomIter_NextBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBResidueAtomIter_NextBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBondIterator * >(argp2); result = (OpenBabel::OBBond *)(*arg1)->NextBond(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBond, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_BeginNbrAtom) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    OpenBabel::OBBondIterator *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBResidueAtomIter_BeginNbrAtom(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_BeginNbrAtom" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBResidueAtomIter_BeginNbrAtom" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBResidueAtomIter_BeginNbrAtom" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBondIterator * >(argp2); result = (OpenBabel::OBAtom *)(*arg1)->BeginNbrAtom(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_NextNbrAtom) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    OpenBabel::OBBondIterator *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0;
    OpenBabel::OBAtom *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBResidueAtomIter_NextNbrAtom(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_NextNbrAtom" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBResidueAtomIter_NextNbrAtom" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBResidueAtomIter_NextNbrAtom" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBondIterator * >(argp2); result = (OpenBabel::OBAtom *)(*arg1)->NextNbrAtom(*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBAtom, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetDistance__SWIG_0) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBResidueAtomIter_GetDistance(self,index);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetDistance" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBResidueAtomIter_GetDistance" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (double)(*arg1)->GetDistance(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetDistance__SWIG_1) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBResidueAtomIter_GetDistance(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetDistance" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBResidueAtomIter_GetDistance" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (double)(*arg1)->GetDistance(arg2);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetDistance) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBResidueAtomIter_GetDistance__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBResidueAtomIter_GetDistance__SWIG_0); return; }  } 
  croak("No matching function for overloaded '_OBResidueAtomIter_GetDistance'"); XSRETURN(0); }
XS(_wrap__OBResidueAtomIter_GetAngle__SWIG_0) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ;
    int argvi = 0; double result; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: _OBResidueAtomIter_GetAngle(self,b,c);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetAngle" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBResidueAtomIter_GetAngle" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3); if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "_OBResidueAtomIter_GetAngle" "', argument " "3"" of type '" "int""'"); }
      arg3 = static_cast< int >(val3); result = (double)(*arg1)->GetAngle(arg2,arg3);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetAngle__SWIG_1) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; OpenBabel::OBAtom *arg3 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; double result; dXSARGS;
    if ((items < 3) || (items > 3)) { SWIG_croak("Usage: _OBResidueAtomIter_GetAngle(self,b,c);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetAngle" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBResidueAtomIter_GetAngle" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "_OBResidueAtomIter_GetAngle" "', argument " "3"" of type '" "OpenBabel::OBAtom *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBAtom * >(argp3); result = (double)(*arg1)->GetAngle(arg2,arg3);
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetAngle) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 3) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { { int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
          _v = SWIG_CheckState(res); } }  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    dispatch: switch(_index) { case 1: ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBResidueAtomIter_GetAngle__SWIG_1); return;
      case 2: ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBResidueAtomIter_GetAngle__SWIG_0); return; }  } 
  croak("No matching function for overloaded '_OBResidueAtomIter_GetAngle'"); XSRETURN(0); }
XS(_wrap__OBResidueAtomIter_NewResidue) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_NewResidue(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_NewResidue" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); (*arg1)->NewResidue(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_AddResidue) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    OpenBabel::OBResidue *arg2 = (OpenBabel::OBResidue *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBResidueAtomIter_AddResidue(self,res);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_AddResidue" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBResidue, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBResidueAtomIter_AddResidue" "', argument " "2"" of type '" "OpenBabel::OBResidue *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBResidue * >(argp2); (*arg1)->AddResidue(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_DeleteResidue) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_DeleteResidue(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_DeleteResidue" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); (*arg1)->DeleteResidue(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_AddBond) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    OpenBabel::OBBond *arg2 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBResidueAtomIter_AddBond(self,bond);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_AddBond" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBResidueAtomIter_AddBond" "', argument " "2"" of type '" "OpenBabel::OBBond *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBond * >(argp2); (*arg1)->AddBond(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_InsertBond) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    OpenBabel::OBBondIterator *arg2 = 0 ; OpenBabel::OBBond *arg3 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; dXSARGS; if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: _OBResidueAtomIter_InsertBond(self,i,bond);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_InsertBond" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_p_t__iterator,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBResidueAtomIter_InsertBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBResidueAtomIter_InsertBond" "', argument " "2"" of type '" "OpenBabel::OBBondIterator &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBondIterator * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "_OBResidueAtomIter_InsertBond" "', argument " "3"" of type '" "OpenBabel::OBBond *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBBond * >(argp3); (*arg1)->InsertBond(*arg2,arg3); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_DeleteBond) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    OpenBabel::OBBond *arg2 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBResidueAtomIter_DeleteBond(self,bond);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_DeleteBond" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBResidueAtomIter_DeleteBond" "', argument " "2"" of type '" "OpenBabel::OBBond *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBond * >(argp2); result = (bool)(*arg1)->DeleteBond(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_ClearBond) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_ClearBond(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_ClearBond" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); (*arg1)->ClearBond(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_HtoMethyl) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_HtoMethyl(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_HtoMethyl" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->HtoMethyl();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_SetHybAndGeom) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBResidueAtomIter_SetHybAndGeom(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_SetHybAndGeom" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBResidueAtomIter_SetHybAndGeom" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (bool)(*arg1)->SetHybAndGeom(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_ForceNoH) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_ForceNoH(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_ForceNoH" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); (*arg1)->ForceNoH(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_HasNoHForced) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_HasNoHForced(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_HasNoHForced" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->HasNoHForced();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_ForceImplH) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_ForceImplH(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_ForceImplH" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); (*arg1)->ForceImplH(); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_HasImplHForced) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_HasImplHForced(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_HasImplHForced" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->HasImplHForced();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_CountFreeOxygens) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_CountFreeOxygens(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_CountFreeOxygens" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (unsigned int)(*arg1)->CountFreeOxygens();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_ImplicitHydrogenCount) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_ImplicitHydrogenCount(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_ImplicitHydrogenCount" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (unsigned int)(*arg1)->ImplicitHydrogenCount();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_ExplicitHydrogenCount__SWIG_0) { {
    OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ;
    bool val2 ; int ecode2 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBResidueAtomIter_ExplicitHydrogenCount(self,ExcludeIsotopes);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_ExplicitHydrogenCount" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBResidueAtomIter_ExplicitHydrogenCount" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (unsigned int)(*arg1)->ExplicitHydrogenCount(arg2);
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_ExplicitHydrogenCount__SWIG_1) { {
    OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_ExplicitHydrogenCount(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_ExplicitHydrogenCount" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (unsigned int)(*arg1)->ExplicitHydrogenCount();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_ExplicitHydrogenCount) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0; 
    if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBResidueAtomIter_ExplicitHydrogenCount__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBResidueAtomIter_ExplicitHydrogenCount__SWIG_0); return; }  } 
  croak("No matching function for overloaded '_OBResidueAtomIter_ExplicitHydrogenCount'"); XSRETURN(0); }
XS(_wrap__OBResidueAtomIter_MemberOfRingCount) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_MemberOfRingCount(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_MemberOfRingCount" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (unsigned int)(*arg1)->MemberOfRingCount();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_MemberOfRingSize) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_MemberOfRingSize(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_MemberOfRingSize" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (unsigned int)(*arg1)->MemberOfRingSize();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_CountRingBonds) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_CountRingBonds(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_CountRingBonds" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (unsigned int)(*arg1)->CountRingBonds();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_SmallestBondAngle) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_SmallestBondAngle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_SmallestBondAngle" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (double)(*arg1)->SmallestBondAngle();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_AverageBondAngle) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; double result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_AverageBondAngle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_AverageBondAngle" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (double)(*arg1)->AverageBondAngle();
    ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_BOSum) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_BOSum(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_BOSum" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (unsigned int)(*arg1)->BOSum();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_KBOSum) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_KBOSum(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_KBOSum" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (unsigned int)(*arg1)->KBOSum();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_HasResidue) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_HasResidue(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_HasResidue" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->HasResidue();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_IsHydrogen__SWIG_0) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_IsHydrogen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_IsHydrogen" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->IsHydrogen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_IsHydrogen__SWIG_1) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_IsHydrogen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_IsHydrogen" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->IsHydrogen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_IsHydrogen) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBResidueAtomIter_IsHydrogen__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBResidueAtomIter_IsHydrogen__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBResidueAtomIter_IsHydrogen'"); XSRETURN(0); }
XS(_wrap__OBResidueAtomIter_IsCarbon) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_IsCarbon(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_IsCarbon" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->IsCarbon();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_IsNitrogen) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_IsNitrogen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_IsNitrogen" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->IsNitrogen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_IsOxygen) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_IsOxygen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_IsOxygen" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->IsOxygen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_IsSulfur) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_IsSulfur(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_IsSulfur" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->IsSulfur();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_IsPhosphorus) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_IsPhosphorus(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_IsPhosphorus" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->IsPhosphorus();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_IsAromatic) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_IsAromatic(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_IsAromatic" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->IsAromatic();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_IsInRing) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_IsInRing(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_IsInRing" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->IsInRing();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_IsInRingSize) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBResidueAtomIter_IsInRingSize(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_IsInRingSize" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBResidueAtomIter_IsInRingSize" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (bool)(*arg1)->IsInRingSize(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_IsHeteroatom) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_IsHeteroatom(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_IsHeteroatom" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->IsHeteroatom();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_IsNotCorH) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_IsNotCorH(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_IsNotCorH" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->IsNotCorH();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_IsConnected) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBResidueAtomIter_IsConnected(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_IsConnected" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBResidueAtomIter_IsConnected" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (bool)(*arg1)->IsConnected(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_IsOneThree) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBResidueAtomIter_IsOneThree(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_IsOneThree" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBResidueAtomIter_IsOneThree" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (bool)(*arg1)->IsOneThree(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_IsOneFour) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBResidueAtomIter_IsOneFour(self,OpenBabel::OBAtom *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_IsOneFour" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBResidueAtomIter_IsOneFour" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (bool)(*arg1)->IsOneFour(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_IsCarboxylOxygen) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_IsCarboxylOxygen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_IsCarboxylOxygen" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->IsCarboxylOxygen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_IsPhosphateOxygen) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_IsPhosphateOxygen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_IsPhosphateOxygen" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->IsPhosphateOxygen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_IsSulfateOxygen) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_IsSulfateOxygen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_IsSulfateOxygen" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->IsSulfateOxygen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_IsNitroOxygen) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_IsNitroOxygen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_IsNitroOxygen" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->IsNitroOxygen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_IsAmideNitrogen) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_IsAmideNitrogen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_IsAmideNitrogen" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->IsAmideNitrogen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_IsPolarHydrogen) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_IsPolarHydrogen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_IsPolarHydrogen" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->IsPolarHydrogen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_IsNonPolarHydrogen) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_IsNonPolarHydrogen(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_IsNonPolarHydrogen" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->IsNonPolarHydrogen();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_IsAromaticNOxide) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_IsAromaticNOxide(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_IsAromaticNOxide" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->IsAromaticNOxide();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_IsChiral) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_IsChiral(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_IsChiral" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->IsChiral();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_IsAxial) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_IsAxial(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_IsAxial" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->IsAxial();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_IsClockwise) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_IsClockwise(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_IsClockwise" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->IsClockwise();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_IsAntiClockwise) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_IsAntiClockwise(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_IsAntiClockwise" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->IsAntiClockwise();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_IsPositiveStereo) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_IsPositiveStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_IsPositiveStereo" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->IsPositiveStereo();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_IsNegativeStereo) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_IsNegativeStereo(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_IsNegativeStereo" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->IsNegativeStereo();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_HasChiralitySpecified) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_HasChiralitySpecified(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_HasChiralitySpecified" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->HasChiralitySpecified();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_HasChiralVolume) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_HasChiralVolume(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_HasChiralVolume" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->HasChiralVolume();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_IsHbondAcceptor) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_IsHbondAcceptor(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_IsHbondAcceptor" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->IsHbondAcceptor();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_IsHbondDonor) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_IsHbondDonor(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_IsHbondDonor" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->IsHbondDonor();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_IsHbondDonorH) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_IsHbondDonorH(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_IsHbondDonorH" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->IsHbondDonorH();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_HasAlphaBetaUnsat__SWIG_0) { {
    OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ;
    bool val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBResidueAtomIter_HasAlphaBetaUnsat(self,includePandS);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_HasAlphaBetaUnsat" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBResidueAtomIter_HasAlphaBetaUnsat" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (bool)(*arg1)->HasAlphaBetaUnsat(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_HasAlphaBetaUnsat__SWIG_1) { {
    OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBResidueAtomIter_HasAlphaBetaUnsat(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_HasAlphaBetaUnsat" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->HasAlphaBetaUnsat();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_HasAlphaBetaUnsat) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0; 
    if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBResidueAtomIter_HasAlphaBetaUnsat__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBResidueAtomIter_HasAlphaBetaUnsat__SWIG_0); return; }  } 
  croak("No matching function for overloaded '_OBResidueAtomIter_HasAlphaBetaUnsat'"); XSRETURN(0); }
XS(_wrap__OBResidueAtomIter_HasBondOfOrder) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBResidueAtomIter_HasBondOfOrder(self,bo);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_HasBondOfOrder" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBResidueAtomIter_HasBondOfOrder" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (bool)(*arg1)->HasBondOfOrder(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_CountBondsOfOrder) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; int result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBResidueAtomIter_CountBondsOfOrder(self,bo);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_CountBondsOfOrder" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBResidueAtomIter_CountBondsOfOrder" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (int)(*arg1)->CountBondsOfOrder(arg2);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_HasNonSingleBond) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_HasNonSingleBond(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_HasNonSingleBond" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->HasNonSingleBond();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_HasSingleBond) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_HasSingleBond(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_HasSingleBond" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->HasSingleBond();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_HasDoubleBond) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_HasDoubleBond(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_HasDoubleBond" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->HasDoubleBond();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_HasAromaticBond) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_HasAromaticBond(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_HasAromaticBond" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->HasAromaticBond();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_MatchesSMARTS) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBResidueAtomIter_MatchesSMARTS(self,char const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_MatchesSMARTS" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBResidueAtomIter_MatchesSMARTS" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); result = (bool)(*arg1)->MatchesSMARTS((char const *)arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_Clear) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_Clear(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_Clear" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (bool)(*arg1)->Clear();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_DoTransformations) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    std::map< std::string,std::string > *arg2 = (std::map< std::string,std::string > *) 0 ;
    OpenBabel::OBConversion *arg3 = (OpenBabel::OBConversion *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int argvi = 0; OpenBabel::OBBase *result = 0 ; dXSARGS;
    if ((items < 3) || (items > 3)) {
      SWIG_croak("Usage: _OBResidueAtomIter_DoTransformations(self,std::map< std::string,std::string > const *,OpenBabel::OBConversion *);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_DoTransformations" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBResidueAtomIter_DoTransformations" "', argument " "2"" of type '" "std::map< std::string,std::string > const *""'");  }
     arg2 = reinterpret_cast< std::map< std::string,std::string > * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_OpenBabel__OBConversion, 0 |  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "_OBResidueAtomIter_DoTransformations" "', argument " "3"" of type '" "OpenBabel::OBConversion *""'");  }
     arg3 = reinterpret_cast< OpenBabel::OBConversion * >(argp3);
    result = (OpenBabel::OBBase *)(*arg1)->DoTransformations((std::map< std::string,std::string > const *)arg2,arg3);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBase, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_ClassDescription) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_ClassDescription(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_ClassDescription" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (char *)(*arg1)->ClassDescription();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetTitle__SWIG_0) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBResidueAtomIter_GetTitle(self,replaceNewlines);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetTitle" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBResidueAtomIter_GetTitle" "', argument " "2"" of type '" "bool""'"); }
      arg2 = static_cast< bool >(val2); result = (char *)(*arg1)->GetTitle(arg2);
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetTitle__SWIG_1) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_GetTitle(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetTitle" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (char *)(*arg1)->GetTitle();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetTitle) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBResidueAtomIter_GetTitle__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBResidueAtomIter_GetTitle__SWIG_0); return; }  } 
  croak("No matching function for overloaded '_OBResidueAtomIter_GetTitle'"); XSRETURN(0); }
XS(_wrap__OBResidueAtomIter_SetTitle) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBResidueAtomIter_SetTitle(self,char const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_SetTitle" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBResidueAtomIter_SetTitle" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); (*arg1)->SetTitle((char const *)arg2); ST(argvi) = sv_newmortal();
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_HasData__SWIG_0) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBResidueAtomIter_HasData(self,std::string const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_HasData" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBResidueAtomIter_HasData" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBResidueAtomIter_HasData" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  result = (bool)(*arg1)->HasData((std::string const &)*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_HasData__SWIG_1) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBResidueAtomIter_HasData(self,char const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_HasData" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBResidueAtomIter_HasData" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); result = (bool)(*arg1)->HasData((char const *)arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_HasData__SWIG_2) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; bool result;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBResidueAtomIter_HasData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_HasData" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBResidueAtomIter_HasData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (bool)(*arg1)->HasData(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_HasData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBResidueAtomIter_HasData__SWIG_2); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBResidueAtomIter_HasData__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBResidueAtomIter_HasData__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBResidueAtomIter_HasData'"); XSRETURN(0); }
XS(_wrap__OBResidueAtomIter_DeleteData__SWIG_0) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBResidueAtomIter_DeleteData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBResidueAtomIter_DeleteData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); (*arg1)->DeleteData(arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_DeleteData__SWIG_1) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    OpenBabel::OBGenericData *arg2 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBResidueAtomIter_DeleteData(self,OpenBabel::OBGenericData *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBResidueAtomIter_DeleteData" "', argument " "2"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBGenericData * >(argp2); (*arg1)->DeleteData(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_DeleteData__SWIG_2) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    std::vector< OpenBabel::OBGenericData * > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBResidueAtomIter_DeleteData(self,std::vector< OpenBabel::OBGenericData * > &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBResidueAtomIter_DeleteData" "', argument " "2"" of type '" "std::vector< OpenBabel::OBGenericData * > &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBResidueAtomIter_DeleteData" "', argument " "2"" of type '" "std::vector< OpenBabel::OBGenericData * > &""'"); }
     arg2 = reinterpret_cast< std::vector< OpenBabel::OBGenericData * > * >(argp2); (*arg1)->DeleteData(*arg2);
    ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_DeleteData__SWIG_3) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBResidueAtomIter_DeleteData(self,s);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_DeleteData" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBResidueAtomIter_DeleteData" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBResidueAtomIter_DeleteData" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  result = (bool)(*arg1)->DeleteData((std::string const &)*arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_DeleteData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBGenericData, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t, 0);
        _v = SWIG_CheckState(res);}  if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK;
      if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2:
    if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBResidueAtomIter_DeleteData__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBResidueAtomIter_DeleteData__SWIG_2); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBResidueAtomIter_DeleteData__SWIG_0); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBResidueAtomIter_DeleteData__SWIG_3); return; }  } 
  croak("No matching function for overloaded '_OBResidueAtomIter_DeleteData'"); XSRETURN(0); }
XS(_wrap__OBResidueAtomIter_CloneData) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    OpenBabel::OBGenericData *arg2 = (OpenBabel::OBGenericData *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
    int res2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBResidueAtomIter_CloneData(self,d);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_CloneData" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBGenericData, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBResidueAtomIter_CloneData" "', argument " "2"" of type '" "OpenBabel::OBGenericData *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBGenericData * >(argp2); (*arg1)->CloneData(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_DataSize) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; size_t result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_DataSize(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_DataSize" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (*arg1)->DataSize();
    ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1(static_cast< size_t >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetData__SWIG_0) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0;
    OpenBabel::OBGenericData *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBResidueAtomIter_GetData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBResidueAtomIter_GetData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (OpenBabel::OBGenericData *)(*arg1)->GetData(arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetData__SWIG_1) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; int argvi = 0;
    OpenBabel::OBGenericData *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBResidueAtomIter_GetData(self,std::string const &);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); { std::string *ptr = (std::string *)0;
      res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr); if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBResidueAtomIter_GetData" "', argument " "2"" of type '" "std::string const &""'"); }
       if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBResidueAtomIter_GetData" "', argument " "2"" of type '" "std::string const &""'"); }
       arg2 = ptr; }  result = (OpenBabel::OBGenericData *)(*arg1)->GetData((std::string const &)*arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, 0 | SWIG_SHADOW); argvi++ ;
    if (SWIG_IsNewObj(res2)) delete arg2; XSRETURN(argvi); fail: if (SWIG_IsNewObj(res2)) delete arg2; SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetData__SWIG_2) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    OpenBabel::OBGenericData *result = 0 ; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBResidueAtomIter_GetData(self,char const *);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBResidueAtomIter_GetData" "', argument " "2"" of type '" "char const *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); result = (OpenBabel::OBGenericData *)(*arg1)->GetData((char const *)arg2);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBGenericData, 0 | SWIG_SHADOW); argvi++ ;
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetData__SWIG_3) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; std::vector< OpenBabel::OBGenericData * > *result = 0 ; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBResidueAtomIter_GetData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    result = (std::vector< OpenBabel::OBGenericData * > *) &(*arg1)->GetData();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetData__SWIG_4) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    OpenBabel::DataOrigin arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0;
    std::vector< OpenBabel::OBGenericData * > result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBResidueAtomIter_GetData(self,source);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetData" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBResidueAtomIter_GetData" "', argument " "2"" of type '" "OpenBabel::DataOrigin""'"); }
      arg2 = static_cast< OpenBabel::DataOrigin >(val2); result = (*arg1)->GetData(arg2); { size_t len = (&result)->size();
      SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) {
        OpenBabel::OBGenericData *x = ((std::vector< OpenBabel::OBGenericData * > &)result)[i]; svs[i] = sv_newmortal();
        sv_setsv(svs[i], SWIG_NewPointerObj(x, SWIGTYPE_p_OpenBabel__OBGenericData, 0)); }  AV *myav = av_make(len, svs);
      delete[] svs; ST(argvi) = newRV_noinc((SV*) myav); sv_2mortal(ST(argvi)); argvi++; }  XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_GetData) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } } 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_3;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 3;
        if (_rank == _rankm) goto dispatch; }  }  check_3: if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), (std::string**)(0)); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_4; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 4; if (_rank == _rankm) goto dispatch; }  }  check_4: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_5; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_5;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 5;
        if (_rank == _rankm) goto dispatch; }  }  check_5: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBResidueAtomIter_GetData__SWIG_3); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBResidueAtomIter_GetData__SWIG_0); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBResidueAtomIter_GetData__SWIG_4); return; case 4:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBResidueAtomIter_GetData__SWIG_1); return; case 5:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBResidueAtomIter_GetData__SWIG_2); return; }  } 
  croak("No matching function for overloaded '_OBResidueAtomIter_GetData'"); XSRETURN(0); }
XS(_wrap__OBResidueAtomIter_GetAllData) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int argvi = 0;
    std::vector< OpenBabel::OBGenericData * > result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBResidueAtomIter_GetAllData(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_GetAllData" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1);
    ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBResidueAtomIter_GetAllData" "', argument " "2"" of type '" "unsigned int""'"); }
      arg2 = static_cast< unsigned int >(val2); result = (*arg1)->GetAllData(arg2); { size_t len = (&result)->size();
      SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) {
        OpenBabel::OBGenericData *x = ((std::vector< OpenBabel::OBGenericData * > &)result)[i]; svs[i] = sv_newmortal();
        sv_setsv(svs[i], SWIG_NewPointerObj(x, SWIGTYPE_p_OpenBabel__OBGenericData, 0)); }  AV *myav = av_make(len, svs);
      delete[] svs; ST(argvi) = newRV_noinc((SV*) myav); sv_2mortal(ST(argvi)); argvi++; }  XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_BeginData) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    SwigValueWrapper< std::vector< OpenBabel::OBGenericData * >::iterator > result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_BeginData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_BeginData" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (*arg1)->BeginData();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBDataIterator(static_cast< const OpenBabel::OBDataIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBResidueAtomIter_EndData) { { OpenBabel::OBResidueAtomIter *arg1 = (OpenBabel::OBResidueAtomIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0;
    SwigValueWrapper< std::vector< OpenBabel::OBGenericData * >::iterator > result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBResidueAtomIter_EndData(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBResidueAtomIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBResidueAtomIter_EndData" "', argument " "1"" of type '" "OpenBabel::OBResidueAtomIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBResidueAtomIter * >(argp1); result = (*arg1)->EndData();
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBDataIterator(static_cast< const OpenBabel::OBDataIterator& >(result))), SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t__iterator, SWIG_POINTER_OWN | 0); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBMolAngleIter__SWIG_0) { { int argvi = 0; OpenBabel::OBMolAngleIter *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new__OBMolAngleIter();"); } 
    result = (OpenBabel::OBMolAngleIter *)new OpenBabel::OBMolAngleIter();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolAngleIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBMolAngleIter__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBMolAngleIter *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new__OBMolAngleIter(mol);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new__OBMolAngleIter" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    result = (OpenBabel::OBMolAngleIter *)new OpenBabel::OBMolAngleIter(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolAngleIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBMolAngleIter__SWIG_2) { { OpenBabel::OBMolAngleIter *arg1 = 0 ; void *argp1 ; int res1 = 0 ; int argvi = 0;
    OpenBabel::OBMolAngleIter *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new__OBMolAngleIter(ai);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBMolAngleIter,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new__OBMolAngleIter" "', argument " "1"" of type '" "OpenBabel::OBMolAngleIter const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new__OBMolAngleIter" "', argument " "1"" of type '" "OpenBabel::OBMolAngleIter const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBMolAngleIter * >(argp1);
    result = (OpenBabel::OBMolAngleIter *)new OpenBabel::OBMolAngleIter((OpenBabel::OBMolAngleIter const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolAngleIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBMolAngleIter) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolAngleIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new__OBMolAngleIter__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new__OBMolAngleIter__SWIG_1); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new__OBMolAngleIter__SWIG_2); return; }  } 
  croak("No matching function for overloaded 'new__OBMolAngleIter'"); XSRETURN(0); }
XS(_wrap_delete__OBMolAngleIter) { { OpenBabel::OBMolAngleIter *arg1 = (OpenBabel::OBMolAngleIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: delete__OBMolAngleIter(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAngleIter, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete__OBMolAngleIter" "', argument " "1"" of type '" "OpenBabel::OBMolAngleIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAngleIter * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAngleIter_good) { { OpenBabel::OBMolAngleIter *arg1 = (OpenBabel::OBMolAngleIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAngleIter_good(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAngleIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAngleIter_good" "', argument " "1"" of type '" "OpenBabel::OBMolAngleIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAngleIter * >(argp1);
    result = (bool)((OpenBabel::OBMolAngleIter const *)arg1)->operator bool();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolAngleIter_inc) { { OpenBabel::OBMolAngleIter *arg1 = (OpenBabel::OBMolAngleIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBMolAngleIter *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAngleIter_inc(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAngleIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAngleIter_inc" "', argument " "1"" of type '" "OpenBabel::OBMolAngleIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAngleIter * >(argp1);
    result = (OpenBabel::OBMolAngleIter *) &(arg1)->operator ++();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolAngleIter, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolAngleIter___ref__) { { OpenBabel::OBMolAngleIter *arg1 = (OpenBabel::OBMolAngleIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::vector< unsigned int > result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolAngleIter___ref__(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolAngleIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolAngleIter___ref__" "', argument " "1"" of type '" "OpenBabel::OBMolAngleIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolAngleIter * >(argp1);
    result = ((OpenBabel::OBMolAngleIter const *)arg1)->operator *(); { size_t len = (&result)->size(); SV **svs = new SV*[len];
      for (size_t i=0; i<len; i++) { svs[i] = sv_newmortal(); sv_setiv(svs[i], result[i]); }  AV *myav = av_make(len, svs);
      delete[] svs; ST(argvi) = newRV_noinc((SV*) myav); sv_2mortal(ST(argvi)); argvi++; }  XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_new__OBMolTorsionIter__SWIG_0) { { int argvi = 0; OpenBabel::OBMolTorsionIter *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new__OBMolTorsionIter();"); } 
    result = (OpenBabel::OBMolTorsionIter *)new OpenBabel::OBMolTorsionIter();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolTorsionIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBMolTorsionIter__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBMolTorsionIter *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new__OBMolTorsionIter(mol);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new__OBMolTorsionIter" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    result = (OpenBabel::OBMolTorsionIter *)new OpenBabel::OBMolTorsionIter(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolTorsionIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBMolTorsionIter__SWIG_2) { { OpenBabel::OBMolTorsionIter *arg1 = 0 ; void *argp1 ; int res1 = 0 ; int argvi = 0;
    OpenBabel::OBMolTorsionIter *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new__OBMolTorsionIter(ai);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBMolTorsionIter,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new__OBMolTorsionIter" "', argument " "1"" of type '" "OpenBabel::OBMolTorsionIter const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new__OBMolTorsionIter" "', argument " "1"" of type '" "OpenBabel::OBMolTorsionIter const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBMolTorsionIter * >(argp1);
    result = (OpenBabel::OBMolTorsionIter *)new OpenBabel::OBMolTorsionIter((OpenBabel::OBMolTorsionIter const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolTorsionIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBMolTorsionIter) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolTorsionIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new__OBMolTorsionIter__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new__OBMolTorsionIter__SWIG_1); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new__OBMolTorsionIter__SWIG_2); return; }  } 
  croak("No matching function for overloaded 'new__OBMolTorsionIter'"); XSRETURN(0); }
XS(_wrap_delete__OBMolTorsionIter) { { OpenBabel::OBMolTorsionIter *arg1 = (OpenBabel::OBMolTorsionIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: delete__OBMolTorsionIter(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolTorsionIter, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete__OBMolTorsionIter" "', argument " "1"" of type '" "OpenBabel::OBMolTorsionIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolTorsionIter * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolTorsionIter_good) { { OpenBabel::OBMolTorsionIter *arg1 = (OpenBabel::OBMolTorsionIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolTorsionIter_good(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolTorsionIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolTorsionIter_good" "', argument " "1"" of type '" "OpenBabel::OBMolTorsionIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolTorsionIter * >(argp1);
    result = (bool)((OpenBabel::OBMolTorsionIter const *)arg1)->operator bool();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolTorsionIter_inc) { { OpenBabel::OBMolTorsionIter *arg1 = (OpenBabel::OBMolTorsionIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBMolTorsionIter *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolTorsionIter_inc(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolTorsionIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolTorsionIter_inc" "', argument " "1"" of type '" "OpenBabel::OBMolTorsionIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolTorsionIter * >(argp1);
    result = (OpenBabel::OBMolTorsionIter *) &(arg1)->operator ++();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolTorsionIter, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolTorsionIter___ref__) { { OpenBabel::OBMolTorsionIter *arg1 = (OpenBabel::OBMolTorsionIter *) 0 ;
    void *argp1 = 0 ; int res1 = 0 ; int argvi = 0; std::vector< unsigned int > result; dXSARGS;
    if ((items < 1) || (items > 1)) { SWIG_croak("Usage: _OBMolTorsionIter___ref__(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolTorsionIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolTorsionIter___ref__" "', argument " "1"" of type '" "OpenBabel::OBMolTorsionIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolTorsionIter * >(argp1);
    result = ((OpenBabel::OBMolTorsionIter const *)arg1)->operator *(); { size_t len = (&result)->size();
      SV **svs = new SV*[len]; for (size_t i=0; i<len; i++) { svs[i] = sv_newmortal(); sv_setiv(svs[i], result[i]); } 
      AV *myav = av_make(len, svs); delete[] svs; ST(argvi) = newRV_noinc((SV*) myav); sv_2mortal(ST(argvi)); argvi++; } 
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBMolPairIter__SWIG_0) { { int argvi = 0; OpenBabel::OBMolPairIter *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new__OBMolPairIter();"); } 
    result = (OpenBabel::OBMolPairIter *)new OpenBabel::OBMolPairIter();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolPairIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBMolPairIter__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBMolPairIter *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new__OBMolPairIter(mol);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new__OBMolPairIter" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    result = (OpenBabel::OBMolPairIter *)new OpenBabel::OBMolPairIter(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolPairIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBMolPairIter__SWIG_2) { { OpenBabel::OBMolPairIter *arg1 = 0 ; void *argp1 ; int res1 = 0 ; int argvi = 0;
    OpenBabel::OBMolPairIter *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new__OBMolPairIter(ai);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBMolPairIter,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new__OBMolPairIter" "', argument " "1"" of type '" "OpenBabel::OBMolPairIter const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new__OBMolPairIter" "', argument " "1"" of type '" "OpenBabel::OBMolPairIter const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBMolPairIter * >(argp1);
    result = (OpenBabel::OBMolPairIter *)new OpenBabel::OBMolPairIter((OpenBabel::OBMolPairIter const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolPairIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBMolPairIter) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolPairIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new__OBMolPairIter__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new__OBMolPairIter__SWIG_1); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new__OBMolPairIter__SWIG_2); return; }  } 
  croak("No matching function for overloaded 'new__OBMolPairIter'"); XSRETURN(0); }
XS(_wrap_delete__OBMolPairIter) { { OpenBabel::OBMolPairIter *arg1 = (OpenBabel::OBMolPairIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete__OBMolPairIter(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolPairIter, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete__OBMolPairIter" "', argument " "1"" of type '" "OpenBabel::OBMolPairIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolPairIter * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolPairIter_good) { { OpenBabel::OBMolPairIter *arg1 = (OpenBabel::OBMolPairIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolPairIter_good(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolPairIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolPairIter_good" "', argument " "1"" of type '" "OpenBabel::OBMolPairIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolPairIter * >(argp1);
    result = (bool)((OpenBabel::OBMolPairIter const *)arg1)->operator bool();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolPairIter_inc) { { OpenBabel::OBMolPairIter *arg1 = (OpenBabel::OBMolPairIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBMolPairIter *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolPairIter_inc(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolPairIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolPairIter_inc" "', argument " "1"" of type '" "OpenBabel::OBMolPairIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolPairIter * >(argp1); result = (OpenBabel::OBMolPairIter *) &(arg1)->operator ++();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolPairIter, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolPairIter___ref__) { { OpenBabel::OBMolPairIter *arg1 = (OpenBabel::OBMolPairIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::vector< unsigned int > result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolPairIter___ref__(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolPairIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolPairIter___ref__" "', argument " "1"" of type '" "OpenBabel::OBMolPairIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolPairIter * >(argp1);
    result = ((OpenBabel::OBMolPairIter const *)arg1)->operator *(); { size_t len = (&result)->size(); SV **svs = new SV*[len];
      for (size_t i=0; i<len; i++) { svs[i] = sv_newmortal(); sv_setiv(svs[i], result[i]); }  AV *myav = av_make(len, svs);
      delete[] svs; ST(argvi) = newRV_noinc((SV*) myav); sv_2mortal(ST(argvi)); argvi++; }  XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap_new__OBMolRingIter__SWIG_0) { { int argvi = 0; OpenBabel::OBMolRingIter *result = 0 ; dXSARGS;
    if ((items < 0) || (items > 0)) { SWIG_croak("Usage: new__OBMolRingIter();"); } 
    result = (OpenBabel::OBMolRingIter *)new OpenBabel::OBMolRingIter();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolRingIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBMolRingIter__SWIG_1) { { OpenBabel::OBMol *arg1 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
    int argvi = 0; OpenBabel::OBMolRingIter *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new__OBMolRingIter(mol);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new__OBMolRingIter" "', argument " "1"" of type '" "OpenBabel::OBMol *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMol * >(argp1);
    result = (OpenBabel::OBMolRingIter *)new OpenBabel::OBMolRingIter(arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolRingIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBMolRingIter__SWIG_2) { { OpenBabel::OBMolRingIter *arg1 = 0 ; void *argp1 ; int res1 = 0 ; int argvi = 0;
    OpenBabel::OBMolRingIter *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: new__OBMolRingIter(ri);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_OpenBabel__OBMolRingIter,  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new__OBMolRingIter" "', argument " "1"" of type '" "OpenBabel::OBMolRingIter const &""'");  }
     if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new__OBMolRingIter" "', argument " "1"" of type '" "OpenBabel::OBMolRingIter const &""'"); }
     arg1 = reinterpret_cast< OpenBabel::OBMolRingIter * >(argp1);
    result = (OpenBabel::OBMolRingIter *)new OpenBabel::OBMolRingIter((OpenBabel::OBMolRingIter const &)*arg1);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolRingIter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap_new__OBMolRingIter) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 0) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  if (items == 1) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMol, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolRingIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_3; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 3; if (_rank == _rankm) goto dispatch; }  }  check_3: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new__OBMolRingIter__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new__OBMolRingIter__SWIG_1); return; case 3:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap_new__OBMolRingIter__SWIG_2); return; }  } 
  croak("No matching function for overloaded 'new__OBMolRingIter'"); XSRETURN(0); }
XS(_wrap_delete__OBMolRingIter) { { OpenBabel::OBMolRingIter *arg1 = (OpenBabel::OBMolRingIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; dXSARGS; if ((items < 1) || (items > 1)) { SWIG_croak("Usage: delete__OBMolRingIter(self);"); }
     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolRingIter, SWIG_POINTER_DISOWN |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete__OBMolRingIter" "', argument " "1"" of type '" "OpenBabel::OBMolRingIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolRingIter * >(argp1); delete arg1; ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolRingIter_good) { { OpenBabel::OBMolRingIter *arg1 = (OpenBabel::OBMolRingIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolRingIter_good(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolRingIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolRingIter_good" "', argument " "1"" of type '" "OpenBabel::OBMolRingIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolRingIter * >(argp1);
    result = (bool)((OpenBabel::OBMolRingIter const *)arg1)->operator bool();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolRingIter_inc__SWIG_0) { { OpenBabel::OBMolRingIter *arg1 = (OpenBabel::OBMolRingIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBMolRingIter *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolRingIter_inc(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolRingIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolRingIter_inc" "', argument " "1"" of type '" "OpenBabel::OBMolRingIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolRingIter * >(argp1); result = (OpenBabel::OBMolRingIter *) &(arg1)->operator ++();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMolRingIter, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolRingIter_inc__SWIG_1) { { OpenBabel::OBMolRingIter *arg1 = (OpenBabel::OBMolRingIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; OpenBabel::OBMolRingIter result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolRingIter_inc(self,int);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolRingIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolRingIter_inc" "', argument " "1"" of type '" "OpenBabel::OBMolRingIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolRingIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolRingIter_inc" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (arg1)->operator ++(arg2);
    ST(argvi) = SWIG_NewPointerObj((new OpenBabel::OBMolRingIter(static_cast< const OpenBabel::OBMolRingIter& >(result))), SWIGTYPE_p_OpenBabel__OBMolRingIter, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolRingIter_inc) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 1) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolRingIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolRingIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { {
          int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL); _v = SWIG_CheckState(res); } }  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolRingIter_inc__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolRingIter_inc__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBMolRingIter_inc'"); XSRETURN(0); }
XS(_wrap__OBMolRingIter_deref) { { OpenBabel::OBMolRingIter *arg1 = (OpenBabel::OBMolRingIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBRing *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolRingIter_deref(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolRingIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolRingIter_deref" "', argument " "1"" of type '" "OpenBabel::OBMolRingIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolRingIter * >(argp1);
    result = (OpenBabel::OBRing *)((OpenBabel::OBMolRingIter const *)arg1)->operator ->();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBRing, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolRingIter___ref__) { { OpenBabel::OBMolRingIter *arg1 = (OpenBabel::OBMolRingIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBRing *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolRingIter___ref__(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolRingIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolRingIter___ref__" "', argument " "1"" of type '" "OpenBabel::OBMolRingIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolRingIter * >(argp1);
    result = (OpenBabel::OBRing *) &((OpenBabel::OBMolRingIter const *)arg1)->operator *();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBRing, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolRingIter_ring_id_set) { { OpenBabel::OBMolRingIter *arg1 = (OpenBabel::OBMolRingIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolRingIter_ring_id_set(self,ring_id);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolRingIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolRingIter_ring_id_set" "', argument " "1"" of type '" "OpenBabel::OBMolRingIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolRingIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolRingIter_ring_id_set" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); if (arg1) (*arg1)->ring_id = arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolRingIter_ring_id_get) { { OpenBabel::OBMolRingIter *arg1 = (OpenBabel::OBMolRingIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolRingIter_ring_id_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolRingIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolRingIter_ring_id_get" "', argument " "1"" of type '" "OpenBabel::OBMolRingIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolRingIter * >(argp1); result = (int) ((*arg1)->ring_id);
    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolRingIter__path_set) { { OpenBabel::OBMolRingIter *arg1 = (OpenBabel::OBMolRingIter *) 0 ;
    std::vector< int > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< int > temp2 ; std::vector< int > *v2 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolRingIter__path_set(self,_path);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolRingIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolRingIter__path_set" "', argument " "1"" of type '" "OpenBabel::OBMolRingIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolRingIter * >(argp1); { if (SWIG_ConvertPtr(ST(1),(void **) &v2, 
      SWIGTYPE_p_std__vectorT_int_t,1) != -1) { arg2 = v2; }  else if (SvROK(ST(1))) { AV *av = (AV *)SvRV(ST(1));
        if (SvTYPE(av) != SVt_PVAV) SWIG_croak("Type error in argument 2 of _OBMolRingIter__path_set. "
        "Expected an array of ""int"); SV **tv; I32 len = av_len(av) + 1; for (int i=0; i<len; i++) { tv = av_fetch(av, i, 0);
          if (SvIOK(*tv)) { temp2.push_back((int)SvIVX(*tv)); }  else { SWIG_croak("Type error in argument 2 of "
            "_OBMolRingIter__path_set. " "Expected an array of ""int"); }  }  arg2 = &temp2; }  else {
        SWIG_croak("Type error in argument 2 of _OBMolRingIter__path_set. " "Expected an array of ""int"); }  } 
    if (arg1) (*arg1)->_path = *arg2; ST(argvi) = sv_newmortal(); XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolRingIter__path_get) { { OpenBabel::OBMolRingIter *arg1 = (OpenBabel::OBMolRingIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; std::vector< int > *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolRingIter__path_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolRingIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolRingIter__path_get" "', argument " "1"" of type '" "OpenBabel::OBMolRingIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolRingIter * >(argp1); result = (std::vector< int > *) & ((*arg1)->_path);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_t, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolRingIter__pathset_set) { { OpenBabel::OBMolRingIter *arg1 = (OpenBabel::OBMolRingIter *) 0 ;
    OpenBabel::OBBitVec *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolRingIter__pathset_set(self,_pathset);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolRingIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolRingIter__pathset_set" "', argument " "1"" of type '" "OpenBabel::OBMolRingIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolRingIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__OBBitVec,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolRingIter__pathset_set" "', argument " "2"" of type '" "OpenBabel::OBBitVec const &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolRingIter__pathset_set" "', argument " "2"" of type '" "OpenBabel::OBBitVec const &""'"); }
     arg2 = reinterpret_cast< OpenBabel::OBBitVec * >(argp2); if (arg1) (*arg1)->_pathset = *arg2; ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolRingIter__pathset_get) { { OpenBabel::OBMolRingIter *arg1 = (OpenBabel::OBMolRingIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBBitVec *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolRingIter__pathset_get(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolRingIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolRingIter__pathset_get" "', argument " "1"" of type '" "OpenBabel::OBMolRingIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolRingIter * >(argp1); result = (OpenBabel::OBBitVec *) & ((*arg1)->_pathset);
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBBitVec, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolRingIter_Size) { { OpenBabel::OBMolRingIter *arg1 = (OpenBabel::OBMolRingIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; size_t result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolRingIter_Size(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolRingIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolRingIter_Size" "', argument " "1"" of type '" "OpenBabel::OBMolRingIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolRingIter * >(argp1); result = (*arg1)->Size();
    ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1(static_cast< size_t >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolRingIter_PathSize) { { OpenBabel::OBMolRingIter *arg1 = (OpenBabel::OBMolRingIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; size_t result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolRingIter_PathSize(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolRingIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolRingIter_PathSize" "', argument " "1"" of type '" "OpenBabel::OBMolRingIter const *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolRingIter * >(argp1); result = (*arg1)->PathSize();
    ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1(static_cast< size_t >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolRingIter_IsAromatic) { { OpenBabel::OBMolRingIter *arg1 = (OpenBabel::OBMolRingIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; bool result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolRingIter_IsAromatic(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolRingIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolRingIter_IsAromatic" "', argument " "1"" of type '" "OpenBabel::OBMolRingIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolRingIter * >(argp1); result = (bool)(*arg1)->IsAromatic();
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolRingIter_SetType__SWIG_0) { { OpenBabel::OBMolRingIter *arg1 = (OpenBabel::OBMolRingIter *) 0 ;
    char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int argvi = 0;
    dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolRingIter_SetType(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolRingIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolRingIter_SetType" "', argument " "1"" of type '" "OpenBabel::OBMolRingIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolRingIter * >(argp1); res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolRingIter_SetType" "', argument " "2"" of type '" "char *""'"); }
     arg2 = reinterpret_cast< char * >(buf2); (*arg1)->SetType(arg2); ST(argvi) = sv_newmortal();
    if (alloc2 == SWIG_NEWOBJ) delete[] buf2; XSRETURN(argvi); fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
    SWIG_croak_null(); }  }
XS(_wrap__OBMolRingIter_SetType__SWIG_1) { { OpenBabel::OBMolRingIter *arg1 = (OpenBabel::OBMolRingIter *) 0 ;
    std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int argvi = 0; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolRingIter_SetType(self,type);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolRingIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolRingIter_SetType" "', argument " "1"" of type '" "OpenBabel::OBMolRingIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolRingIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_std__string,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolRingIter_SetType" "', argument " "2"" of type '" "std::string &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolRingIter_SetType" "', argument " "2"" of type '" "std::string &""'"); }
     arg2 = reinterpret_cast< std::string * >(argp2); (*arg1)->SetType(*arg2); ST(argvi) = sv_newmortal(); XSRETURN(argvi);
    fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolRingIter_SetType) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolRingIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_std__string, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_1;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 1;
        if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) { SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0;
      SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolRingIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; {
        int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0); _v = SWIG_CheckState(res);}  if (!_v) goto check_2;
      _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) { _rank = _ranki; _index = 2;
        if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolRingIter_SetType__SWIG_1); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolRingIter_SetType__SWIG_0); return; }  } 
  croak("No matching function for overloaded '_OBMolRingIter_SetType'"); XSRETURN(0); }
XS(_wrap__OBMolRingIter_GetType) { { OpenBabel::OBMolRingIter *arg1 = (OpenBabel::OBMolRingIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; char *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolRingIter_GetType(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolRingIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolRingIter_GetType" "', argument " "1"" of type '" "OpenBabel::OBMolRingIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolRingIter * >(argp1); result = (char *)(*arg1)->GetType();
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolRingIter_GetRootAtom) { { OpenBabel::OBMolRingIter *arg1 = (OpenBabel::OBMolRingIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; unsigned int result; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolRingIter_GetRootAtom(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolRingIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolRingIter_GetRootAtom" "', argument " "1"" of type '" "OpenBabel::OBMolRingIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolRingIter * >(argp1); result = (unsigned int)(*arg1)->GetRootAtom();
    ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolRingIter_IsMember__SWIG_0) { { OpenBabel::OBMolRingIter *arg1 = (OpenBabel::OBMolRingIter *) 0 ;
    OpenBabel::OBAtom *arg2 = (OpenBabel::OBAtom *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolRingIter_IsMember(self,a);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolRingIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolRingIter_IsMember" "', argument " "1"" of type '" "OpenBabel::OBMolRingIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolRingIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBAtom, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolRingIter_IsMember" "', argument " "2"" of type '" "OpenBabel::OBAtom *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBAtom * >(argp2); result = (bool)(*arg1)->IsMember(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolRingIter_IsMember__SWIG_1) { { OpenBabel::OBMolRingIter *arg1 = (OpenBabel::OBMolRingIter *) 0 ;
    OpenBabel::OBBond *arg2 = (OpenBabel::OBBond *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 2) || (items > 2)) {
      SWIG_croak("Usage: _OBMolRingIter_IsMember(self,b);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolRingIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolRingIter_IsMember" "', argument " "1"" of type '" "OpenBabel::OBMolRingIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolRingIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBBond, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolRingIter_IsMember" "', argument " "2"" of type '" "OpenBabel::OBBond *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBBond * >(argp2); result = (bool)(*arg1)->IsMember(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolRingIter_IsMember) { dXSARGS; { unsigned long _index = 0; SWIG_TypeRank _rank = 0;  if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolRingIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBAtom, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_1; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 1; if (_rank == _rankm) goto dispatch; }  }  check_1: if (items == 2) {
      SWIG_TypeRank _ranki = 0; SWIG_TypeRank _rankm = 0; SWIG_TypeRank _pi = 1; int _v = 0; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_OpenBabel__OBMolRingIter, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; { void *vptr = 0;
        int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_OpenBabel__OBBond, 0); _v = SWIG_CheckState(res);} 
      if (!_v) goto check_2; _ranki += _v*_pi; _rankm += _pi; _pi *= SWIG_MAXCASTRANK; if (!_index || (_ranki < _rank)) {
        _rank = _ranki; _index = 2; if (_rank == _rankm) goto dispatch; }  }  check_2: dispatch: switch(_index) { case 1:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolRingIter_IsMember__SWIG_0); return; case 2:
      ++PL_markstack_ptr; SWIG_CALLXS(_wrap__OBMolRingIter_IsMember__SWIG_1); return; }  } 
  croak("No matching function for overloaded '_OBMolRingIter_IsMember'"); XSRETURN(0); }
XS(_wrap__OBMolRingIter_IsInRing) { { OpenBabel::OBMolRingIter *arg1 = (OpenBabel::OBMolRingIter *) 0 ; int arg2 ;
    void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int argvi = 0; bool result; dXSARGS;
    if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolRingIter_IsInRing(self,i);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolRingIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolRingIter_IsInRing" "', argument " "1"" of type '" "OpenBabel::OBMolRingIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolRingIter * >(argp1); ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_OBMolRingIter_IsInRing" "', argument " "2"" of type '" "int""'"); }
      arg2 = static_cast< int >(val2); result = (bool)(*arg1)->IsInRing(arg2);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }
XS(_wrap__OBMolRingIter_SetParent) { { OpenBabel::OBMolRingIter *arg1 = (OpenBabel::OBMolRingIter *) 0 ;
    OpenBabel::OBMol *arg2 = (OpenBabel::OBMol *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
    int argvi = 0; dXSARGS; if ((items < 2) || (items > 2)) { SWIG_croak("Usage: _OBMolRingIter_SetParent(self,m);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolRingIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolRingIter_SetParent" "', argument " "1"" of type '" "OpenBabel::OBMolRingIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolRingIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OpenBabel__OBMol, 0 |  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolRingIter_SetParent" "', argument " "2"" of type '" "OpenBabel::OBMol *""'");  }
     arg2 = reinterpret_cast< OpenBabel::OBMol * >(argp2); (*arg1)->SetParent(arg2); ST(argvi) = sv_newmortal();
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolRingIter_GetParent) { { OpenBabel::OBMolRingIter *arg1 = (OpenBabel::OBMolRingIter *) 0 ; void *argp1 = 0 ;
    int res1 = 0 ; int argvi = 0; OpenBabel::OBMol *result = 0 ; dXSARGS; if ((items < 1) || (items > 1)) {
      SWIG_croak("Usage: _OBMolRingIter_GetParent(self);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolRingIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolRingIter_GetParent" "', argument " "1"" of type '" "OpenBabel::OBMolRingIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolRingIter * >(argp1); result = (OpenBabel::OBMol *)(*arg1)->GetParent();
    ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OpenBabel__OBMol, 0 | SWIG_SHADOW); argvi++ ;
    XSRETURN(argvi); fail: SWIG_croak_null(); }  }
XS(_wrap__OBMolRingIter_findCenterAndNormal) { { OpenBabel::OBMolRingIter *arg1 = (OpenBabel::OBMolRingIter *) 0 ;
    OpenBabel::vector3 *arg2 = 0 ; OpenBabel::vector3 *arg3 = 0 ; OpenBabel::vector3 *arg4 = 0 ; void *argp1 = 0 ;
    int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ;
    int argvi = 0; bool result; dXSARGS; if ((items < 4) || (items > 4)) {
      SWIG_croak("Usage: _OBMolRingIter_findCenterAndNormal(self,center,norm1,norm2);"); } 
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OpenBabel__OBMolRingIter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_OBMolRingIter_findCenterAndNormal" "', argument " "1"" of type '" "OpenBabel::OBMolRingIter *""'");  }
     arg1 = reinterpret_cast< OpenBabel::OBMolRingIter * >(argp1);
    res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_OBMolRingIter_findCenterAndNormal" "', argument " "2"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolRingIter_findCenterAndNormal" "', argument " "2"" of type '" "OpenBabel::vector3 &""'"); }
     arg2 = reinterpret_cast< OpenBabel::vector3 * >(argp2);
    res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "_OBMolRingIter_findCenterAndNormal" "', argument " "3"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolRingIter_findCenterAndNormal" "', argument " "3"" of type '" "OpenBabel::vector3 &""'"); }
     arg3 = reinterpret_cast< OpenBabel::vector3 * >(argp3);
    res4 = SWIG_ConvertPtr(ST(3), &argp4, SWIGTYPE_p_OpenBabel__vector3,  0 ); if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "_OBMolRingIter_findCenterAndNormal" "', argument " "4"" of type '" "OpenBabel::vector3 &""'");  }
     if (!argp4) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_OBMolRingIter_findCenterAndNormal" "', argument " "4"" of type '" "OpenBabel::vector3 &""'"); }
     arg4 = reinterpret_cast< OpenBabel::vector3 * >(argp4); result = (bool)(*arg1)->findCenterAndNormal(*arg2,*arg3,*arg4);
    ST(argvi) = SWIG_From_bool  SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ; XSRETURN(argvi); fail:
    SWIG_croak_null(); }  }

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

static void *_p_OpenBabel__OBAtomTyperTo_p_OpenBabel__OBGlobalDataBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBGlobalDataBase *)  ((OpenBabel::OBAtomTyper *) x));
}
static void *_p_OpenBabel__OBAromaticTyperTo_p_OpenBabel__OBGlobalDataBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBGlobalDataBase *)  ((OpenBabel::OBAromaticTyper *) x));
}
static void *_p_OpenBabel__OBResidueDataTo_p_OpenBabel__OBGlobalDataBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBGlobalDataBase *)  ((OpenBabel::OBResidueData *) x));
}
static void *_p_OpenBabel__OBRingTyperTo_p_OpenBabel__OBGlobalDataBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBGlobalDataBase *)  ((OpenBabel::OBRingTyper *) x));
}
static void *_p_OpenBabel__OBIsotopeTableTo_p_OpenBabel__OBGlobalDataBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBGlobalDataBase *)  ((OpenBabel::OBIsotopeTable *) x));
}
static void *_p_OpenBabel__OBTypeTableTo_p_OpenBabel__OBGlobalDataBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBGlobalDataBase *)  ((OpenBabel::OBTypeTable *) x));
}
static void *_p_OpenBabel__OBRotorRulesTo_p_OpenBabel__OBGlobalDataBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBGlobalDataBase *)  ((OpenBabel::OBRotorRules *) x));
}
static void *_p_OpenBabel__OBElementTableTo_p_OpenBabel__OBGlobalDataBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBGlobalDataBase *)  ((OpenBabel::OBElementTable *) x));
}
static void *_p_OpenBabel__CharPtrLessTo_p_std__binary_functionT_char_const_p_char_const_p_bool_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((std::binary_function< char const *,char const *,bool > *)  ((OpenBabel::CharPtrLess *) x));
}
static void *_p_OpenBabel__obLogBufTo_p_std__stringbuf(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((std::stringbuf *)  ((OpenBabel::obLogBuf *) x));
}
static void *_p_OpenBabel__OBDescriptorTo_p_OpenBabel__OBPlugin(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBPlugin *)  ((OpenBabel::OBDescriptor *) x));
}
static void *_p_OpenBabel__OBOpTo_p_OpenBabel__OBPlugin(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBPlugin *)  ((OpenBabel::OBOp *) x));
}
static void *_p_OpenBabel__OBForceFieldTo_p_OpenBabel__OBPlugin(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBPlugin *)  ((OpenBabel::OBForceField *) x));
}
static void *_p_OpenBabel__OBFormatTo_p_OpenBabel__OBPlugin(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBPlugin *)  ((OpenBabel::OBFormat *) x));
}
static void *_p_OpenBabel__OBFingerprintTo_p_OpenBabel__OBPlugin(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBPlugin *)  ((OpenBabel::OBFingerprint *) x));
}
static void *_p_OpenBabel__OBMolTo_p_OpenBabel__OBBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBBase *)  ((OpenBabel::OBMol *) x));
}
static void *_p_OpenBabel__OBResidueTo_p_OpenBabel__OBBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBBase *)  ((OpenBabel::OBResidue *) x));
}
static void *_p_OpenBabel__OBBondTo_p_OpenBabel__OBBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBBase *)  ((OpenBabel::OBBond *) x));
}
static void *_p_OpenBabel__OBAtomTo_p_OpenBabel__OBBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBBase *)  ((OpenBabel::OBAtom *) x));
}
static void *_p_OpenBabel__OBRotamerListTo_p_OpenBabel__OBGenericData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBGenericData *)  ((OpenBabel::OBRotamerList *) x));
}
static void *_p_OpenBabel__OBVibrationDataTo_p_OpenBabel__OBGenericData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBGenericData *)  ((OpenBabel::OBVibrationData *) x));
}
static void *_p_OpenBabel__OBTorsionDataTo_p_OpenBabel__OBGenericData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBGenericData *)  ((OpenBabel::OBTorsionData *) x));
}
static void *_p_OpenBabel__OBElectronicTransitionDataTo_p_OpenBabel__OBGenericData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBGenericData *)  ((OpenBabel::OBElectronicTransitionData *) x));
}
static void *_p_OpenBabel__OBRotationDataTo_p_OpenBabel__OBGenericData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBGenericData *)  ((OpenBabel::OBRotationData *) x));
}
static void *_p_OpenBabel__OBPairDataTo_p_OpenBabel__OBGenericData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBGenericData *)  ((OpenBabel::OBPairData *) x));
}
static void *_p_OpenBabel__AliasDataTo_p_OpenBabel__OBGenericData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBGenericData *)  ((OpenBabel::AliasData *) x));
}
static void *_p_OpenBabel__OBAngleDataTo_p_OpenBabel__OBGenericData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBGenericData *)  ((OpenBabel::OBAngleData *) x));
}
static void *_p_OpenBabel__OBAtomClassDataTo_p_OpenBabel__OBGenericData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBGenericData *)  ((OpenBabel::OBAtomClassData *) x));
}
static void *_p_OpenBabel__OBChiralDataTo_p_OpenBabel__OBGenericData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBGenericData *)  ((OpenBabel::OBChiralData *) x));
}
static void *_p_OpenBabel__OBOrbitalDataTo_p_OpenBabel__OBGenericData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBGenericData *)  ((OpenBabel::OBOrbitalData *) x));
}
static void *_p_OpenBabel__OBRingDataTo_p_OpenBabel__OBGenericData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBGenericData *)  ((OpenBabel::OBRingData *) x));
}
static void *_p_OpenBabel__OBSerialNumsTo_p_OpenBabel__OBGenericData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBGenericData *)  ((OpenBabel::OBSerialNums *) x));
}
static void *_p_OpenBabel__OBExternalBondDataTo_p_OpenBabel__OBGenericData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBGenericData *)  ((OpenBabel::OBExternalBondData *) x));
}
static void *_p_OpenBabel__OBSetDataTo_p_OpenBabel__OBGenericData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBGenericData *)  ((OpenBabel::OBSetData *) x));
}
static void *_p_OpenBabel__OBSymmetryDataTo_p_OpenBabel__OBGenericData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBGenericData *)  ((OpenBabel::OBSymmetryData *) x));
}
static void *_p_OpenBabel__OBMatrixDataTo_p_OpenBabel__OBGenericData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBGenericData *)  ((OpenBabel::OBMatrixData *) x));
}
static void *_p_OpenBabel__OBCommentDataTo_p_OpenBabel__OBGenericData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBGenericData *)  ((OpenBabel::OBCommentData *) x));
}
static void *_p_OpenBabel__OBVectorDataTo_p_OpenBabel__OBGenericData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBGenericData *)  ((OpenBabel::OBVectorData *) x));
}
static void *_p_OpenBabel__OBVirtualBondTo_p_OpenBabel__OBGenericData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBGenericData *)  ((OpenBabel::OBVirtualBond *) x));
}
static void *_p_OpenBabel__OBConformerDataTo_p_OpenBabel__OBGenericData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBGenericData *)  ((OpenBabel::OBConformerData *) x));
}
static void *_p_OpenBabel__OBDOSDataTo_p_OpenBabel__OBGenericData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBGenericData *)  ((OpenBabel::OBDOSData *) x));
}
static void *_p_OpenBabel__OBGridDataTo_p_OpenBabel__OBGenericData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBGenericData *)  ((OpenBabel::OBGridData *) x));
}
static void *_p_OpenBabel__OBUnitCellTo_p_OpenBabel__OBGenericData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBGenericData *)  ((OpenBabel::OBUnitCell *) x));
}
static void *_p_OpenBabel__OBFFCalculation3To_p_OpenBabel__OBFFCalculation2(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBFFCalculation2 *)  ((OpenBabel::OBFFCalculation3 *) x));
}
static void *_p_OpenBabel__OBFFCalculation4To_p_OpenBabel__OBFFCalculation2(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBFFCalculation2 *) (OpenBabel::OBFFCalculation3 *) ((OpenBabel::OBFFCalculation4 *) x));
}
static void *_p_OpenBabel__OBFFCalculation4To_p_OpenBabel__OBFFCalculation3(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((OpenBabel::OBFFCalculation3 *)  ((OpenBabel::OBFFCalculation4 *) x));
}
static swig_type_info _swigt__p_OpMap = {"_p_OpMap", "OpMap *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_OpenBabel__AliasData = {"_p_OpenBabel__AliasData", "OpenBabel::AliasData *", 0, 0, (void*)"Chemistry::OpenBabel::AliasData", 0};
static swig_type_info _swigt__p_OpenBabel__CharPtrLess = {"_p_OpenBabel__CharPtrLess", "OpenBabel::CharPtrLess *", 0, 0, (void*)"Chemistry::OpenBabel::CharPtrLess", 0};
static swig_type_info _swigt__p_OpenBabel__DoubleType = {"_p_OpenBabel__DoubleType", "OpenBabel::DoubleType *", 0, 0, (void*)"Chemistry::OpenBabel::DoubleType", 0};
static swig_type_info _swigt__p_OpenBabel__FastSearch = {"_p_OpenBabel__FastSearch", "OpenBabel::FastSearch *", 0, 0, (void*)"Chemistry::OpenBabel::FastSearch", 0};
static swig_type_info _swigt__p_OpenBabel__FastSearchIndexer = {"_p_OpenBabel__FastSearchIndexer", "OpenBabel::FastSearchIndexer *", 0, 0, (void*)"Chemistry::OpenBabel::FastSearchIndexer", 0};
static swig_type_info _swigt__p_OpenBabel__FptIndex = {"_p_OpenBabel__FptIndex", "OpenBabel::FptIndex *", 0, 0, (void*)"Chemistry::OpenBabel::FptIndex", 0};
static swig_type_info _swigt__p_OpenBabel__FptIndexHeader = {"_p_OpenBabel__FptIndexHeader", "OpenBabel::FptIndexHeader *", 0, 0, (void*)"Chemistry::OpenBabel::FptIndexHeader", 0};
static swig_type_info _swigt__p_OpenBabel__LineSearchType = {"_p_OpenBabel__LineSearchType", "OpenBabel::LineSearchType *", 0, 0, (void*)"Chemistry::OpenBabel::LineSearchType", 0};
static swig_type_info _swigt__p_OpenBabel__OBAngle = {"_p_OpenBabel__OBAngle", "OpenBabel::OBAngle *", 0, 0, (void*)"Chemistry::OpenBabel::OBAngle", 0};
static swig_type_info _swigt__p_OpenBabel__OBAngleData = {"_p_OpenBabel__OBAngleData", "OpenBabel::OBAngleData *", 0, 0, (void*)"Chemistry::OpenBabel::OBAngleData", 0};
static swig_type_info _swigt__p_OpenBabel__OBAromaticTyper = {"_p_OpenBabel__OBAromaticTyper", "OpenBabel::OBAromaticTyper *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_OpenBabel__OBAtom = {"_p_OpenBabel__OBAtom", "OpenBabel::OBNodeBase *|OpenBabel::OBAtom *", 0, 0, (void*)"Chemistry::OpenBabel::OBAtom", 0};
static swig_type_info _swigt__p_OpenBabel__OBAtomAtomIter = {"_p_OpenBabel__OBAtomAtomIter", "OpenBabel::OBAtomAtomIter *", 0, 0, (void*)"Chemistry::OpenBabel::_OBAtomAtomIter", 0};
static swig_type_info _swigt__p_OpenBabel__OBAtomBondIter = {"_p_OpenBabel__OBAtomBondIter", "OpenBabel::OBAtomBondIter *", 0, 0, (void*)"Chemistry::OpenBabel::_OBAtomBondIter", 0};
static swig_type_info _swigt__p_OpenBabel__OBAtomClassData = {"_p_OpenBabel__OBAtomClassData", "OpenBabel::OBAtomClassData *", 0, 0, (void*)"Chemistry::OpenBabel::OBAtomClassData", 0};
static swig_type_info _swigt__p_OpenBabel__OBAtomTyper = {"_p_OpenBabel__OBAtomTyper", "OpenBabel::OBAtomTyper *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_OpenBabel__OBBase = {"_p_OpenBabel__OBBase", "OpenBabel::OBBase *", 0, 0, (void*)"Chemistry::OpenBabel::OBBase", 0};
static swig_type_info _swigt__p_OpenBabel__OBBitVec = {"_p_OpenBabel__OBBitVec", "OpenBabel::OBBitVec *", 0, 0, (void*)"Chemistry::OpenBabel::OBBitVec", 0};
static swig_type_info _swigt__p_OpenBabel__OBBond = {"_p_OpenBabel__OBBond", "OpenBabel::OBBond *|OpenBabel::OBEdgeBase *", 0, 0, (void*)"Chemistry::OpenBabel::OBBond", 0};
static swig_type_info _swigt__p_OpenBabel__OBBuilder = {"_p_OpenBabel__OBBuilder", "OpenBabel::OBBuilder *", 0, 0, (void*)"Chemistry::OpenBabel::OBBuilder", 0};
static swig_type_info _swigt__p_OpenBabel__OBChainsParser = {"_p_OpenBabel__OBChainsParser", "OpenBabel::OBChainsParser *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_OpenBabel__OBChiralData = {"_p_OpenBabel__OBChiralData", "OpenBabel::OBChiralData *", 0, 0, (void*)"Chemistry::OpenBabel::OBChiralData", 0};
static swig_type_info _swigt__p_OpenBabel__OBCommentData = {"_p_OpenBabel__OBCommentData", "OpenBabel::OBCommentData *", 0, 0, (void*)"Chemistry::OpenBabel::OBCommentData", 0};
static swig_type_info _swigt__p_OpenBabel__OBConformerData = {"_p_OpenBabel__OBConformerData", "OpenBabel::OBConformerData *", 0, 0, (void*)"Chemistry::OpenBabel::OBConformerData", 0};
static swig_type_info _swigt__p_OpenBabel__OBConversion = {"_p_OpenBabel__OBConversion", "OpenBabel::OBConversion *", 0, 0, (void*)"Chemistry::OpenBabel::OBConversion", 0};
static swig_type_info _swigt__p_OpenBabel__OBDOSData = {"_p_OpenBabel__OBDOSData", "OpenBabel::OBDOSData *", 0, 0, (void*)"Chemistry::OpenBabel::OBDOSData", 0};
static swig_type_info _swigt__p_OpenBabel__OBDescriptor = {"_p_OpenBabel__OBDescriptor", "OpenBabel::OBDescriptor *", 0, 0, (void*)"Chemistry::OpenBabel::OBDescriptor", 0};
static swig_type_info _swigt__p_OpenBabel__OBElectronicTransitionData = {"_p_OpenBabel__OBElectronicTransitionData", "OpenBabel::OBElectronicTransitionData *", 0, 0, (void*)"Chemistry::OpenBabel::OBElectronicTransitionData", 0};
static swig_type_info _swigt__p_OpenBabel__OBElement = {"_p_OpenBabel__OBElement", "OpenBabel::OBElement *", 0, 0, (void*)"Chemistry::OpenBabel::OBElement", 0};
static swig_type_info _swigt__p_OpenBabel__OBElementTable = {"_p_OpenBabel__OBElementTable", "OpenBabel::OBElementTable *", 0, 0, (void*)"Chemistry::OpenBabel::OBElementTable", 0};
static swig_type_info _swigt__p_OpenBabel__OBError = {"_p_OpenBabel__OBError", "OpenBabel::OBError *", 0, 0, (void*)"Chemistry::OpenBabel::OBError", 0};
static swig_type_info _swigt__p_OpenBabel__OBExternalBond = {"_p_OpenBabel__OBExternalBond", "OpenBabel::OBExternalBond *", 0, 0, (void*)"Chemistry::OpenBabel::OBExternalBond", 0};
static swig_type_info _swigt__p_OpenBabel__OBExternalBondData = {"_p_OpenBabel__OBExternalBondData", "OpenBabel::OBExternalBondData *", 0, 0, (void*)"Chemistry::OpenBabel::OBExternalBondData", 0};
static swig_type_info _swigt__p_OpenBabel__OBFFCalculation2 = {"_p_OpenBabel__OBFFCalculation2", "OpenBabel::OBFFCalculation2 *", 0, 0, (void*)"Chemistry::OpenBabel::OBFFCalculation2", 0};
static swig_type_info _swigt__p_OpenBabel__OBFFCalculation3 = {"_p_OpenBabel__OBFFCalculation3", "OpenBabel::OBFFCalculation3 *", 0, 0, (void*)"Chemistry::OpenBabel::OBFFCalculation3", 0};
static swig_type_info _swigt__p_OpenBabel__OBFFCalculation4 = {"_p_OpenBabel__OBFFCalculation4", "OpenBabel::OBFFCalculation4 *", 0, 0, (void*)"Chemistry::OpenBabel::OBFFCalculation4", 0};
static swig_type_info _swigt__p_OpenBabel__OBFFConstraint = {"_p_OpenBabel__OBFFConstraint", "OpenBabel::OBFFConstraint *", 0, 0, (void*)"Chemistry::OpenBabel::OBFFConstraint", 0};
static swig_type_info _swigt__p_OpenBabel__OBFFConstraints = {"_p_OpenBabel__OBFFConstraints", "OpenBabel::OBFFConstraints *", 0, 0, (void*)"Chemistry::OpenBabel::OBFFConstraints", 0};
static swig_type_info _swigt__p_OpenBabel__OBFFParameter = {"_p_OpenBabel__OBFFParameter", "OpenBabel::OBFFParameter *", 0, 0, (void*)"Chemistry::OpenBabel::OBFFParameter", 0};
static swig_type_info _swigt__p_OpenBabel__OBFingerprint = {"_p_OpenBabel__OBFingerprint", "OpenBabel::OBFingerprint *", 0, 0, (void*)"Chemistry::OpenBabel::OBFingerprint", 0};
static swig_type_info _swigt__p_OpenBabel__OBForceField = {"_p_OpenBabel__OBForceField", "OpenBabel::OBForceField *", 0, 0, (void*)"Chemistry::OpenBabel::OBForceField", 0};
static swig_type_info _swigt__p_OpenBabel__OBFormat = {"_p_OpenBabel__OBFormat", "OpenBabel::OBFormat *", 0, 0, (void*)"Chemistry::OpenBabel::OBFormat", 0};
static swig_type_info _swigt__p_OpenBabel__OBGenericData = {"_p_OpenBabel__OBGenericData", "OpenBabel::OBGenericData *", 0, 0, (void*)"Chemistry::OpenBabel::OBGenericData", 0};
static swig_type_info _swigt__p_OpenBabel__OBGlobalDataBase = {"_p_OpenBabel__OBGlobalDataBase", "OpenBabel::OBGlobalDataBase *", 0, 0, (void*)"Chemistry::OpenBabel::OBGlobalDataBase", 0};
static swig_type_info _swigt__p_OpenBabel__OBRingTyper = {"_p_OpenBabel__OBRingTyper", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_OpenBabel__OBGridData = {"_p_OpenBabel__OBGridData", "OpenBabel::OBGridData *", 0, 0, (void*)"Chemistry::OpenBabel::OBGridData", 0};
static swig_type_info _swigt__p_OpenBabel__OBInternalCoord = {"_p_OpenBabel__OBInternalCoord", "OpenBabel::OBInternalCoord *", 0, 0, (void*)"Chemistry::OpenBabel::OBInternalCoord", 0};
static swig_type_info _swigt__p_OpenBabel__OBIsotopeTable = {"_p_OpenBabel__OBIsotopeTable", "OpenBabel::OBIsotopeTable *", 0, 0, (void*)"Chemistry::OpenBabel::OBIsotopeTable", 0};
static swig_type_info _swigt__p_OpenBabel__OBMatrixData = {"_p_OpenBabel__OBMatrixData", "OpenBabel::OBMatrixData *", 0, 0, (void*)"Chemistry::OpenBabel::OBMatrixData", 0};
static swig_type_info _swigt__p_OpenBabel__OBMessageHandler = {"_p_OpenBabel__OBMessageHandler", "OpenBabel::OBMessageHandler *", 0, 0, (void*)"Chemistry::OpenBabel::OBMessageHandler", 0};
static swig_type_info _swigt__p_OpenBabel__OBMol = {"_p_OpenBabel__OBMol", "OpenBabel::OBMol *", 0, 0, (void*)"Chemistry::OpenBabel::OBMol", 0};
static swig_type_info _swigt__p_OpenBabel__OBMolAngleIter = {"_p_OpenBabel__OBMolAngleIter", "OpenBabel::OBMolAngleIter *", 0, 0, (void*)"Chemistry::OpenBabel::_OBMolAngleIter", 0};
static swig_type_info _swigt__p_OpenBabel__OBMolAtomBFSIter = {"_p_OpenBabel__OBMolAtomBFSIter", "OpenBabel::OBMolAtomBFSIter *", 0, 0, (void*)"Chemistry::OpenBabel::_OBMolAtomBFSIter", 0};
static swig_type_info _swigt__p_OpenBabel__OBMolAtomDFSIter = {"_p_OpenBabel__OBMolAtomDFSIter", "OpenBabel::OBMolAtomDFSIter *", 0, 0, (void*)"Chemistry::OpenBabel::_OBMolAtomDFSIter", 0};
static swig_type_info _swigt__p_OpenBabel__OBMolAtomIter = {"_p_OpenBabel__OBMolAtomIter", "OpenBabel::OBMolAtomIter *", 0, 0, (void*)"Chemistry::OpenBabel::_OBMolAtomIter", 0};
static swig_type_info _swigt__p_OpenBabel__OBMolBondBFSIter = {"_p_OpenBabel__OBMolBondBFSIter", "OpenBabel::OBMolBondBFSIter *", 0, 0, (void*)"Chemistry::OpenBabel::OBMolBondBFSIter", 0};
static swig_type_info _swigt__p_OpenBabel__OBMolBondIter = {"_p_OpenBabel__OBMolBondIter", "OpenBabel::OBMolBondIter *", 0, 0, (void*)"Chemistry::OpenBabel::_OBMolBondIter", 0};
static swig_type_info _swigt__p_OpenBabel__OBMolPairIter = {"_p_OpenBabel__OBMolPairIter", "OpenBabel::OBMolPairIter *", 0, 0, (void*)"Chemistry::OpenBabel::_OBMolPairIter", 0};
static swig_type_info _swigt__p_OpenBabel__OBMolRingIter = {"_p_OpenBabel__OBMolRingIter", "OpenBabel::OBMolRingIter *", 0, 0, (void*)"Chemistry::OpenBabel::_OBMolRingIter", 0};
static swig_type_info _swigt__p_OpenBabel__OBMolTorsionIter = {"_p_OpenBabel__OBMolTorsionIter", "OpenBabel::OBMolTorsionIter *", 0, 0, (void*)"Chemistry::OpenBabel::_OBMolTorsionIter", 0};
static swig_type_info _swigt__p_OpenBabel__OBNasaThermoData = {"_p_OpenBabel__OBNasaThermoData", "OpenBabel::OBNasaThermoData *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_OpenBabel__OBOp = {"_p_OpenBabel__OBOp", "OpenBabel::OBOp *", 0, 0, (void*)"Chemistry::OpenBabel::OBOp", 0};
static swig_type_info _swigt__p_OpenBabel__OBOrbital = {"_p_OpenBabel__OBOrbital", "OpenBabel::OBOrbital *", 0, 0, (void*)"Chemistry::OpenBabel::OBOrbital", 0};
static swig_type_info _swigt__p_OpenBabel__OBOrbitalData = {"_p_OpenBabel__OBOrbitalData", "OpenBabel::OBOrbitalData *", 0, 0, (void*)"Chemistry::OpenBabel::OBOrbitalData", 0};
static swig_type_info _swigt__p_OpenBabel__OBPairData = {"_p_OpenBabel__OBPairData", "OpenBabel::OBPairData *", 0, 0, (void*)"Chemistry::OpenBabel::OBPairData", 0};
static swig_type_info _swigt__p_OpenBabel__OBPairTemplateT_double_t = {"_p_OpenBabel__OBPairTemplateT_double_t", "OpenBabel::OBPairFloatingPoint *|OpenBabel::OBPairTemplate< double > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_OpenBabel__OBPairTemplateT_int_t = {"_p_OpenBabel__OBPairTemplateT_int_t", "OpenBabel::OBPairInteger *|OpenBabel::OBPairTemplate< int > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_OpenBabel__OBPlugin = {"_p_OpenBabel__OBPlugin", "OpenBabel::OBPlugin *", 0, 0, (void*)"Chemistry::OpenBabel::OBPlugin", 0};
static swig_type_info _swigt__p_OpenBabel__OBPlugin__PluginMapType__const_iterator = {"_p_OpenBabel__OBPlugin__PluginMapType__const_iterator", "OpenBabel::OBPlugin::PluginMapType::const_iterator *|OpenBabel::OBPlugin::PluginIterator *|OpenBabel::Formatpos *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_OpenBabel__OBRTree = {"_p_OpenBabel__OBRTree", "OpenBabel::OBRTree *", 0, 0, (void*)"Chemistry::OpenBabel::OBRTree", 0};
static swig_type_info _swigt__p_OpenBabel__OBRandom = {"_p_OpenBabel__OBRandom", "OpenBabel::OBRandom *", 0, 0, (void*)"Chemistry::OpenBabel::OBRandom", 0};
static swig_type_info _swigt__p_OpenBabel__OBRateData = {"_p_OpenBabel__OBRateData", "OpenBabel::OBRateData *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_OpenBabel__OBResidue = {"_p_OpenBabel__OBResidue", "OpenBabel::OBResidue *", 0, 0, (void*)"Chemistry::OpenBabel::OBResidue", 0};
static swig_type_info _swigt__p_OpenBabel__OBResidueAtomIter = {"_p_OpenBabel__OBResidueAtomIter", "OpenBabel::OBResidueAtomIter *", 0, 0, (void*)"Chemistry::OpenBabel::_OBResidueAtomIter", 0};
static swig_type_info _swigt__p_OpenBabel__OBResidueData = {"_p_OpenBabel__OBResidueData", "OpenBabel::OBResidueData *", 0, 0, (void*)"Chemistry::OpenBabel::OBResidueData", 0};
static swig_type_info _swigt__p_OpenBabel__OBResidueIter = {"_p_OpenBabel__OBResidueIter", "OpenBabel::OBResidueIter *", 0, 0, (void*)"Chemistry::OpenBabel::OBResidueIter", 0};
static swig_type_info _swigt__p_OpenBabel__OBRing = {"_p_OpenBabel__OBRing", "OpenBabel::OBRing *", 0, 0, (void*)"Chemistry::OpenBabel::OBRing", 0};
static swig_type_info _swigt__p_OpenBabel__OBRingData = {"_p_OpenBabel__OBRingData", "OpenBabel::OBRingData *", 0, 0, (void*)"Chemistry::OpenBabel::OBRingData", 0};
static swig_type_info _swigt__p_OpenBabel__OBRingSearch = {"_p_OpenBabel__OBRingSearch", "OpenBabel::OBRingSearch *", 0, 0, (void*)"Chemistry::OpenBabel::OBRingSearch", 0};
static swig_type_info _swigt__p_OpenBabel__OBRotamerList = {"_p_OpenBabel__OBRotamerList", "OpenBabel::OBRotamerList *", 0, 0, (void*)"Chemistry::OpenBabel::OBRotamerList", 0};
static swig_type_info _swigt__p_OpenBabel__OBRotationData = {"_p_OpenBabel__OBRotationData", "OpenBabel::OBRotationData *", 0, 0, (void*)"Chemistry::OpenBabel::OBRotationData", 0};
static swig_type_info _swigt__p_OpenBabel__OBRotor = {"_p_OpenBabel__OBRotor", "OpenBabel::OBRotor *", 0, 0, (void*)"Chemistry::OpenBabel::OBRotor", 0};
static swig_type_info _swigt__p_OpenBabel__OBRotorKeys = {"_p_OpenBabel__OBRotorKeys", "OpenBabel::OBRotorKeys *", 0, 0, (void*)"Chemistry::OpenBabel::OBRotorKeys", 0};
static swig_type_info _swigt__p_OpenBabel__OBRotorList = {"_p_OpenBabel__OBRotorList", "OpenBabel::OBRotorList *", 0, 0, (void*)"Chemistry::OpenBabel::OBRotorList", 0};
static swig_type_info _swigt__p_OpenBabel__OBRotorRule = {"_p_OpenBabel__OBRotorRule", "OpenBabel::OBRotorRule *", 0, 0, (void*)"Chemistry::OpenBabel::OBRotorRule", 0};
static swig_type_info _swigt__p_OpenBabel__OBRotorRules = {"_p_OpenBabel__OBRotorRules", "OpenBabel::OBRotorRules *", 0, 0, (void*)"Chemistry::OpenBabel::OBRotorRules", 0};
static swig_type_info _swigt__p_OpenBabel__OBSSMatch = {"_p_OpenBabel__OBSSMatch", "OpenBabel::OBSSMatch *", 0, 0, (void*)"Chemistry::OpenBabel::OBSSMatch", 0};
static swig_type_info _swigt__p_OpenBabel__OBSerialNums = {"_p_OpenBabel__OBSerialNums", "OpenBabel::OBSerialNums *", 0, 0, (void*)"Chemistry::OpenBabel::OBSerialNums", 0};
static swig_type_info _swigt__p_OpenBabel__OBSetData = {"_p_OpenBabel__OBSetData", "OpenBabel::OBSetData *", 0, 0, (void*)"Chemistry::OpenBabel::OBSetData", 0};
static swig_type_info _swigt__p_OpenBabel__OBSmartsMatcher = {"_p_OpenBabel__OBSmartsMatcher", "OpenBabel::OBSmartsMatcher *", 0, 0, (void*)"Chemistry::OpenBabel::OBSmartsMatcher", 0};
static swig_type_info _swigt__p_OpenBabel__OBSmartsPattern = {"_p_OpenBabel__OBSmartsPattern", "OpenBabel::OBSmartsPattern *", 0, 0, (void*)"Chemistry::OpenBabel::OBSmartsPattern", 0};
static swig_type_info _swigt__p_OpenBabel__OBSqrtTbl = {"_p_OpenBabel__OBSqrtTbl", "OpenBabel::OBSqrtTbl *", 0, 0, (void*)"Chemistry::OpenBabel::OBSqrtTbl", 0};
static swig_type_info _swigt__p_OpenBabel__OBStopwatch = {"_p_OpenBabel__OBStopwatch", "OpenBabel::OBStopwatch *", 0, 0, (void*)"Chemistry::OpenBabel::OBStopwatch", 0};
static swig_type_info _swigt__p_OpenBabel__OBSymmetryData = {"_p_OpenBabel__OBSymmetryData", "OpenBabel::OBSymmetryData *", 0, 0, (void*)"Chemistry::OpenBabel::OBSymmetryData", 0};
static swig_type_info _swigt__p_OpenBabel__OBTorsion = {"_p_OpenBabel__OBTorsion", "OpenBabel::OBTorsion *", 0, 0, (void*)"Chemistry::OpenBabel::OBTorsion", 0};
static swig_type_info _swigt__p_OpenBabel__OBTorsionData = {"_p_OpenBabel__OBTorsionData", "OpenBabel::OBTorsionData *", 0, 0, (void*)"Chemistry::OpenBabel::OBTorsionData", 0};
static swig_type_info _swigt__p_OpenBabel__OBTypeTable = {"_p_OpenBabel__OBTypeTable", "OpenBabel::OBTypeTable *", 0, 0, (void*)"Chemistry::OpenBabel::OBTypeTable", 0};
static swig_type_info _swigt__p_OpenBabel__OBUnitCell = {"_p_OpenBabel__OBUnitCell", "OpenBabel::OBUnitCell *", 0, 0, (void*)"Chemistry::OpenBabel::OBUnitCell", 0};
static swig_type_info _swigt__p_OpenBabel__OBVectorData = {"_p_OpenBabel__OBVectorData", "OpenBabel::OBVectorData *", 0, 0, (void*)"Chemistry::OpenBabel::OBVectorData", 0};
static swig_type_info _swigt__p_OpenBabel__OBVibrationData = {"_p_OpenBabel__OBVibrationData", "OpenBabel::OBVibrationData *", 0, 0, (void*)"Chemistry::OpenBabel::OBVibrationData", 0};
static swig_type_info _swigt__p_OpenBabel__OBVirtualBond = {"_p_OpenBabel__OBVirtualBond", "OpenBabel::OBVirtualBond *", 0, 0, (void*)"Chemistry::OpenBabel::OBVirtualBond", 0};
static swig_type_info _swigt__p_OpenBabel__Pattern = {"_p_OpenBabel__Pattern", "OpenBabel::Pattern *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_OpenBabel__SpaceGroup = {"_p_OpenBabel__SpaceGroup", "OpenBabel::SpaceGroup *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_OpenBabel__Template = {"_p_OpenBabel__Template", "OpenBabel::Template *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_OpenBabel__matrix3x3 = {"_p_OpenBabel__matrix3x3", "OpenBabel::matrix3x3 *", 0, 0, (void*)"Chemistry::OpenBabel::matrix3x3", 0};
static swig_type_info _swigt__p_OpenBabel__obLogBuf = {"_p_OpenBabel__obLogBuf", "OpenBabel::obLogBuf *", 0, 0, (void*)"Chemistry::OpenBabel::obLogBuf", 0};
static swig_type_info _swigt__p_OpenBabel__quadT_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_t = {"_p_OpenBabel__quadT_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_t", "OpenBabel::quad< OpenBabel::OBAtom *,OpenBabel::OBAtom *,OpenBabel::OBAtom *,OpenBabel::OBAtom * > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_OpenBabel__rotor_digit = {"_p_OpenBabel__rotor_digit", "OpenBabel::rotor_digit *", 0, 0, (void*)"Chemistry::OpenBabel::rotor_digit", 0};
static swig_type_info _swigt__p_OpenBabel__tripleT_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_t = {"_p_OpenBabel__tripleT_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_t", "OpenBabel::triple< OpenBabel::OBAtom *,OpenBabel::OBAtom *,OpenBabel::OBAtom * > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_OpenBabel__vector3 = {"_p_OpenBabel__vector3", "OpenBabel::vector3 *", 0, 0, (void*)"Chemistry::OpenBabel::vector3", 0};
static swig_type_info _swigt__p_PluginIterator = {"_p_PluginIterator", "PluginIterator *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_PluginMapType = {"_p_PluginMapType", "PluginMapType *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Unit = {"_p_Unit", "Unit *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_a_3__double = {"_p_a_3__double", "double (*)[3]", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_a_4__char = {"_p_a_4__char", "char (*)[4]", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_OpenBabel__OBDescriptor = {"_p_p_OpenBabel__OBDescriptor", "OpenBabel::OBDescriptor **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_OpenBabel__OBFingerprint = {"_p_p_OpenBabel__OBFingerprint", "OpenBabel::OBFingerprint **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_OpenBabel__OBForceField = {"_p_p_OpenBabel__OBForceField", "OpenBabel::OBForceField **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_OpenBabel__OBFormat = {"_p_p_OpenBabel__OBFormat", "OpenBabel::OBFormat **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_OpenBabel__OBOp = {"_p_p_OpenBabel__OBOp", "OpenBabel::OBOp **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_double = {"_p_p_double", "double **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_int = {"_p_p_int", "int **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__binary_functionT_char_const_p_char_const_p_bool_t = {"_p_std__binary_functionT_char_const_p_char_const_p_bool_t", "std::binary_function< char const *,char const *,bool > *", 0, 0, (void*)"Chemistry::OpenBabel::Dummy", 0};
static swig_type_info _swigt__p_std__dequeT_int_t = {"_p_std__dequeT_int_t", "std::deque< int > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__istream = {"_p_std__istream", "std::istream *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__mapT_char_const_p_OpenBabel__OBPlugin_p_OpenBabel__CharPtrLess_t = {"_p_std__mapT_char_const_p_OpenBabel__OBPlugin_p_OpenBabel__CharPtrLess_t", "OpenBabel::OBPlugin::PluginMapType *|std::map< char const *,OpenBabel::OBPlugin *,OpenBabel::CharPtrLess > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__mapT_int_OpenBabel__OBAtom_p_t = {"_p_std__mapT_int_OpenBabel__OBAtom_p_t", "std::map< int,OpenBabel::OBAtom * > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__mapT_std__string_std__string_t = {"_p_std__mapT_std__string_std__string_t", "std::map< std::string,std::string > *|OpenBabel::OBOp::OpMap *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__multimapT_double_unsigned_int_t = {"_p_std__multimapT_double_unsigned_int_t", "std::multimap< double,unsigned int > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__ostream = {"_p_std__ostream", "std::ostream *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__out_of_range = {"_p_std__out_of_range", "std::out_of_range *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__pairT_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_t = {"_p_std__pairT_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_t", "std::pair< OpenBabel::OBAtom *,OpenBabel::OBAtom * > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__pairT_std__string_std__string_t = {"_p_std__pairT_std__string_std__string_t", "std::pair< std::string,std::string > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__streampos = {"_p_std__streampos", "std::streampos *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__string = {"_p_std__string", "std::string *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__stringbuf = {"_p_std__stringbuf", "std::stringbuf *", 0, 0, (void*)"Chemistry::OpenBabel::stringbuf", 0};
static swig_type_info _swigt__p_std__type_info = {"_p_std__type_info", "std::type_info *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_OpenBabel__OBAtom_p_t = {"_p_std__vectorT_OpenBabel__OBAtom_p_t", "std::vector< OpenBabel::OBAtom * > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_OpenBabel__OBAtom_p_t__iterator = {"_p_std__vectorT_OpenBabel__OBAtom_p_t__iterator", "std::vector< OpenBabel::OBAtom * >::iterator *|OpenBabel::OBAtomIterator *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_OpenBabel__OBBase_p_t = {"_p_std__vectorT_OpenBabel__OBBase_p_t", "std::vector< OpenBabel::OBBase * > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_OpenBabel__OBBond_p_t = {"_p_std__vectorT_OpenBabel__OBBond_p_t", "std::vector< OpenBabel::OBBond * > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_OpenBabel__OBBond_p_t__iterator = {"_p_std__vectorT_OpenBabel__OBBond_p_t__iterator", "std::vector< OpenBabel::OBBond * >::iterator *|OpenBabel::OBBondIterator *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_OpenBabel__OBBond_t = {"_p_std__vectorT_OpenBabel__OBBond_t", "std::vector< OpenBabel::OBBond > *", 0, 0, (void*)"Chemistry::OpenBabel::VectorOBBond", 0};
static swig_type_info _swigt__p_std__vectorT_OpenBabel__OBExternalBond_t = {"_p_std__vectorT_OpenBabel__OBExternalBond_t", "std::vector< OpenBabel::OBExternalBond > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_OpenBabel__OBGenericData_p_t = {"_p_std__vectorT_OpenBabel__OBGenericData_p_t", "std::vector< OpenBabel::OBGenericData * > *", 0, 0, (void*)"Chemistry::OpenBabel::VectorpOBGenericData", 0};
static swig_type_info _swigt__p_std__vectorT_OpenBabel__OBGenericData_p_t__iterator = {"_p_std__vectorT_OpenBabel__OBGenericData_p_t__iterator", "OpenBabel::OBDataIterator *|std::vector< OpenBabel::OBGenericData * >::iterator *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_OpenBabel__OBInternalCoord_p_t = {"_p_std__vectorT_OpenBabel__OBInternalCoord_p_t", "std::vector< OpenBabel::OBInternalCoord * > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_OpenBabel__OBInternalCoord_p_t__iterator = {"_p_std__vectorT_OpenBabel__OBInternalCoord_p_t__iterator", "std::vector< OpenBabel::OBInternalCoord * >::iterator *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_OpenBabel__OBMol_t = {"_p_std__vectorT_OpenBabel__OBMol_t", "std::vector< OpenBabel::OBMol > *", 0, 0, (void*)"Chemistry::OpenBabel::VectorOBMol", 0};
static swig_type_info _swigt__p_std__vectorT_OpenBabel__OBOrbital_t = {"_p_std__vectorT_OpenBabel__OBOrbital_t", "std::vector< OpenBabel::OBOrbital > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_OpenBabel__OBResidue_p_t__iterator = {"_p_std__vectorT_OpenBabel__OBResidue_p_t__iterator", "std::vector< OpenBabel::OBResidue * >::iterator *|OpenBabel::OBResidueIterator *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_OpenBabel__OBResidue_t = {"_p_std__vectorT_OpenBabel__OBResidue_t", "std::vector< OpenBabel::OBResidue > *", 0, 0, (void*)"Chemistry::OpenBabel::VectorOBResidue", 0};
static swig_type_info _swigt__p_std__vectorT_OpenBabel__OBRing_p_t = {"_p_std__vectorT_OpenBabel__OBRing_p_t", "std::vector< OpenBabel::OBRing * > *", 0, 0, (void*)"Chemistry::OpenBabel::VectorpOBRing", 0};
static swig_type_info _swigt__p_std__vectorT_OpenBabel__OBRing_p_t__iterator = {"_p_std__vectorT_OpenBabel__OBRing_p_t__iterator", "std::vector< OpenBabel::OBRing * >::iterator *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_OpenBabel__OBRing_t = {"_p_std__vectorT_OpenBabel__OBRing_t", "std::vector< OpenBabel::OBRing > *", 0, 0, (void*)"Chemistry::OpenBabel::VectorOBRing", 0};
static swig_type_info _swigt__p_std__vectorT_OpenBabel__OBRotor_p_t__iterator = {"_p_std__vectorT_OpenBabel__OBRotor_p_t__iterator", "std::vector< OpenBabel::OBRotor * >::iterator *|OpenBabel::OBRotorIterator *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_OpenBabel__OBTorsion_t = {"_p_std__vectorT_OpenBabel__OBTorsion_t", "std::vector< OpenBabel::OBTorsion > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_OpenBabel__tripleT_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_double_t_t = {"_p_std__vectorT_OpenBabel__tripleT_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_double_t_t", "std::vector< OpenBabel::triple< OpenBabel::OBAtom *,OpenBabel::OBAtom *,double > > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_OpenBabel__vector3_t = {"_p_std__vectorT_OpenBabel__vector3_t", "std::vector< OpenBabel::vector3 > *", 0, 0, (void*)"Chemistry::OpenBabel::VectorVector3", 0};
static swig_type_info _swigt__p_std__vectorT_double_p_t = {"_p_std__vectorT_double_p_t", "std::vector< double * > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_double_p_t__iterator = {"_p_std__vectorT_double_p_t__iterator", "std::vector< double * >::iterator *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_double_t = {"_p_std__vectorT_double_t", "std::vector< double > *", 0, 0, (void*)"Chemistry::OpenBabel::VectorDouble", 0};
static swig_type_info _swigt__p_std__vectorT_double_t__iterator = {"_p_std__vectorT_double_t__iterator", "std::vector< double >::iterator *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_int_t = {"_p_std__vectorT_int_t", "std::vector< int > *", 0, 0, (void*)"Chemistry::OpenBabel::VectorInt", 0};
static swig_type_info _swigt__p_std__vectorT_std__pairT_int_int_t_t = {"_p_std__vectorT_std__pairT_int_int_t_t", "std::vector< std::pair< int,int > > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_std__pairT_std__string_std__string_t_t = {"_p_std__vectorT_std__pairT_std__string_std__string_t_t", "std::vector< std::pair< std::string,std::string > > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_std__string_t = {"_p_std__vectorT_std__string_t", "std::vector< std::string > *", 0, 0, (void*)"Chemistry::OpenBabel::VectorString", 0};
static swig_type_info _swigt__p_std__vectorT_std__vectorT_OpenBabel__vector3_t_t = {"_p_std__vectorT_std__vectorT_OpenBabel__vector3_t_t", "std::vector< std::vector< OpenBabel::vector3 > > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_std__vectorT_int_t_t = {"_p_std__vectorT_std__vectorT_int_t_t", "std::vector< std::vector< int > > *", 0, 0, (void*)"Chemistry::OpenBabel::VectorVInt", 0};
static swig_type_info _swigt__p_std__vectorT_std__vectorT_int_t_t__iterator = {"_p_std__vectorT_std__vectorT_int_t_t__iterator", "std::vector< std::vector< int > >::iterator *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_std__vectorT_unsigned_int_t_t = {"_p_std__vectorT_std__vectorT_unsigned_int_t_t", "std::vector< std::vector< unsigned int > > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_unsigned_char_p_t__iterator = {"_p_std__vectorT_unsigned_char_p_t__iterator", "std::vector< unsigned char * >::iterator *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_unsigned_int_t = {"_p_std__vectorT_unsigned_int_t", "std::vector< unsigned int > *|OpenBabel::OBBitVec::word_vector *", 0, 0, (void*)"Chemistry::OpenBabel::VectorUnsignedInt", 0};
static swig_type_info _swigt__p_std__vectorT_unsigned_short_t = {"_p_std__vectorT_unsigned_short_t", "std::vector< unsigned short > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_word_vector = {"_p_word_vector", "word_vector *", 0, 0, (void*)0, 0};

static swig_type_info *swig_type_initial[] = {
  &_swigt__p_OpMap,
  &_swigt__p_OpenBabel__AliasData,
  &_swigt__p_OpenBabel__CharPtrLess,
  &_swigt__p_OpenBabel__DoubleType,
  &_swigt__p_OpenBabel__FastSearch,
  &_swigt__p_OpenBabel__FastSearchIndexer,
  &_swigt__p_OpenBabel__FptIndex,
  &_swigt__p_OpenBabel__FptIndexHeader,
  &_swigt__p_OpenBabel__LineSearchType,
  &_swigt__p_OpenBabel__OBAngle,
  &_swigt__p_OpenBabel__OBAngleData,
  &_swigt__p_OpenBabel__OBAromaticTyper,
  &_swigt__p_OpenBabel__OBAtom,
  &_swigt__p_OpenBabel__OBAtomAtomIter,
  &_swigt__p_OpenBabel__OBAtomBondIter,
  &_swigt__p_OpenBabel__OBAtomClassData,
  &_swigt__p_OpenBabel__OBAtomTyper,
  &_swigt__p_OpenBabel__OBBase,
  &_swigt__p_OpenBabel__OBBitVec,
  &_swigt__p_OpenBabel__OBBond,
  &_swigt__p_OpenBabel__OBBuilder,
  &_swigt__p_OpenBabel__OBChainsParser,
  &_swigt__p_OpenBabel__OBChiralData,
  &_swigt__p_OpenBabel__OBCommentData,
  &_swigt__p_OpenBabel__OBConformerData,
  &_swigt__p_OpenBabel__OBConversion,
  &_swigt__p_OpenBabel__OBDOSData,
  &_swigt__p_OpenBabel__OBDescriptor,
  &_swigt__p_OpenBabel__OBElectronicTransitionData,
  &_swigt__p_OpenBabel__OBElement,
  &_swigt__p_OpenBabel__OBElementTable,
  &_swigt__p_OpenBabel__OBError,
  &_swigt__p_OpenBabel__OBExternalBond,
  &_swigt__p_OpenBabel__OBExternalBondData,
  &_swigt__p_OpenBabel__OBFFCalculation2,
  &_swigt__p_OpenBabel__OBFFCalculation3,
  &_swigt__p_OpenBabel__OBFFCalculation4,
  &_swigt__p_OpenBabel__OBFFConstraint,
  &_swigt__p_OpenBabel__OBFFConstraints,
  &_swigt__p_OpenBabel__OBFFParameter,
  &_swigt__p_OpenBabel__OBFingerprint,
  &_swigt__p_OpenBabel__OBForceField,
  &_swigt__p_OpenBabel__OBFormat,
  &_swigt__p_OpenBabel__OBGenericData,
  &_swigt__p_OpenBabel__OBGlobalDataBase,
  &_swigt__p_OpenBabel__OBGridData,
  &_swigt__p_OpenBabel__OBInternalCoord,
  &_swigt__p_OpenBabel__OBIsotopeTable,
  &_swigt__p_OpenBabel__OBMatrixData,
  &_swigt__p_OpenBabel__OBMessageHandler,
  &_swigt__p_OpenBabel__OBMol,
  &_swigt__p_OpenBabel__OBMolAngleIter,
  &_swigt__p_OpenBabel__OBMolAtomBFSIter,
  &_swigt__p_OpenBabel__OBMolAtomDFSIter,
  &_swigt__p_OpenBabel__OBMolAtomIter,
  &_swigt__p_OpenBabel__OBMolBondBFSIter,
  &_swigt__p_OpenBabel__OBMolBondIter,
  &_swigt__p_OpenBabel__OBMolPairIter,
  &_swigt__p_OpenBabel__OBMolRingIter,
  &_swigt__p_OpenBabel__OBMolTorsionIter,
  &_swigt__p_OpenBabel__OBNasaThermoData,
  &_swigt__p_OpenBabel__OBOp,
  &_swigt__p_OpenBabel__OBOrbital,
  &_swigt__p_OpenBabel__OBOrbitalData,
  &_swigt__p_OpenBabel__OBPairData,
  &_swigt__p_OpenBabel__OBPairTemplateT_double_t,
  &_swigt__p_OpenBabel__OBPairTemplateT_int_t,
  &_swigt__p_OpenBabel__OBPlugin,
  &_swigt__p_OpenBabel__OBPlugin__PluginMapType__const_iterator,
  &_swigt__p_OpenBabel__OBRTree,
  &_swigt__p_OpenBabel__OBRandom,
  &_swigt__p_OpenBabel__OBRateData,
  &_swigt__p_OpenBabel__OBResidue,
  &_swigt__p_OpenBabel__OBResidueAtomIter,
  &_swigt__p_OpenBabel__OBResidueData,
  &_swigt__p_OpenBabel__OBResidueIter,
  &_swigt__p_OpenBabel__OBRing,
  &_swigt__p_OpenBabel__OBRingData,
  &_swigt__p_OpenBabel__OBRingSearch,
  &_swigt__p_OpenBabel__OBRingTyper,
  &_swigt__p_OpenBabel__OBRotamerList,
  &_swigt__p_OpenBabel__OBRotationData,
  &_swigt__p_OpenBabel__OBRotor,
  &_swigt__p_OpenBabel__OBRotorKeys,
  &_swigt__p_OpenBabel__OBRotorList,
  &_swigt__p_OpenBabel__OBRotorRule,
  &_swigt__p_OpenBabel__OBRotorRules,
  &_swigt__p_OpenBabel__OBSSMatch,
  &_swigt__p_OpenBabel__OBSerialNums,
  &_swigt__p_OpenBabel__OBSetData,
  &_swigt__p_OpenBabel__OBSmartsMatcher,
  &_swigt__p_OpenBabel__OBSmartsPattern,
  &_swigt__p_OpenBabel__OBSqrtTbl,
  &_swigt__p_OpenBabel__OBStopwatch,
  &_swigt__p_OpenBabel__OBSymmetryData,
  &_swigt__p_OpenBabel__OBTorsion,
  &_swigt__p_OpenBabel__OBTorsionData,
  &_swigt__p_OpenBabel__OBTypeTable,
  &_swigt__p_OpenBabel__OBUnitCell,
  &_swigt__p_OpenBabel__OBVectorData,
  &_swigt__p_OpenBabel__OBVibrationData,
  &_swigt__p_OpenBabel__OBVirtualBond,
  &_swigt__p_OpenBabel__Pattern,
  &_swigt__p_OpenBabel__SpaceGroup,
  &_swigt__p_OpenBabel__Template,
  &_swigt__p_OpenBabel__matrix3x3,
  &_swigt__p_OpenBabel__obLogBuf,
  &_swigt__p_OpenBabel__quadT_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_t,
  &_swigt__p_OpenBabel__rotor_digit,
  &_swigt__p_OpenBabel__tripleT_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_t,
  &_swigt__p_OpenBabel__vector3,
  &_swigt__p_PluginIterator,
  &_swigt__p_PluginMapType,
  &_swigt__p_Unit,
  &_swigt__p_a_3__double,
  &_swigt__p_a_4__char,
  &_swigt__p_char,
  &_swigt__p_double,
  &_swigt__p_int,
  &_swigt__p_p_OpenBabel__OBDescriptor,
  &_swigt__p_p_OpenBabel__OBFingerprint,
  &_swigt__p_p_OpenBabel__OBForceField,
  &_swigt__p_p_OpenBabel__OBFormat,
  &_swigt__p_p_OpenBabel__OBOp,
  &_swigt__p_p_double,
  &_swigt__p_p_int,
  &_swigt__p_std__binary_functionT_char_const_p_char_const_p_bool_t,
  &_swigt__p_std__dequeT_int_t,
  &_swigt__p_std__istream,
  &_swigt__p_std__mapT_char_const_p_OpenBabel__OBPlugin_p_OpenBabel__CharPtrLess_t,
  &_swigt__p_std__mapT_int_OpenBabel__OBAtom_p_t,
  &_swigt__p_std__mapT_std__string_std__string_t,
  &_swigt__p_std__multimapT_double_unsigned_int_t,
  &_swigt__p_std__ostream,
  &_swigt__p_std__out_of_range,
  &_swigt__p_std__pairT_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_t,
  &_swigt__p_std__pairT_std__string_std__string_t,
  &_swigt__p_std__streampos,
  &_swigt__p_std__string,
  &_swigt__p_std__stringbuf,
  &_swigt__p_std__type_info,
  &_swigt__p_std__vectorT_OpenBabel__OBAtom_p_t,
  &_swigt__p_std__vectorT_OpenBabel__OBAtom_p_t__iterator,
  &_swigt__p_std__vectorT_OpenBabel__OBBase_p_t,
  &_swigt__p_std__vectorT_OpenBabel__OBBond_p_t,
  &_swigt__p_std__vectorT_OpenBabel__OBBond_p_t__iterator,
  &_swigt__p_std__vectorT_OpenBabel__OBBond_t,
  &_swigt__p_std__vectorT_OpenBabel__OBExternalBond_t,
  &_swigt__p_std__vectorT_OpenBabel__OBGenericData_p_t,
  &_swigt__p_std__vectorT_OpenBabel__OBGenericData_p_t__iterator,
  &_swigt__p_std__vectorT_OpenBabel__OBInternalCoord_p_t,
  &_swigt__p_std__vectorT_OpenBabel__OBInternalCoord_p_t__iterator,
  &_swigt__p_std__vectorT_OpenBabel__OBMol_t,
  &_swigt__p_std__vectorT_OpenBabel__OBOrbital_t,
  &_swigt__p_std__vectorT_OpenBabel__OBResidue_p_t__iterator,
  &_swigt__p_std__vectorT_OpenBabel__OBResidue_t,
  &_swigt__p_std__vectorT_OpenBabel__OBRing_p_t,
  &_swigt__p_std__vectorT_OpenBabel__OBRing_p_t__iterator,
  &_swigt__p_std__vectorT_OpenBabel__OBRing_t,
  &_swigt__p_std__vectorT_OpenBabel__OBRotor_p_t__iterator,
  &_swigt__p_std__vectorT_OpenBabel__OBTorsion_t,
  &_swigt__p_std__vectorT_OpenBabel__tripleT_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_double_t_t,
  &_swigt__p_std__vectorT_OpenBabel__vector3_t,
  &_swigt__p_std__vectorT_double_p_t,
  &_swigt__p_std__vectorT_double_p_t__iterator,
  &_swigt__p_std__vectorT_double_t,
  &_swigt__p_std__vectorT_double_t__iterator,
  &_swigt__p_std__vectorT_int_t,
  &_swigt__p_std__vectorT_std__pairT_int_int_t_t,
  &_swigt__p_std__vectorT_std__pairT_std__string_std__string_t_t,
  &_swigt__p_std__vectorT_std__string_t,
  &_swigt__p_std__vectorT_std__vectorT_OpenBabel__vector3_t_t,
  &_swigt__p_std__vectorT_std__vectorT_int_t_t,
  &_swigt__p_std__vectorT_std__vectorT_int_t_t__iterator,
  &_swigt__p_std__vectorT_std__vectorT_unsigned_int_t_t,
  &_swigt__p_std__vectorT_unsigned_char_p_t__iterator,
  &_swigt__p_std__vectorT_unsigned_int_t,
  &_swigt__p_std__vectorT_unsigned_short_t,
  &_swigt__p_unsigned_char,
  &_swigt__p_unsigned_int,
  &_swigt__p_void,
  &_swigt__p_word_vector,
};

static swig_cast_info _swigc__p_OpMap[] = {  {&_swigt__p_OpMap, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__AliasData[] = {  {&_swigt__p_OpenBabel__AliasData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__CharPtrLess[] = {  {&_swigt__p_OpenBabel__CharPtrLess, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__DoubleType[] = {  {&_swigt__p_OpenBabel__DoubleType, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__FastSearch[] = {  {&_swigt__p_OpenBabel__FastSearch, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__FastSearchIndexer[] = {  {&_swigt__p_OpenBabel__FastSearchIndexer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__FptIndex[] = {  {&_swigt__p_OpenBabel__FptIndex, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__FptIndexHeader[] = {  {&_swigt__p_OpenBabel__FptIndexHeader, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__LineSearchType[] = {  {&_swigt__p_OpenBabel__LineSearchType, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBAngle[] = {  {&_swigt__p_OpenBabel__OBAngle, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBAngleData[] = {  {&_swigt__p_OpenBabel__OBAngleData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBAromaticTyper[] = {  {&_swigt__p_OpenBabel__OBAromaticTyper, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBAtom[] = {  {&_swigt__p_OpenBabel__OBAtom, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBAtomAtomIter[] = {  {&_swigt__p_OpenBabel__OBAtomAtomIter, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBAtomBondIter[] = {  {&_swigt__p_OpenBabel__OBAtomBondIter, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBAtomClassData[] = {  {&_swigt__p_OpenBabel__OBAtomClassData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBAtomTyper[] = {  {&_swigt__p_OpenBabel__OBAtomTyper, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBBase[] = {  {&_swigt__p_OpenBabel__OBMol, _p_OpenBabel__OBMolTo_p_OpenBabel__OBBase, 0, 0},  {&_swigt__p_OpenBabel__OBResidue, _p_OpenBabel__OBResidueTo_p_OpenBabel__OBBase, 0, 0},  {&_swigt__p_OpenBabel__OBBase, 0, 0, 0},  {&_swigt__p_OpenBabel__OBBond, _p_OpenBabel__OBBondTo_p_OpenBabel__OBBase, 0, 0},  {&_swigt__p_OpenBabel__OBAtom, _p_OpenBabel__OBAtomTo_p_OpenBabel__OBBase, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBBitVec[] = {  {&_swigt__p_OpenBabel__OBBitVec, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBBond[] = {  {&_swigt__p_OpenBabel__OBBond, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBBuilder[] = {  {&_swigt__p_OpenBabel__OBBuilder, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBChainsParser[] = {  {&_swigt__p_OpenBabel__OBChainsParser, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBChiralData[] = {  {&_swigt__p_OpenBabel__OBChiralData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBCommentData[] = {  {&_swigt__p_OpenBabel__OBCommentData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBConformerData[] = {  {&_swigt__p_OpenBabel__OBConformerData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBConversion[] = {  {&_swigt__p_OpenBabel__OBConversion, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBDOSData[] = {  {&_swigt__p_OpenBabel__OBDOSData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBDescriptor[] = {  {&_swigt__p_OpenBabel__OBDescriptor, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBElectronicTransitionData[] = {  {&_swigt__p_OpenBabel__OBElectronicTransitionData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBElement[] = {  {&_swigt__p_OpenBabel__OBElement, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBElementTable[] = {  {&_swigt__p_OpenBabel__OBElementTable, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBError[] = {  {&_swigt__p_OpenBabel__OBError, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBExternalBond[] = {  {&_swigt__p_OpenBabel__OBExternalBond, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBExternalBondData[] = {  {&_swigt__p_OpenBabel__OBExternalBondData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBFFCalculation2[] = {  {&_swigt__p_OpenBabel__OBFFCalculation2, 0, 0, 0},  {&_swigt__p_OpenBabel__OBFFCalculation3, _p_OpenBabel__OBFFCalculation3To_p_OpenBabel__OBFFCalculation2, 0, 0},  {&_swigt__p_OpenBabel__OBFFCalculation4, _p_OpenBabel__OBFFCalculation4To_p_OpenBabel__OBFFCalculation2, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBFFCalculation3[] = {  {&_swigt__p_OpenBabel__OBFFCalculation3, 0, 0, 0},  {&_swigt__p_OpenBabel__OBFFCalculation4, _p_OpenBabel__OBFFCalculation4To_p_OpenBabel__OBFFCalculation3, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBFFCalculation4[] = {  {&_swigt__p_OpenBabel__OBFFCalculation4, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBFFConstraint[] = {  {&_swigt__p_OpenBabel__OBFFConstraint, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBFFConstraints[] = {  {&_swigt__p_OpenBabel__OBFFConstraints, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBFFParameter[] = {  {&_swigt__p_OpenBabel__OBFFParameter, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBFingerprint[] = {  {&_swigt__p_OpenBabel__OBFingerprint, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBForceField[] = {  {&_swigt__p_OpenBabel__OBForceField, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBFormat[] = {  {&_swigt__p_OpenBabel__OBFormat, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBGenericData[] = {  {&_swigt__p_OpenBabel__OBRotamerList, _p_OpenBabel__OBRotamerListTo_p_OpenBabel__OBGenericData, 0, 0},  {&_swigt__p_OpenBabel__OBVibrationData, _p_OpenBabel__OBVibrationDataTo_p_OpenBabel__OBGenericData, 0, 0},  {&_swigt__p_OpenBabel__OBTorsionData, _p_OpenBabel__OBTorsionDataTo_p_OpenBabel__OBGenericData, 0, 0},  {&_swigt__p_OpenBabel__OBElectronicTransitionData, _p_OpenBabel__OBElectronicTransitionDataTo_p_OpenBabel__OBGenericData, 0, 0},  {&_swigt__p_OpenBabel__OBRotationData, _p_OpenBabel__OBRotationDataTo_p_OpenBabel__OBGenericData, 0, 0},  {&_swigt__p_OpenBabel__AliasData, _p_OpenBabel__AliasDataTo_p_OpenBabel__OBGenericData, 0, 0},  {&_swigt__p_OpenBabel__OBPairData, _p_OpenBabel__OBPairDataTo_p_OpenBabel__OBGenericData, 0, 0},  {&_swigt__p_OpenBabel__OBAngleData, _p_OpenBabel__OBAngleDataTo_p_OpenBabel__OBGenericData, 0, 0},  {&_swigt__p_OpenBabel__OBAtomClassData, _p_OpenBabel__OBAtomClassDataTo_p_OpenBabel__OBGenericData, 0, 0},  {&_swigt__p_OpenBabel__OBChiralData, _p_OpenBabel__OBChiralDataTo_p_OpenBabel__OBGenericData, 0, 0},  {&_swigt__p_OpenBabel__OBOrbitalData, _p_OpenBabel__OBOrbitalDataTo_p_OpenBabel__OBGenericData, 0, 0},  {&_swigt__p_OpenBabel__OBRingData, _p_OpenBabel__OBRingDataTo_p_OpenBabel__OBGenericData, 0, 0},  {&_swigt__p_OpenBabel__OBSerialNums, _p_OpenBabel__OBSerialNumsTo_p_OpenBabel__OBGenericData, 0, 0},  {&_swigt__p_OpenBabel__OBExternalBondData, _p_OpenBabel__OBExternalBondDataTo_p_OpenBabel__OBGenericData, 0, 0},  {&_swigt__p_OpenBabel__OBSetData, _p_OpenBabel__OBSetDataTo_p_OpenBabel__OBGenericData, 0, 0},  {&_swigt__p_OpenBabel__OBSymmetryData, _p_OpenBabel__OBSymmetryDataTo_p_OpenBabel__OBGenericData, 0, 0},  {&_swigt__p_OpenBabel__OBMatrixData, _p_OpenBabel__OBMatrixDataTo_p_OpenBabel__OBGenericData, 0, 0},  {&_swigt__p_OpenBabel__OBCommentData, _p_OpenBabel__OBCommentDataTo_p_OpenBabel__OBGenericData, 0, 0},  {&_swigt__p_OpenBabel__OBVectorData, _p_OpenBabel__OBVectorDataTo_p_OpenBabel__OBGenericData, 0, 0},  {&_swigt__p_OpenBabel__OBVirtualBond, _p_OpenBabel__OBVirtualBondTo_p_OpenBabel__OBGenericData, 0, 0},  {&_swigt__p_OpenBabel__OBConformerData, _p_OpenBabel__OBConformerDataTo_p_OpenBabel__OBGenericData, 0, 0},  {&_swigt__p_OpenBabel__OBDOSData, _p_OpenBabel__OBDOSDataTo_p_OpenBabel__OBGenericData, 0, 0},  {&_swigt__p_OpenBabel__OBGridData, _p_OpenBabel__OBGridDataTo_p_OpenBabel__OBGenericData, 0, 0},  {&_swigt__p_OpenBabel__OBGenericData, 0, 0, 0},  {&_swigt__p_OpenBabel__OBUnitCell, _p_OpenBabel__OBUnitCellTo_p_OpenBabel__OBGenericData, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBRingTyper[] = {{&_swigt__p_OpenBabel__OBRingTyper, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBGlobalDataBase[] = {  {&_swigt__p_OpenBabel__OBAtomTyper, _p_OpenBabel__OBAtomTyperTo_p_OpenBabel__OBGlobalDataBase, 0, 0},  {&_swigt__p_OpenBabel__OBAromaticTyper, _p_OpenBabel__OBAromaticTyperTo_p_OpenBabel__OBGlobalDataBase, 0, 0},  {&_swigt__p_OpenBabel__OBGlobalDataBase, 0, 0, 0},  {&_swigt__p_OpenBabel__OBResidueData, _p_OpenBabel__OBResidueDataTo_p_OpenBabel__OBGlobalDataBase, 0, 0},  {&_swigt__p_OpenBabel__OBRingTyper, _p_OpenBabel__OBRingTyperTo_p_OpenBabel__OBGlobalDataBase, 0, 0},  {&_swigt__p_OpenBabel__OBIsotopeTable, _p_OpenBabel__OBIsotopeTableTo_p_OpenBabel__OBGlobalDataBase, 0, 0},  {&_swigt__p_OpenBabel__OBTypeTable, _p_OpenBabel__OBTypeTableTo_p_OpenBabel__OBGlobalDataBase, 0, 0},  {&_swigt__p_OpenBabel__OBRotorRules, _p_OpenBabel__OBRotorRulesTo_p_OpenBabel__OBGlobalDataBase, 0, 0},  {&_swigt__p_OpenBabel__OBElementTable, _p_OpenBabel__OBElementTableTo_p_OpenBabel__OBGlobalDataBase, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBGridData[] = {  {&_swigt__p_OpenBabel__OBGridData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBInternalCoord[] = {  {&_swigt__p_OpenBabel__OBInternalCoord, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBIsotopeTable[] = {  {&_swigt__p_OpenBabel__OBIsotopeTable, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBMatrixData[] = {  {&_swigt__p_OpenBabel__OBMatrixData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBMessageHandler[] = {  {&_swigt__p_OpenBabel__OBMessageHandler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBMol[] = {  {&_swigt__p_OpenBabel__OBMol, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBMolAngleIter[] = {  {&_swigt__p_OpenBabel__OBMolAngleIter, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBMolAtomBFSIter[] = {  {&_swigt__p_OpenBabel__OBMolAtomBFSIter, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBMolAtomDFSIter[] = {  {&_swigt__p_OpenBabel__OBMolAtomDFSIter, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBMolAtomIter[] = {  {&_swigt__p_OpenBabel__OBMolAtomIter, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBMolBondBFSIter[] = {  {&_swigt__p_OpenBabel__OBMolBondBFSIter, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBMolBondIter[] = {  {&_swigt__p_OpenBabel__OBMolBondIter, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBMolPairIter[] = {  {&_swigt__p_OpenBabel__OBMolPairIter, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBMolRingIter[] = {  {&_swigt__p_OpenBabel__OBMolRingIter, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBMolTorsionIter[] = {  {&_swigt__p_OpenBabel__OBMolTorsionIter, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBNasaThermoData[] = {  {&_swigt__p_OpenBabel__OBNasaThermoData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBOp[] = {  {&_swigt__p_OpenBabel__OBOp, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBOrbital[] = {  {&_swigt__p_OpenBabel__OBOrbital, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBOrbitalData[] = {  {&_swigt__p_OpenBabel__OBOrbitalData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBPairData[] = {  {&_swigt__p_OpenBabel__OBPairData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBPairTemplateT_double_t[] = {  {&_swigt__p_OpenBabel__OBPairTemplateT_double_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBPairTemplateT_int_t[] = {  {&_swigt__p_OpenBabel__OBPairTemplateT_int_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBPlugin[] = {  {&_swigt__p_OpenBabel__OBDescriptor, _p_OpenBabel__OBDescriptorTo_p_OpenBabel__OBPlugin, 0, 0},  {&_swigt__p_OpenBabel__OBPlugin, 0, 0, 0},  {&_swigt__p_OpenBabel__OBForceField, _p_OpenBabel__OBForceFieldTo_p_OpenBabel__OBPlugin, 0, 0},  {&_swigt__p_OpenBabel__OBOp, _p_OpenBabel__OBOpTo_p_OpenBabel__OBPlugin, 0, 0},  {&_swigt__p_OpenBabel__OBFormat, _p_OpenBabel__OBFormatTo_p_OpenBabel__OBPlugin, 0, 0},  {&_swigt__p_OpenBabel__OBFingerprint, _p_OpenBabel__OBFingerprintTo_p_OpenBabel__OBPlugin, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBPlugin__PluginMapType__const_iterator[] = {  {&_swigt__p_OpenBabel__OBPlugin__PluginMapType__const_iterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBRTree[] = {  {&_swigt__p_OpenBabel__OBRTree, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBRandom[] = {  {&_swigt__p_OpenBabel__OBRandom, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBRateData[] = {  {&_swigt__p_OpenBabel__OBRateData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBResidue[] = {  {&_swigt__p_OpenBabel__OBResidue, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBResidueAtomIter[] = {  {&_swigt__p_OpenBabel__OBResidueAtomIter, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBResidueData[] = {  {&_swigt__p_OpenBabel__OBResidueData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBResidueIter[] = {  {&_swigt__p_OpenBabel__OBResidueIter, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBRing[] = {  {&_swigt__p_OpenBabel__OBRing, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBRingData[] = {  {&_swigt__p_OpenBabel__OBRingData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBRingSearch[] = {  {&_swigt__p_OpenBabel__OBRingSearch, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBRotamerList[] = {  {&_swigt__p_OpenBabel__OBRotamerList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBRotationData[] = {  {&_swigt__p_OpenBabel__OBRotationData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBRotor[] = {  {&_swigt__p_OpenBabel__OBRotor, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBRotorKeys[] = {  {&_swigt__p_OpenBabel__OBRotorKeys, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBRotorList[] = {  {&_swigt__p_OpenBabel__OBRotorList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBRotorRule[] = {  {&_swigt__p_OpenBabel__OBRotorRule, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBRotorRules[] = {  {&_swigt__p_OpenBabel__OBRotorRules, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBSSMatch[] = {  {&_swigt__p_OpenBabel__OBSSMatch, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBSerialNums[] = {  {&_swigt__p_OpenBabel__OBSerialNums, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBSetData[] = {  {&_swigt__p_OpenBabel__OBSetData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBSmartsMatcher[] = {  {&_swigt__p_OpenBabel__OBSmartsMatcher, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBSmartsPattern[] = {  {&_swigt__p_OpenBabel__OBSmartsPattern, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBSqrtTbl[] = {  {&_swigt__p_OpenBabel__OBSqrtTbl, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBStopwatch[] = {  {&_swigt__p_OpenBabel__OBStopwatch, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBSymmetryData[] = {  {&_swigt__p_OpenBabel__OBSymmetryData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBTorsion[] = {  {&_swigt__p_OpenBabel__OBTorsion, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBTorsionData[] = {  {&_swigt__p_OpenBabel__OBTorsionData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBTypeTable[] = {  {&_swigt__p_OpenBabel__OBTypeTable, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBUnitCell[] = {  {&_swigt__p_OpenBabel__OBUnitCell, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBVectorData[] = {  {&_swigt__p_OpenBabel__OBVectorData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBVibrationData[] = {  {&_swigt__p_OpenBabel__OBVibrationData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__OBVirtualBond[] = {  {&_swigt__p_OpenBabel__OBVirtualBond, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__Pattern[] = {  {&_swigt__p_OpenBabel__Pattern, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__SpaceGroup[] = {  {&_swigt__p_OpenBabel__SpaceGroup, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__Template[] = {  {&_swigt__p_OpenBabel__Template, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__matrix3x3[] = {  {&_swigt__p_OpenBabel__matrix3x3, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__obLogBuf[] = {  {&_swigt__p_OpenBabel__obLogBuf, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__quadT_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_t[] = {  {&_swigt__p_OpenBabel__quadT_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__rotor_digit[] = {  {&_swigt__p_OpenBabel__rotor_digit, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__tripleT_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_t[] = {  {&_swigt__p_OpenBabel__tripleT_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_OpenBabel__vector3[] = {  {&_swigt__p_OpenBabel__vector3, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_PluginIterator[] = {  {&_swigt__p_PluginIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_PluginMapType[] = {  {&_swigt__p_PluginMapType, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Unit[] = {  {&_swigt__p_Unit, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_a_3__double[] = {  {&_swigt__p_a_3__double, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_a_4__char[] = {  {&_swigt__p_a_4__char, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_char[] = {  {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_double[] = {  {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_int[] = {  {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_OpenBabel__OBDescriptor[] = {  {&_swigt__p_p_OpenBabel__OBDescriptor, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_OpenBabel__OBFingerprint[] = {  {&_swigt__p_p_OpenBabel__OBFingerprint, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_OpenBabel__OBForceField[] = {  {&_swigt__p_p_OpenBabel__OBForceField, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_OpenBabel__OBFormat[] = {  {&_swigt__p_p_OpenBabel__OBFormat, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_OpenBabel__OBOp[] = {  {&_swigt__p_p_OpenBabel__OBOp, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_double[] = {  {&_swigt__p_p_double, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_int[] = {  {&_swigt__p_p_int, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__binary_functionT_char_const_p_char_const_p_bool_t[] = {  {&_swigt__p_std__binary_functionT_char_const_p_char_const_p_bool_t, 0, 0, 0},  {&_swigt__p_OpenBabel__CharPtrLess, _p_OpenBabel__CharPtrLessTo_p_std__binary_functionT_char_const_p_char_const_p_bool_t, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__dequeT_int_t[] = {  {&_swigt__p_std__dequeT_int_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__istream[] = {  {&_swigt__p_std__istream, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__mapT_char_const_p_OpenBabel__OBPlugin_p_OpenBabel__CharPtrLess_t[] = {  {&_swigt__p_std__mapT_char_const_p_OpenBabel__OBPlugin_p_OpenBabel__CharPtrLess_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__mapT_int_OpenBabel__OBAtom_p_t[] = {  {&_swigt__p_std__mapT_int_OpenBabel__OBAtom_p_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__mapT_std__string_std__string_t[] = {  {&_swigt__p_std__mapT_std__string_std__string_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__multimapT_double_unsigned_int_t[] = {  {&_swigt__p_std__multimapT_double_unsigned_int_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__ostream[] = {  {&_swigt__p_std__ostream, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__out_of_range[] = {  {&_swigt__p_std__out_of_range, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__pairT_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_t[] = {  {&_swigt__p_std__pairT_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__pairT_std__string_std__string_t[] = {  {&_swigt__p_std__pairT_std__string_std__string_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__streampos[] = {  {&_swigt__p_std__streampos, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__string[] = {  {&_swigt__p_std__string, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__stringbuf[] = {  {&_swigt__p_std__stringbuf, 0, 0, 0},  {&_swigt__p_OpenBabel__obLogBuf, _p_OpenBabel__obLogBufTo_p_std__stringbuf, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__type_info[] = {  {&_swigt__p_std__type_info, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_OpenBabel__OBAtom_p_t[] = {  {&_swigt__p_std__vectorT_OpenBabel__OBAtom_p_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_OpenBabel__OBAtom_p_t__iterator[] = {  {&_swigt__p_std__vectorT_OpenBabel__OBAtom_p_t__iterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_OpenBabel__OBBase_p_t[] = {  {&_swigt__p_std__vectorT_OpenBabel__OBBase_p_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_OpenBabel__OBBond_p_t[] = {  {&_swigt__p_std__vectorT_OpenBabel__OBBond_p_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_OpenBabel__OBBond_p_t__iterator[] = {  {&_swigt__p_std__vectorT_OpenBabel__OBBond_p_t__iterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_OpenBabel__OBBond_t[] = {  {&_swigt__p_std__vectorT_OpenBabel__OBBond_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_OpenBabel__OBExternalBond_t[] = {  {&_swigt__p_std__vectorT_OpenBabel__OBExternalBond_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_OpenBabel__OBGenericData_p_t[] = {  {&_swigt__p_std__vectorT_OpenBabel__OBGenericData_p_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_OpenBabel__OBGenericData_p_t__iterator[] = {  {&_swigt__p_std__vectorT_OpenBabel__OBGenericData_p_t__iterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_OpenBabel__OBInternalCoord_p_t[] = {  {&_swigt__p_std__vectorT_OpenBabel__OBInternalCoord_p_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_OpenBabel__OBInternalCoord_p_t__iterator[] = {  {&_swigt__p_std__vectorT_OpenBabel__OBInternalCoord_p_t__iterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_OpenBabel__OBMol_t[] = {  {&_swigt__p_std__vectorT_OpenBabel__OBMol_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_OpenBabel__OBOrbital_t[] = {  {&_swigt__p_std__vectorT_OpenBabel__OBOrbital_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_OpenBabel__OBResidue_p_t__iterator[] = {  {&_swigt__p_std__vectorT_OpenBabel__OBResidue_p_t__iterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_OpenBabel__OBResidue_t[] = {  {&_swigt__p_std__vectorT_OpenBabel__OBResidue_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_OpenBabel__OBRing_p_t[] = {  {&_swigt__p_std__vectorT_OpenBabel__OBRing_p_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_OpenBabel__OBRing_p_t__iterator[] = {  {&_swigt__p_std__vectorT_OpenBabel__OBRing_p_t__iterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_OpenBabel__OBRing_t[] = {  {&_swigt__p_std__vectorT_OpenBabel__OBRing_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_OpenBabel__OBRotor_p_t__iterator[] = {  {&_swigt__p_std__vectorT_OpenBabel__OBRotor_p_t__iterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_OpenBabel__OBTorsion_t[] = {  {&_swigt__p_std__vectorT_OpenBabel__OBTorsion_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_OpenBabel__tripleT_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_double_t_t[] = {  {&_swigt__p_std__vectorT_OpenBabel__tripleT_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_double_t_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_OpenBabel__vector3_t[] = {  {&_swigt__p_std__vectorT_OpenBabel__vector3_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_double_p_t[] = {  {&_swigt__p_std__vectorT_double_p_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_double_p_t__iterator[] = {  {&_swigt__p_std__vectorT_double_p_t__iterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_double_t[] = {  {&_swigt__p_std__vectorT_double_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_double_t__iterator[] = {  {&_swigt__p_std__vectorT_double_t__iterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_int_t[] = {  {&_swigt__p_std__vectorT_int_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_std__pairT_int_int_t_t[] = {  {&_swigt__p_std__vectorT_std__pairT_int_int_t_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_std__pairT_std__string_std__string_t_t[] = {  {&_swigt__p_std__vectorT_std__pairT_std__string_std__string_t_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_std__string_t[] = {  {&_swigt__p_std__vectorT_std__string_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_std__vectorT_OpenBabel__vector3_t_t[] = {  {&_swigt__p_std__vectorT_std__vectorT_OpenBabel__vector3_t_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_std__vectorT_int_t_t[] = {  {&_swigt__p_std__vectorT_std__vectorT_int_t_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_std__vectorT_int_t_t__iterator[] = {  {&_swigt__p_std__vectorT_std__vectorT_int_t_t__iterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_std__vectorT_unsigned_int_t_t[] = {  {&_swigt__p_std__vectorT_std__vectorT_unsigned_int_t_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_unsigned_char_p_t__iterator[] = {  {&_swigt__p_std__vectorT_unsigned_char_p_t__iterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_unsigned_int_t[] = {  {&_swigt__p_std__vectorT_unsigned_int_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_unsigned_short_t[] = {  {&_swigt__p_std__vectorT_unsigned_short_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_unsigned_char[] = {  {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_unsigned_int[] = {  {&_swigt__p_unsigned_int, 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 _swigc__p_word_vector[] = {  {&_swigt__p_word_vector, 0, 0, 0},{0, 0, 0, 0}};

static swig_cast_info *swig_cast_initial[] = {
  _swigc__p_OpMap,
  _swigc__p_OpenBabel__AliasData,
  _swigc__p_OpenBabel__CharPtrLess,
  _swigc__p_OpenBabel__DoubleType,
  _swigc__p_OpenBabel__FastSearch,
  _swigc__p_OpenBabel__FastSearchIndexer,
  _swigc__p_OpenBabel__FptIndex,
  _swigc__p_OpenBabel__FptIndexHeader,
  _swigc__p_OpenBabel__LineSearchType,
  _swigc__p_OpenBabel__OBAngle,
  _swigc__p_OpenBabel__OBAngleData,
  _swigc__p_OpenBabel__OBAromaticTyper,
  _swigc__p_OpenBabel__OBAtom,
  _swigc__p_OpenBabel__OBAtomAtomIter,
  _swigc__p_OpenBabel__OBAtomBondIter,
  _swigc__p_OpenBabel__OBAtomClassData,
  _swigc__p_OpenBabel__OBAtomTyper,
  _swigc__p_OpenBabel__OBBase,
  _swigc__p_OpenBabel__OBBitVec,
  _swigc__p_OpenBabel__OBBond,
  _swigc__p_OpenBabel__OBBuilder,
  _swigc__p_OpenBabel__OBChainsParser,
  _swigc__p_OpenBabel__OBChiralData,
  _swigc__p_OpenBabel__OBCommentData,
  _swigc__p_OpenBabel__OBConformerData,
  _swigc__p_OpenBabel__OBConversion,
  _swigc__p_OpenBabel__OBDOSData,
  _swigc__p_OpenBabel__OBDescriptor,
  _swigc__p_OpenBabel__OBElectronicTransitionData,
  _swigc__p_OpenBabel__OBElement,
  _swigc__p_OpenBabel__OBElementTable,
  _swigc__p_OpenBabel__OBError,
  _swigc__p_OpenBabel__OBExternalBond,
  _swigc__p_OpenBabel__OBExternalBondData,
  _swigc__p_OpenBabel__OBFFCalculation2,
  _swigc__p_OpenBabel__OBFFCalculation3,
  _swigc__p_OpenBabel__OBFFCalculation4,
  _swigc__p_OpenBabel__OBFFConstraint,
  _swigc__p_OpenBabel__OBFFConstraints,
  _swigc__p_OpenBabel__OBFFParameter,
  _swigc__p_OpenBabel__OBFingerprint,
  _swigc__p_OpenBabel__OBForceField,
  _swigc__p_OpenBabel__OBFormat,
  _swigc__p_OpenBabel__OBGenericData,
  _swigc__p_OpenBabel__OBGlobalDataBase,
  _swigc__p_OpenBabel__OBGridData,
  _swigc__p_OpenBabel__OBInternalCoord,
  _swigc__p_OpenBabel__OBIsotopeTable,
  _swigc__p_OpenBabel__OBMatrixData,
  _swigc__p_OpenBabel__OBMessageHandler,
  _swigc__p_OpenBabel__OBMol,
  _swigc__p_OpenBabel__OBMolAngleIter,
  _swigc__p_OpenBabel__OBMolAtomBFSIter,
  _swigc__p_OpenBabel__OBMolAtomDFSIter,
  _swigc__p_OpenBabel__OBMolAtomIter,
  _swigc__p_OpenBabel__OBMolBondBFSIter,
  _swigc__p_OpenBabel__OBMolBondIter,
  _swigc__p_OpenBabel__OBMolPairIter,
  _swigc__p_OpenBabel__OBMolRingIter,
  _swigc__p_OpenBabel__OBMolTorsionIter,
  _swigc__p_OpenBabel__OBNasaThermoData,
  _swigc__p_OpenBabel__OBOp,
  _swigc__p_OpenBabel__OBOrbital,
  _swigc__p_OpenBabel__OBOrbitalData,
  _swigc__p_OpenBabel__OBPairData,
  _swigc__p_OpenBabel__OBPairTemplateT_double_t,
  _swigc__p_OpenBabel__OBPairTemplateT_int_t,
  _swigc__p_OpenBabel__OBPlugin,
  _swigc__p_OpenBabel__OBPlugin__PluginMapType__const_iterator,
  _swigc__p_OpenBabel__OBRTree,
  _swigc__p_OpenBabel__OBRandom,
  _swigc__p_OpenBabel__OBRateData,
  _swigc__p_OpenBabel__OBResidue,
  _swigc__p_OpenBabel__OBResidueAtomIter,
  _swigc__p_OpenBabel__OBResidueData,
  _swigc__p_OpenBabel__OBResidueIter,
  _swigc__p_OpenBabel__OBRing,
  _swigc__p_OpenBabel__OBRingData,
  _swigc__p_OpenBabel__OBRingSearch,
  _swigc__p_OpenBabel__OBRingTyper,
  _swigc__p_OpenBabel__OBRotamerList,
  _swigc__p_OpenBabel__OBRotationData,
  _swigc__p_OpenBabel__OBRotor,
  _swigc__p_OpenBabel__OBRotorKeys,
  _swigc__p_OpenBabel__OBRotorList,
  _swigc__p_OpenBabel__OBRotorRule,
  _swigc__p_OpenBabel__OBRotorRules,
  _swigc__p_OpenBabel__OBSSMatch,
  _swigc__p_OpenBabel__OBSerialNums,
  _swigc__p_OpenBabel__OBSetData,
  _swigc__p_OpenBabel__OBSmartsMatcher,
  _swigc__p_OpenBabel__OBSmartsPattern,
  _swigc__p_OpenBabel__OBSqrtTbl,
  _swigc__p_OpenBabel__OBStopwatch,
  _swigc__p_OpenBabel__OBSymmetryData,
  _swigc__p_OpenBabel__OBTorsion,
  _swigc__p_OpenBabel__OBTorsionData,
  _swigc__p_OpenBabel__OBTypeTable,
  _swigc__p_OpenBabel__OBUnitCell,
  _swigc__p_OpenBabel__OBVectorData,
  _swigc__p_OpenBabel__OBVibrationData,
  _swigc__p_OpenBabel__OBVirtualBond,
  _swigc__p_OpenBabel__Pattern,
  _swigc__p_OpenBabel__SpaceGroup,
  _swigc__p_OpenBabel__Template,
  _swigc__p_OpenBabel__matrix3x3,
  _swigc__p_OpenBabel__obLogBuf,
  _swigc__p_OpenBabel__quadT_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_t,
  _swigc__p_OpenBabel__rotor_digit,
  _swigc__p_OpenBabel__tripleT_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_t,
  _swigc__p_OpenBabel__vector3,
  _swigc__p_PluginIterator,
  _swigc__p_PluginMapType,
  _swigc__p_Unit,
  _swigc__p_a_3__double,
  _swigc__p_a_4__char,
  _swigc__p_char,
  _swigc__p_double,
  _swigc__p_int,
  _swigc__p_p_OpenBabel__OBDescriptor,
  _swigc__p_p_OpenBabel__OBFingerprint,
  _swigc__p_p_OpenBabel__OBForceField,
  _swigc__p_p_OpenBabel__OBFormat,
  _swigc__p_p_OpenBabel__OBOp,
  _swigc__p_p_double,
  _swigc__p_p_int,
  _swigc__p_std__binary_functionT_char_const_p_char_const_p_bool_t,
  _swigc__p_std__dequeT_int_t,
  _swigc__p_std__istream,
  _swigc__p_std__mapT_char_const_p_OpenBabel__OBPlugin_p_OpenBabel__CharPtrLess_t,
  _swigc__p_std__mapT_int_OpenBabel__OBAtom_p_t,
  _swigc__p_std__mapT_std__string_std__string_t,
  _swigc__p_std__multimapT_double_unsigned_int_t,
  _swigc__p_std__ostream,
  _swigc__p_std__out_of_range,
  _swigc__p_std__pairT_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_t,
  _swigc__p_std__pairT_std__string_std__string_t,
  _swigc__p_std__streampos,
  _swigc__p_std__string,
  _swigc__p_std__stringbuf,
  _swigc__p_std__type_info,
  _swigc__p_std__vectorT_OpenBabel__OBAtom_p_t,
  _swigc__p_std__vectorT_OpenBabel__OBAtom_p_t__iterator,
  _swigc__p_std__vectorT_OpenBabel__OBBase_p_t,
  _swigc__p_std__vectorT_OpenBabel__OBBond_p_t,
  _swigc__p_std__vectorT_OpenBabel__OBBond_p_t__iterator,
  _swigc__p_std__vectorT_OpenBabel__OBBond_t,
  _swigc__p_std__vectorT_OpenBabel__OBExternalBond_t,
  _swigc__p_std__vectorT_OpenBabel__OBGenericData_p_t,
  _swigc__p_std__vectorT_OpenBabel__OBGenericData_p_t__iterator,
  _swigc__p_std__vectorT_OpenBabel__OBInternalCoord_p_t,
  _swigc__p_std__vectorT_OpenBabel__OBInternalCoord_p_t__iterator,
  _swigc__p_std__vectorT_OpenBabel__OBMol_t,
  _swigc__p_std__vectorT_OpenBabel__OBOrbital_t,
  _swigc__p_std__vectorT_OpenBabel__OBResidue_p_t__iterator,
  _swigc__p_std__vectorT_OpenBabel__OBResidue_t,
  _swigc__p_std__vectorT_OpenBabel__OBRing_p_t,
  _swigc__p_std__vectorT_OpenBabel__OBRing_p_t__iterator,
  _swigc__p_std__vectorT_OpenBabel__OBRing_t,
  _swigc__p_std__vectorT_OpenBabel__OBRotor_p_t__iterator,
  _swigc__p_std__vectorT_OpenBabel__OBTorsion_t,
  _swigc__p_std__vectorT_OpenBabel__tripleT_OpenBabel__OBAtom_p_OpenBabel__OBAtom_p_double_t_t,
  _swigc__p_std__vectorT_OpenBabel__vector3_t,
  _swigc__p_std__vectorT_double_p_t,
  _swigc__p_std__vectorT_double_p_t__iterator,
  _swigc__p_std__vectorT_double_t,
  _swigc__p_std__vectorT_double_t__iterator,
  _swigc__p_std__vectorT_int_t,
  _swigc__p_std__vectorT_std__pairT_int_int_t_t,
  _swigc__p_std__vectorT_std__pairT_std__string_std__string_t_t,
  _swigc__p_std__vectorT_std__string_t,
  _swigc__p_std__vectorT_std__vectorT_OpenBabel__vector3_t_t,
  _swigc__p_std__vectorT_std__vectorT_int_t_t,
  _swigc__p_std__vectorT_std__vectorT_int_t_t__iterator,
  _swigc__p_std__vectorT_std__vectorT_unsigned_int_t_t,
  _swigc__p_std__vectorT_unsigned_char_p_t__iterator,
  _swigc__p_std__vectorT_unsigned_int_t,
  _swigc__p_std__vectorT_unsigned_short_t,
  _swigc__p_unsigned_char,
  _swigc__p_unsigned_int,
  _swigc__p_void,
  _swigc__p_word_vector,
};


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

static swig_constant_info swig_constants[] = {
{0,0,0,0,0,0}
};
#ifdef __cplusplus
}
#endif
static swig_variable_info swig_variables[] = {
    { "Chemistry::OpenBabelc::VZero", MAGIC_CLASS swig_magic_readonly, MAGIC_CLASS _wrap_VZero_get,&SWIGTYPE_p_OpenBabel__vector3 },
    { "Chemistry::OpenBabelc::VX", MAGIC_CLASS swig_magic_readonly, MAGIC_CLASS _wrap_VX_get,&SWIGTYPE_p_OpenBabel__vector3 },
    { "Chemistry::OpenBabelc::VY", MAGIC_CLASS swig_magic_readonly, MAGIC_CLASS _wrap_VY_get,&SWIGTYPE_p_OpenBabel__vector3 },
    { "Chemistry::OpenBabelc::VZ", MAGIC_CLASS swig_magic_readonly, MAGIC_CLASS _wrap_VZ_get,&SWIGTYPE_p_OpenBabel__vector3 },
    { "Chemistry::OpenBabelc::obErrorLog", MAGIC_CLASS _wrap_obErrorLog_set, MAGIC_CLASS _wrap_obErrorLog_get,&SWIGTYPE_p_OpenBabel__OBMessageHandler },
    { "Chemistry::OpenBabelc::Residue", MAGIC_CLASS _wrap_Residue_set, MAGIC_CLASS _wrap_Residue_get,&SWIGTYPE_p_a_4__char },
    { "Chemistry::OpenBabelc::ElemDesc", MAGIC_CLASS _wrap_ElemDesc_set, MAGIC_CLASS _wrap_ElemDesc_get,&SWIGTYPE_p_a_4__char },
    { "Chemistry::OpenBabelc::ResNo", MAGIC_CLASS _wrap_ResNo_set, MAGIC_CLASS _wrap_ResNo_get,0 },
    { "Chemistry::OpenBabelc::ElemNo", MAGIC_CLASS _wrap_ElemNo_set, MAGIC_CLASS _wrap_ElemNo_get,0 },
    { "Chemistry::OpenBabelc::etab", MAGIC_CLASS _wrap_etab_set, MAGIC_CLASS _wrap_etab_get,&SWIGTYPE_p_OpenBabel__OBElementTable },
    { "Chemistry::OpenBabelc::ttab", MAGIC_CLASS _wrap_ttab_set, MAGIC_CLASS _wrap_ttab_get,&SWIGTYPE_p_OpenBabel__OBTypeTable },
    { "Chemistry::OpenBabelc::isotab", MAGIC_CLASS _wrap_isotab_set, MAGIC_CLASS _wrap_isotab_get,&SWIGTYPE_p_OpenBabel__OBIsotopeTable },
    { "Chemistry::OpenBabelc::aromtyper", MAGIC_CLASS _wrap_aromtyper_set, MAGIC_CLASS _wrap_aromtyper_get,&SWIGTYPE_p_OpenBabel__OBAromaticTyper },
    { "Chemistry::OpenBabelc::atomtyper", MAGIC_CLASS _wrap_atomtyper_set, MAGIC_CLASS _wrap_atomtyper_get,&SWIGTYPE_p_OpenBabel__OBAtomTyper },
    { "Chemistry::OpenBabelc::chainsparser", MAGIC_CLASS _wrap_chainsparser_set, MAGIC_CLASS _wrap_chainsparser_get,&SWIGTYPE_p_OpenBabel__OBChainsParser },
    { "Chemistry::OpenBabelc::resdat", MAGIC_CLASS _wrap_resdat_set, MAGIC_CLASS _wrap_resdat_get,&SWIGTYPE_p_OpenBabel__OBResidueData },
    { "Chemistry::OpenBabelc::NoId", MAGIC_CLASS swig_magic_readonly, MAGIC_CLASS _wrap_NoId_get,0 },
    { "Chemistry::OpenBabelc::AliasDataType", MAGIC_CLASS swig_magic_readonly, MAGIC_CLASS _wrap_AliasDataType_get,0 },
{0,0,0,0}
};
static swig_command_info swig_commands[] = {
{"Chemistry::OpenBabelc::new_VectorInt", _wrap_new_VectorInt},
{"Chemistry::OpenBabelc::VectorInt_get", _wrap_VectorInt_get},
{"Chemistry::OpenBabelc::VectorInt_set", _wrap_VectorInt_set},
{"Chemistry::OpenBabelc::delete_VectorInt", _wrap_delete_VectorInt},
{"Chemistry::OpenBabelc::new_VectorUnsignedInt", _wrap_new_VectorUnsignedInt},
{"Chemistry::OpenBabelc::VectorUnsignedInt_get", _wrap_VectorUnsignedInt_get},
{"Chemistry::OpenBabelc::VectorUnsignedInt_set", _wrap_VectorUnsignedInt_set},
{"Chemistry::OpenBabelc::delete_VectorUnsignedInt", _wrap_delete_VectorUnsignedInt},
{"Chemistry::OpenBabelc::new_VectorVInt", _wrap_new_VectorVInt},
{"Chemistry::OpenBabelc::VectorVInt_get", _wrap_VectorVInt_get},
{"Chemistry::OpenBabelc::VectorVInt_set", _wrap_VectorVInt_set},
{"Chemistry::OpenBabelc::delete_VectorVInt", _wrap_delete_VectorVInt},
{"Chemistry::OpenBabelc::new_VectorDouble", _wrap_new_VectorDouble},
{"Chemistry::OpenBabelc::VectorDouble_get", _wrap_VectorDouble_get},
{"Chemistry::OpenBabelc::VectorDouble_set", _wrap_VectorDouble_set},
{"Chemistry::OpenBabelc::delete_VectorDouble", _wrap_delete_VectorDouble},
{"Chemistry::OpenBabelc::new_VectorString", _wrap_new_VectorString},
{"Chemistry::OpenBabelc::VectorString_get", _wrap_VectorString_get},
{"Chemistry::OpenBabelc::VectorString_set", _wrap_VectorString_set},
{"Chemistry::OpenBabelc::delete_VectorString", _wrap_delete_VectorString},
{"Chemistry::OpenBabelc::new_VectorVector3", _wrap_new_VectorVector3},
{"Chemistry::OpenBabelc::VectorVector3_get", _wrap_VectorVector3_get},
{"Chemistry::OpenBabelc::VectorVector3_set", _wrap_VectorVector3_set},
{"Chemistry::OpenBabelc::delete_VectorVector3", _wrap_delete_VectorVector3},
{"Chemistry::OpenBabelc::new_VectorOBMol", _wrap_new_VectorOBMol},
{"Chemistry::OpenBabelc::VectorOBMol_get", _wrap_VectorOBMol_get},
{"Chemistry::OpenBabelc::VectorOBMol_set", _wrap_VectorOBMol_set},
{"Chemistry::OpenBabelc::delete_VectorOBMol", _wrap_delete_VectorOBMol},
{"Chemistry::OpenBabelc::new_VectorOBBond", _wrap_new_VectorOBBond},
{"Chemistry::OpenBabelc::VectorOBBond_get", _wrap_VectorOBBond_get},
{"Chemistry::OpenBabelc::VectorOBBond_set", _wrap_VectorOBBond_set},
{"Chemistry::OpenBabelc::delete_VectorOBBond", _wrap_delete_VectorOBBond},
{"Chemistry::OpenBabelc::new_VectorOBResidue", _wrap_new_VectorOBResidue},
{"Chemistry::OpenBabelc::VectorOBResidue_get", _wrap_VectorOBResidue_get},
{"Chemistry::OpenBabelc::VectorOBResidue_set", _wrap_VectorOBResidue_set},
{"Chemistry::OpenBabelc::delete_VectorOBResidue", _wrap_delete_VectorOBResidue},
{"Chemistry::OpenBabelc::new_VectorOBRing", _wrap_new_VectorOBRing},
{"Chemistry::OpenBabelc::VectorOBRing_get", _wrap_VectorOBRing_get},
{"Chemistry::OpenBabelc::VectorOBRing_set", _wrap_VectorOBRing_set},
{"Chemistry::OpenBabelc::delete_VectorOBRing", _wrap_delete_VectorOBRing},
{"Chemistry::OpenBabelc::new_VectorpOBRing", _wrap_new_VectorpOBRing},
{"Chemistry::OpenBabelc::VectorpOBRing_get", _wrap_VectorpOBRing_get},
{"Chemistry::OpenBabelc::VectorpOBRing_set", _wrap_VectorpOBRing_set},
{"Chemistry::OpenBabelc::delete_VectorpOBRing", _wrap_delete_VectorpOBRing},
{"Chemistry::OpenBabelc::new_VectorpOBGenericData", _wrap_new_VectorpOBGenericData},
{"Chemistry::OpenBabelc::VectorpOBGenericData_get", _wrap_VectorpOBGenericData_get},
{"Chemistry::OpenBabelc::VectorpOBGenericData_set", _wrap_VectorpOBGenericData_set},
{"Chemistry::OpenBabelc::delete_VectorpOBGenericData", _wrap_delete_VectorpOBGenericData},
{"Chemistry::OpenBabelc::toAngleData", _wrap_toAngleData},
{"Chemistry::OpenBabelc::toAtomClassData", _wrap_toAtomClassData},
{"Chemistry::OpenBabelc::toChiralData", _wrap_toChiralData},
{"Chemistry::OpenBabelc::toCommentData", _wrap_toCommentData},
{"Chemistry::OpenBabelc::toConformerData", _wrap_toConformerData},
{"Chemistry::OpenBabelc::toExternalBondData", _wrap_toExternalBondData},
{"Chemistry::OpenBabelc::toGridData", _wrap_toGridData},
{"Chemistry::OpenBabelc::toMatrixData", _wrap_toMatrixData},
{"Chemistry::OpenBabelc::toNasaThermoData", _wrap_toNasaThermoData},
{"Chemistry::OpenBabelc::toPairData", _wrap_toPairData},
{"Chemistry::OpenBabelc::toRateData", _wrap_toRateData},
{"Chemistry::OpenBabelc::toRotamerList", _wrap_toRotamerList},
{"Chemistry::OpenBabelc::toRotationData", _wrap_toRotationData},
{"Chemistry::OpenBabelc::toSerialNums", _wrap_toSerialNums},
{"Chemistry::OpenBabelc::toSetData", _wrap_toSetData},
{"Chemistry::OpenBabelc::toSymmetryData", _wrap_toSymmetryData},
{"Chemistry::OpenBabelc::toTorsionData", _wrap_toTorsionData},
{"Chemistry::OpenBabelc::toUnitCell", _wrap_toUnitCell},
{"Chemistry::OpenBabelc::toVectorData", _wrap_toVectorData},
{"Chemistry::OpenBabelc::toVibrationData", _wrap_toVibrationData},
{"Chemistry::OpenBabelc::toVirtualBond", _wrap_toVirtualBond},
{"Chemistry::OpenBabelc::new_OBGlobalDataBase", _wrap_new_OBGlobalDataBase},
{"Chemistry::OpenBabelc::delete_OBGlobalDataBase", _wrap_delete_OBGlobalDataBase},
{"Chemistry::OpenBabelc::OBGlobalDataBase_Init", _wrap_OBGlobalDataBase_Init},
{"Chemistry::OpenBabelc::OBGlobalDataBase_GetSize", _wrap_OBGlobalDataBase_GetSize},
{"Chemistry::OpenBabelc::OBGlobalDataBase_SetReadDirectory", _wrap_OBGlobalDataBase_SetReadDirectory},
{"Chemistry::OpenBabelc::OBGlobalDataBase_SetEnvironmentVariable", _wrap_OBGlobalDataBase_SetEnvironmentVariable},
{"Chemistry::OpenBabelc::OBGlobalDataBase_ParseLine", _wrap_OBGlobalDataBase_ParseLine},
{"Chemistry::OpenBabelc::new_OBElement", _wrap_new_OBElement},
{"Chemistry::OpenBabelc::OBElement_GetAtomicNum", _wrap_OBElement_GetAtomicNum},
{"Chemistry::OpenBabelc::OBElement_GetSymbol", _wrap_OBElement_GetSymbol},
{"Chemistry::OpenBabelc::OBElement_GetCovalentRad", _wrap_OBElement_GetCovalentRad},
{"Chemistry::OpenBabelc::OBElement_GetVdwRad", _wrap_OBElement_GetVdwRad},
{"Chemistry::OpenBabelc::OBElement_GetMass", _wrap_OBElement_GetMass},
{"Chemistry::OpenBabelc::OBElement_GetMaxBonds", _wrap_OBElement_GetMaxBonds},
{"Chemistry::OpenBabelc::OBElement_GetElectroNeg", _wrap_OBElement_GetElectroNeg},
{"Chemistry::OpenBabelc::OBElement_GetAllredRochowElectroNeg", _wrap_OBElement_GetAllredRochowElectroNeg},
{"Chemistry::OpenBabelc::OBElement_GetIonization", _wrap_OBElement_GetIonization},
{"Chemistry::OpenBabelc::OBElement_GetElectronAffinity", _wrap_OBElement_GetElectronAffinity},
{"Chemistry::OpenBabelc::OBElement_GetName", _wrap_OBElement_GetName},
{"Chemistry::OpenBabelc::OBElement_GetRed", _wrap_OBElement_GetRed},
{"Chemistry::OpenBabelc::OBElement_GetGreen", _wrap_OBElement_GetGreen},
{"Chemistry::OpenBabelc::OBElement_GetBlue", _wrap_OBElement_GetBlue},
{"Chemistry::OpenBabelc::delete_OBElement", _wrap_delete_OBElement},
{"Chemistry::OpenBabelc::new_OBElementTable", _wrap_new_OBElementTable},
{"Chemistry::OpenBabelc::delete_OBElementTable", _wrap_delete_OBElementTable},
{"Chemistry::OpenBabelc::OBElementTable_GetNumberOfElements", _wrap_OBElementTable_GetNumberOfElements},
{"Chemistry::OpenBabelc::OBElementTable_GetAtomicNum", _wrap_OBElementTable_GetAtomicNum},
{"Chemistry::OpenBabelc::OBElementTable_GetSymbol", _wrap_OBElementTable_GetSymbol},
{"Chemistry::OpenBabelc::OBElementTable_GetVdwRad", _wrap_OBElementTable_GetVdwRad},
{"Chemistry::OpenBabelc::OBElementTable_GetCovalentRad", _wrap_OBElementTable_GetCovalentRad},
{"Chemistry::OpenBabelc::OBElementTable_GetMass", _wrap_OBElementTable_GetMass},
{"Chemistry::OpenBabelc::OBElementTable_CorrectedBondRad", _wrap_OBElementTable_CorrectedBondRad},
{"Chemistry::OpenBabelc::OBElementTable_CorrectedVdwRad", _wrap_OBElementTable_CorrectedVdwRad},
{"Chemistry::OpenBabelc::OBElementTable_GetMaxBonds", _wrap_OBElementTable_GetMaxBonds},
{"Chemistry::OpenBabelc::OBElementTable_GetElectroNeg", _wrap_OBElementTable_GetElectroNeg},
{"Chemistry::OpenBabelc::OBElementTable_GetAllredRochowElectroNeg", _wrap_OBElementTable_GetAllredRochowElectroNeg},
{"Chemistry::OpenBabelc::OBElementTable_GetIonization", _wrap_OBElementTable_GetIonization},
{"Chemistry::OpenBabelc::OBElementTable_GetElectronAffinity", _wrap_OBElementTable_GetElectronAffinity},
{"Chemistry::OpenBabelc::OBElementTable_GetRGB", _wrap_OBElementTable_GetRGB},
{"Chemistry::OpenBabelc::OBElementTable_GetName", _wrap_OBElementTable_GetName},
{"Chemistry::OpenBabelc::new_OBIsotopeTable", _wrap_new_OBIsotopeTable},
{"Chemistry::OpenBabelc::delete_OBIsotopeTable", _wrap_delete_OBIsotopeTable},
{"Chemistry::OpenBabelc::OBIsotopeTable_GetExactMass", _wrap_OBIsotopeTable_GetExactMass},
{"Chemistry::OpenBabelc::new_OBTypeTable", _wrap_new_OBTypeTable},
{"Chemistry::OpenBabelc::delete_OBTypeTable", _wrap_delete_OBTypeTable},
{"Chemistry::OpenBabelc::OBTypeTable_SetFromType", _wrap_OBTypeTable_SetFromType},
{"Chemistry::OpenBabelc::OBTypeTable_SetToType", _wrap_OBTypeTable_SetToType},
{"Chemistry::OpenBabelc::OBTypeTable_Translate", _wrap_OBTypeTable_Translate},
{"Chemistry::OpenBabelc::OBTypeTable_GetFromType", _wrap_OBTypeTable_GetFromType},
{"Chemistry::OpenBabelc::OBTypeTable_GetToType", _wrap_OBTypeTable_GetToType},
{"Chemistry::OpenBabelc::new_OBResidueData", _wrap_new_OBResidueData},
{"Chemistry::OpenBabelc::OBResidueData_SetResName", _wrap_OBResidueData_SetResName},
{"Chemistry::OpenBabelc::OBResidueData_LookupBO", _wrap_OBResidueData_LookupBO},
{"Chemistry::OpenBabelc::OBResidueData_LookupType", _wrap_OBResidueData_LookupType},
{"Chemistry::OpenBabelc::OBResidueData_AssignBonds", _wrap_OBResidueData_AssignBonds},
{"Chemistry::OpenBabelc::delete_OBResidueData", _wrap_delete_OBResidueData},
{"Chemistry::OpenBabelc::DoubleType_hi_set", _wrap_DoubleType_hi_set},
{"Chemistry::OpenBabelc::DoubleType_hi_get", _wrap_DoubleType_hi_get},
{"Chemistry::OpenBabelc::DoubleType_lo_set", _wrap_DoubleType_lo_set},
{"Chemistry::OpenBabelc::DoubleType_lo_get", _wrap_DoubleType_lo_get},
{"Chemistry::OpenBabelc::new_DoubleType", _wrap_new_DoubleType},
{"Chemistry::OpenBabelc::delete_DoubleType", _wrap_delete_DoubleType},
{"Chemistry::OpenBabelc::DoubleMultiply", _wrap_DoubleMultiply},
{"Chemistry::OpenBabelc::DoubleAdd", _wrap_DoubleAdd},
{"Chemistry::OpenBabelc::DoubleModulus", _wrap_DoubleModulus},
{"Chemistry::OpenBabelc::new_OBRandom", _wrap_new_OBRandom},
{"Chemistry::OpenBabelc::OBRandom_Seed", _wrap_OBRandom_Seed},
{"Chemistry::OpenBabelc::OBRandom_TimeSeed", _wrap_OBRandom_TimeSeed},
{"Chemistry::OpenBabelc::OBRandom_NextInt", _wrap_OBRandom_NextInt},
{"Chemistry::OpenBabelc::OBRandom_NextFloat", _wrap_OBRandom_NextFloat},
{"Chemistry::OpenBabelc::delete_OBRandom", _wrap_delete_OBRandom},
{"Chemistry::OpenBabelc::OBStopwatch_Start", _wrap_OBStopwatch_Start},
{"Chemistry::OpenBabelc::OBStopwatch_Lap", _wrap_OBStopwatch_Lap},
{"Chemistry::OpenBabelc::OBStopwatch_Elapsed", _wrap_OBStopwatch_Elapsed},
{"Chemistry::OpenBabelc::new_OBStopwatch", _wrap_new_OBStopwatch},
{"Chemistry::OpenBabelc::delete_OBStopwatch", _wrap_delete_OBStopwatch},
{"Chemistry::OpenBabelc::new_OBSqrtTbl", _wrap_new_OBSqrtTbl},
{"Chemistry::OpenBabelc::delete_OBSqrtTbl", _wrap_delete_OBSqrtTbl},
{"Chemistry::OpenBabelc::OBSqrtTbl_Sqrt", _wrap_OBSqrtTbl_Sqrt},
{"Chemistry::OpenBabelc::OBSqrtTbl_Init", _wrap_OBSqrtTbl_Init},
{"Chemistry::OpenBabelc::rotate_coords", _wrap_rotate_coords},
{"Chemistry::OpenBabelc::calc_rms", _wrap_calc_rms},
{"Chemistry::OpenBabelc::new_vector3", _wrap_new_vector3},
{"Chemistry::OpenBabelc::delete_vector3", _wrap_delete_vector3},
{"Chemistry::OpenBabelc::vector3_Set", _wrap_vector3_Set},
{"Chemistry::OpenBabelc::vector3_SetX", _wrap_vector3_SetX},
{"Chemistry::OpenBabelc::vector3_SetY", _wrap_vector3_SetY},
{"Chemistry::OpenBabelc::vector3_SetZ", _wrap_vector3_SetZ},
{"Chemistry::OpenBabelc::vector3_GetX", _wrap_vector3_GetX},
{"Chemistry::OpenBabelc::vector3_GetY", _wrap_vector3_GetY},
{"Chemistry::OpenBabelc::vector3_GetZ", _wrap_vector3_GetZ},
{"Chemistry::OpenBabelc::vector3_Get", _wrap_vector3_Get},
{"Chemistry::OpenBabelc::vector3_idx", _wrap_vector3_idx},
{"Chemistry::OpenBabelc::vector3_AsArray", _wrap_vector3_AsArray},
{"Chemistry::OpenBabelc::vector3_add", _wrap_vector3_add},
{"Chemistry::OpenBabelc::vector3_randomUnitVector", _wrap_vector3_randomUnitVector},
{"Chemistry::OpenBabelc::vector3_normalize", _wrap_vector3_normalize},
{"Chemistry::OpenBabelc::vector3_CanBeNormalized", _wrap_vector3_CanBeNormalized},
{"Chemistry::OpenBabelc::vector3_length_2", _wrap_vector3_length_2},
{"Chemistry::OpenBabelc::vector3_length", _wrap_vector3_length},
{"Chemistry::OpenBabelc::vector3_x", _wrap_vector3_x},
{"Chemistry::OpenBabelc::vector3_y", _wrap_vector3_y},
{"Chemistry::OpenBabelc::vector3_z", _wrap_vector3_z},
{"Chemistry::OpenBabelc::vector3___eq__", _wrap_vector3___eq__},
{"Chemistry::OpenBabelc::vector3_IsApprox", _wrap_vector3_IsApprox},
{"Chemistry::OpenBabelc::vector3_distSq", _wrap_vector3_distSq},
{"Chemistry::OpenBabelc::vector3_createOrthoVector", _wrap_vector3_createOrthoVector},
{"Chemistry::OpenBabelc::__lshift__", _wrap___lshift__},
{"Chemistry::OpenBabelc::__add__", _wrap___add__},
{"Chemistry::OpenBabelc::__sub__", _wrap___sub__},
{"Chemistry::OpenBabelc::__div__", _wrap___div__},
{"Chemistry::OpenBabelc::__mul__", _wrap___mul__},
{"Chemistry::OpenBabelc::dot", _wrap_dot},
{"Chemistry::OpenBabelc::cross", _wrap_cross},
{"Chemistry::OpenBabelc::vectorAngle", _wrap_vectorAngle},
{"Chemistry::OpenBabelc::CalcTorsionAngle", _wrap_CalcTorsionAngle},
{"Chemistry::OpenBabelc::Point2PlaneSigned", _wrap_Point2PlaneSigned},
{"Chemistry::OpenBabelc::Point2Plane", _wrap_Point2Plane},
{"Chemistry::OpenBabelc::Point2PlaneAngle", _wrap_Point2PlaneAngle},
{"Chemistry::OpenBabelc::Point2Line", _wrap_Point2Line},
{"Chemistry::OpenBabelc::new_matrix3x3", _wrap_new_matrix3x3},
{"Chemistry::OpenBabelc::delete_matrix3x3", _wrap_delete_matrix3x3},
{"Chemistry::OpenBabelc::matrix3x3_GetArray", _wrap_matrix3x3_GetArray},
{"Chemistry::OpenBabelc::matrix3x3___call__", _wrap_matrix3x3___call__},
{"Chemistry::OpenBabelc::matrix3x3_inverse", _wrap_matrix3x3_inverse},
{"Chemistry::OpenBabelc::matrix3x3_transpose", _wrap_matrix3x3_transpose},
{"Chemistry::OpenBabelc::matrix3x3_randomRotation", _wrap_matrix3x3_randomRotation},
{"Chemistry::OpenBabelc::matrix3x3_determinant", _wrap_matrix3x3_determinant},
{"Chemistry::OpenBabelc::matrix3x3_isSymmetric", _wrap_matrix3x3_isSymmetric},
{"Chemistry::OpenBabelc::matrix3x3_isOrthogonal", _wrap_matrix3x3_isOrthogonal},
{"Chemistry::OpenBabelc::matrix3x3_isDiagonal", _wrap_matrix3x3_isDiagonal},
{"Chemistry::OpenBabelc::matrix3x3_isUnitMatrix", _wrap_matrix3x3_isUnitMatrix},
{"Chemistry::OpenBabelc::matrix3x3_Get", _wrap_matrix3x3_Get},
{"Chemistry::OpenBabelc::matrix3x3_Set", _wrap_matrix3x3_Set},
{"Chemistry::OpenBabelc::matrix3x3_SetColumn", _wrap_matrix3x3_SetColumn},
{"Chemistry::OpenBabelc::matrix3x3_SetRow", _wrap_matrix3x3_SetRow},
{"Chemistry::OpenBabelc::matrix3x3_GetColumn", _wrap_matrix3x3_GetColumn},
{"Chemistry::OpenBabelc::matrix3x3_GetRow", _wrap_matrix3x3_GetRow},
{"Chemistry::OpenBabelc::matrix3x3_SetupRotMat", _wrap_matrix3x3_SetupRotMat},
{"Chemistry::OpenBabelc::matrix3x3_PlaneReflection", _wrap_matrix3x3_PlaneReflection},
{"Chemistry::OpenBabelc::matrix3x3_RotAboutAxisByAngle", _wrap_matrix3x3_RotAboutAxisByAngle},
{"Chemistry::OpenBabelc::matrix3x3_FillOrth", _wrap_matrix3x3_FillOrth},
{"Chemistry::OpenBabelc::matrix3x3_findEigenvectorsIfSymmetric", _wrap_matrix3x3_findEigenvectorsIfSymmetric},
{"Chemistry::OpenBabelc::matrix3x3_jacobi", _wrap_matrix3x3_jacobi},
{"Chemistry::OpenBabelc::OBReleaseVersion", _wrap_OBReleaseVersion},
{"Chemistry::OpenBabelc::new_OBGenericData", _wrap_new_OBGenericData},
{"Chemistry::OpenBabelc::OBGenericData_Clone", _wrap_OBGenericData_Clone},
{"Chemistry::OpenBabelc::delete_OBGenericData", _wrap_delete_OBGenericData},
{"Chemistry::OpenBabelc::OBGenericData_SetAttribute", _wrap_OBGenericData_SetAttribute},
{"Chemistry::OpenBabelc::OBGenericData_SetOrigin", _wrap_OBGenericData_SetOrigin},
{"Chemistry::OpenBabelc::OBGenericData_GetAttribute", _wrap_OBGenericData_GetAttribute},
{"Chemistry::OpenBabelc::OBGenericData_GetDataType", _wrap_OBGenericData_GetDataType},
{"Chemistry::OpenBabelc::OBGenericData_GetValue", _wrap_OBGenericData_GetValue},
{"Chemistry::OpenBabelc::OBGenericData_GetOrigin", _wrap_OBGenericData_GetOrigin},
{"Chemistry::OpenBabelc::delete_OBBase", _wrap_delete_OBBase},
{"Chemistry::OpenBabelc::OBBase_Clear", _wrap_OBBase_Clear},
{"Chemistry::OpenBabelc::OBBase_DoTransformations", _wrap_OBBase_DoTransformations},
{"Chemistry::OpenBabelc::OBBase_ClassDescription", _wrap_OBBase_ClassDescription},
{"Chemistry::OpenBabelc::OBBase_GetTitle", _wrap_OBBase_GetTitle},
{"Chemistry::OpenBabelc::OBBase_SetTitle", _wrap_OBBase_SetTitle},
{"Chemistry::OpenBabelc::OBBase_HasData", _wrap_OBBase_HasData},
{"Chemistry::OpenBabelc::OBBase_DeleteData", _wrap_OBBase_DeleteData},
{"Chemistry::OpenBabelc::OBBase_CloneData", _wrap_OBBase_CloneData},
{"Chemistry::OpenBabelc::OBBase_DataSize", _wrap_OBBase_DataSize},
{"Chemistry::OpenBabelc::OBBase_GetAllData", _wrap_OBBase_GetAllData},
{"Chemistry::OpenBabelc::OBBase_GetData", _wrap_OBBase_GetData},
{"Chemistry::OpenBabelc::OBBase_BeginData", _wrap_OBBase_BeginData},
{"Chemistry::OpenBabelc::OBBase_EndData", _wrap_OBBase_EndData},
{"Chemistry::OpenBabelc::new_OBBase", _wrap_new_OBBase},
{"Chemistry::OpenBabelc::new_OBCommentData", _wrap_new_OBCommentData},
{"Chemistry::OpenBabelc::OBCommentData_SetData", _wrap_OBCommentData_SetData},
{"Chemistry::OpenBabelc::OBCommentData_GetData", _wrap_OBCommentData_GetData},
{"Chemistry::OpenBabelc::delete_OBCommentData", _wrap_delete_OBCommentData},
{"Chemistry::OpenBabelc::new_OBExternalBond", _wrap_new_OBExternalBond},
{"Chemistry::OpenBabelc::delete_OBExternalBond", _wrap_delete_OBExternalBond},
{"Chemistry::OpenBabelc::OBExternalBond_GetIdx", _wrap_OBExternalBond_GetIdx},
{"Chemistry::OpenBabelc::OBExternalBond_GetAtom", _wrap_OBExternalBond_GetAtom},
{"Chemistry::OpenBabelc::OBExternalBond_GetBond", _wrap_OBExternalBond_GetBond},
{"Chemistry::OpenBabelc::OBExternalBond_SetIdx", _wrap_OBExternalBond_SetIdx},
{"Chemistry::OpenBabelc::OBExternalBond_SetAtom", _wrap_OBExternalBond_SetAtom},
{"Chemistry::OpenBabelc::OBExternalBond_SetBond", _wrap_OBExternalBond_SetBond},
{"Chemistry::OpenBabelc::new_OBExternalBondData", _wrap_new_OBExternalBondData},
{"Chemistry::OpenBabelc::OBExternalBondData_SetData", _wrap_OBExternalBondData_SetData},
{"Chemistry::OpenBabelc::OBExternalBondData_GetData", _wrap_OBExternalBondData_GetData},
{"Chemistry::OpenBabelc::delete_OBExternalBondData", _wrap_delete_OBExternalBondData},
{"Chemistry::OpenBabelc::new_OBPairData", _wrap_new_OBPairData},
{"Chemistry::OpenBabelc::OBPairData_SetValue", _wrap_OBPairData_SetValue},
{"Chemistry::OpenBabelc::delete_OBPairData", _wrap_delete_OBPairData},
{"Chemistry::OpenBabelc::new_OBSetData", _wrap_new_OBSetData},
{"Chemistry::OpenBabelc::OBSetData_AddData", _wrap_OBSetData_AddData},
{"Chemistry::OpenBabelc::OBSetData_SetData", _wrap_OBSetData_SetData},
{"Chemistry::OpenBabelc::OBSetData_GetData", _wrap_OBSetData_GetData},
{"Chemistry::OpenBabelc::OBSetData_GetBegin", _wrap_OBSetData_GetBegin},
{"Chemistry::OpenBabelc::OBSetData_GetEnd", _wrap_OBSetData_GetEnd},
{"Chemistry::OpenBabelc::OBSetData_DeleteData", _wrap_OBSetData_DeleteData},
{"Chemistry::OpenBabelc::delete_OBSetData", _wrap_delete_OBSetData},
{"Chemistry::OpenBabelc::new_OBVirtualBond", _wrap_new_OBVirtualBond},
{"Chemistry::OpenBabelc::OBVirtualBond_GetBgn", _wrap_OBVirtualBond_GetBgn},
{"Chemistry::OpenBabelc::OBVirtualBond_GetEnd", _wrap_OBVirtualBond_GetEnd},
{"Chemistry::OpenBabelc::OBVirtualBond_GetOrder", _wrap_OBVirtualBond_GetOrder},
{"Chemistry::OpenBabelc::OBVirtualBond_GetStereo", _wrap_OBVirtualBond_GetStereo},
{"Chemistry::OpenBabelc::delete_OBVirtualBond", _wrap_delete_OBVirtualBond},
{"Chemistry::OpenBabelc::new_OBRingData", _wrap_new_OBRingData},
{"Chemistry::OpenBabelc::delete_OBRingData", _wrap_delete_OBRingData},
{"Chemistry::OpenBabelc::OBRingData_SetData", _wrap_OBRingData_SetData},
{"Chemistry::OpenBabelc::OBRingData_PushBack", _wrap_OBRingData_PushBack},
{"Chemistry::OpenBabelc::OBRingData_GetData", _wrap_OBRingData_GetData},
{"Chemistry::OpenBabelc::OBRingData_BeginRings", _wrap_OBRingData_BeginRings},
{"Chemistry::OpenBabelc::OBRingData_EndRings", _wrap_OBRingData_EndRings},
{"Chemistry::OpenBabelc::OBRingData_BeginRing", _wrap_OBRingData_BeginRing},
{"Chemistry::OpenBabelc::OBRingData_NextRing", _wrap_OBRingData_NextRing},
{"Chemistry::OpenBabelc::new_OBUnitCell", _wrap_new_OBUnitCell},
{"Chemistry::OpenBabelc::delete_OBUnitCell", _wrap_delete_OBUnitCell},
{"Chemistry::OpenBabelc::OBUnitCell_SetData", _wrap_OBUnitCell_SetData},
{"Chemistry::OpenBabelc::OBUnitCell_SetOffset", _wrap_OBUnitCell_SetOffset},
{"Chemistry::OpenBabelc::OBUnitCell_SetSpaceGroup", _wrap_OBUnitCell_SetSpaceGroup},
{"Chemistry::OpenBabelc::OBUnitCell_SetLatticeType", _wrap_OBUnitCell_SetLatticeType},
{"Chemistry::OpenBabelc::OBUnitCell_FillUnitCell", _wrap_OBUnitCell_FillUnitCell},
{"Chemistry::OpenBabelc::OBUnitCell_GetA", _wrap_OBUnitCell_GetA},
{"Chemistry::OpenBabelc::OBUnitCell_GetB", _wrap_OBUnitCell_GetB},
{"Chemistry::OpenBabelc::OBUnitCell_GetC", _wrap_OBUnitCell_GetC},
{"Chemistry::OpenBabelc::OBUnitCell_GetAlpha", _wrap_OBUnitCell_GetAlpha},
{"Chemistry::OpenBabelc::OBUnitCell_GetBeta", _wrap_OBUnitCell_GetBeta},
{"Chemistry::OpenBabelc::OBUnitCell_GetGamma", _wrap_OBUnitCell_GetGamma},
{"Chemistry::OpenBabelc::OBUnitCell_GetOffset", _wrap_OBUnitCell_GetOffset},
{"Chemistry::OpenBabelc::OBUnitCell_GetSpaceGroup", _wrap_OBUnitCell_GetSpaceGroup},
{"Chemistry::OpenBabelc::OBUnitCell_GetSpaceGroupName", _wrap_OBUnitCell_GetSpaceGroupName},
{"Chemistry::OpenBabelc::OBUnitCell_GetLatticeType", _wrap_OBUnitCell_GetLatticeType},
{"Chemistry::OpenBabelc::OBUnitCell_GetCellVectors", _wrap_OBUnitCell_GetCellVectors},
{"Chemistry::OpenBabelc::OBUnitCell_GetCellMatrix", _wrap_OBUnitCell_GetCellMatrix},
{"Chemistry::OpenBabelc::OBUnitCell_GetOrthoMatrix", _wrap_OBUnitCell_GetOrthoMatrix},
{"Chemistry::OpenBabelc::OBUnitCell_GetOrientationMatrix", _wrap_OBUnitCell_GetOrientationMatrix},
{"Chemistry::OpenBabelc::OBUnitCell_GetFractionalMatrix", _wrap_OBUnitCell_GetFractionalMatrix},
{"Chemistry::OpenBabelc::OBUnitCell_FractionalToCartesian", _wrap_OBUnitCell_FractionalToCartesian},
{"Chemistry::OpenBabelc::OBUnitCell_CartesianToFractional", _wrap_OBUnitCell_CartesianToFractional},
{"Chemistry::OpenBabelc::OBUnitCell_WrapCartesianCoordinate", _wrap_OBUnitCell_WrapCartesianCoordinate},
{"Chemistry::OpenBabelc::OBUnitCell_WrapFractionalCoordinate", _wrap_OBUnitCell_WrapFractionalCoordinate},
{"Chemistry::OpenBabelc::OBUnitCell_GetSpaceGroupNumber", _wrap_OBUnitCell_GetSpaceGroupNumber},
{"Chemistry::OpenBabelc::OBUnitCell_GetCellVolume", _wrap_OBUnitCell_GetCellVolume},
{"Chemistry::OpenBabelc::new_OBConformerData", _wrap_new_OBConformerData},
{"Chemistry::OpenBabelc::delete_OBConformerData", _wrap_delete_OBConformerData},
{"Chemistry::OpenBabelc::OBConformerData_SetDimension", _wrap_OBConformerData_SetDimension},
{"Chemistry::OpenBabelc::OBConformerData_SetEnergies", _wrap_OBConformerData_SetEnergies},
{"Chemistry::OpenBabelc::OBConformerData_SetForces", _wrap_OBConformerData_SetForces},
{"Chemistry::OpenBabelc::OBConformerData_SetVelocities", _wrap_OBConformerData_SetVelocities},
{"Chemistry::OpenBabelc::OBConformerData_SetDisplacements", _wrap_OBConformerData_SetDisplacements},
{"Chemistry::OpenBabelc::OBConformerData_SetData", _wrap_OBConformerData_SetData},
{"Chemistry::OpenBabelc::OBConformerData_GetDimension", _wrap_OBConformerData_GetDimension},
{"Chemistry::OpenBabelc::OBConformerData_GetEnergies", _wrap_OBConformerData_GetEnergies},
{"Chemistry::OpenBabelc::OBConformerData_GetForces", _wrap_OBConformerData_GetForces},
{"Chemistry::OpenBabelc::OBConformerData_GetVelocities", _wrap_OBConformerData_GetVelocities},
{"Chemistry::OpenBabelc::OBConformerData_GetDisplacements", _wrap_OBConformerData_GetDisplacements},
{"Chemistry::OpenBabelc::OBConformerData_GetData", _wrap_OBConformerData_GetData},
{"Chemistry::OpenBabelc::new_OBSymmetryData", _wrap_new_OBSymmetryData},
{"Chemistry::OpenBabelc::delete_OBSymmetryData", _wrap_delete_OBSymmetryData},
{"Chemistry::OpenBabelc::OBSymmetryData_SetData", _wrap_OBSymmetryData_SetData},
{"Chemistry::OpenBabelc::OBSymmetryData_SetPointGroup", _wrap_OBSymmetryData_SetPointGroup},
{"Chemistry::OpenBabelc::OBSymmetryData_SetSpaceGroup", _wrap_OBSymmetryData_SetSpaceGroup},
{"Chemistry::OpenBabelc::OBSymmetryData_GetPointGroup", _wrap_OBSymmetryData_GetPointGroup},
{"Chemistry::OpenBabelc::OBSymmetryData_GetSpaceGroup", _wrap_OBSymmetryData_GetSpaceGroup},
{"Chemistry::OpenBabelc::new_OBTorsion", _wrap_new_OBTorsion},
{"Chemistry::OpenBabelc::delete_OBTorsion", _wrap_delete_OBTorsion},
{"Chemistry::OpenBabelc::OBTorsion_Clear", _wrap_OBTorsion_Clear},
{"Chemistry::OpenBabelc::OBTorsion_Empty", _wrap_OBTorsion_Empty},
{"Chemistry::OpenBabelc::OBTorsion_AddTorsion", _wrap_OBTorsion_AddTorsion},
{"Chemistry::OpenBabelc::OBTorsion_SetAngle", _wrap_OBTorsion_SetAngle},
{"Chemistry::OpenBabelc::OBTorsion_SetData", _wrap_OBTorsion_SetData},
{"Chemistry::OpenBabelc::OBTorsion_GetAngle", _wrap_OBTorsion_GetAngle},
{"Chemistry::OpenBabelc::OBTorsion_GetBondIdx", _wrap_OBTorsion_GetBondIdx},
{"Chemistry::OpenBabelc::OBTorsion_GetSize", _wrap_OBTorsion_GetSize},
{"Chemistry::OpenBabelc::OBTorsion_GetBC", _wrap_OBTorsion_GetBC},
{"Chemistry::OpenBabelc::OBTorsion_GetADs", _wrap_OBTorsion_GetADs},
{"Chemistry::OpenBabelc::OBTorsion_IsProtonRotor", _wrap_OBTorsion_IsProtonRotor},
{"Chemistry::OpenBabelc::OBTorsionData_Clear", _wrap_OBTorsionData_Clear},
{"Chemistry::OpenBabelc::OBTorsionData_GetData", _wrap_OBTorsionData_GetData},
{"Chemistry::OpenBabelc::OBTorsionData_GetSize", _wrap_OBTorsionData_GetSize},
{"Chemistry::OpenBabelc::OBTorsionData_SetData", _wrap_OBTorsionData_SetData},
{"Chemistry::OpenBabelc::OBTorsionData_FillTorsionArray", _wrap_OBTorsionData_FillTorsionArray},
{"Chemistry::OpenBabelc::delete_OBTorsionData", _wrap_delete_OBTorsionData},
{"Chemistry::OpenBabelc::new_OBAngle", _wrap_new_OBAngle},
{"Chemistry::OpenBabelc::delete_OBAngle", _wrap_delete_OBAngle},
{"Chemistry::OpenBabelc::OBAngle___eq__", _wrap_OBAngle___eq__},
{"Chemistry::OpenBabelc::OBAngle_Clear", _wrap_OBAngle_Clear},
{"Chemistry::OpenBabelc::OBAngle_GetAngle", _wrap_OBAngle_GetAngle},
{"Chemistry::OpenBabelc::OBAngle_SetAngle", _wrap_OBAngle_SetAngle},
{"Chemistry::OpenBabelc::OBAngle_SetAtoms", _wrap_OBAngle_SetAtoms},
{"Chemistry::OpenBabelc::OBAngleData_Clear", _wrap_OBAngleData_Clear},
{"Chemistry::OpenBabelc::OBAngleData_FillAngleArray", _wrap_OBAngleData_FillAngleArray},
{"Chemistry::OpenBabelc::OBAngleData_SetData", _wrap_OBAngleData_SetData},
{"Chemistry::OpenBabelc::OBAngleData_GetSize", _wrap_OBAngleData_GetSize},
{"Chemistry::OpenBabelc::delete_OBAngleData", _wrap_delete_OBAngleData},
{"Chemistry::OpenBabelc::new_OBChiralData", _wrap_new_OBChiralData},
{"Chemistry::OpenBabelc::delete_OBChiralData", _wrap_delete_OBChiralData},
{"Chemistry::OpenBabelc::OBChiralData_Clear", _wrap_OBChiralData_Clear},
{"Chemistry::OpenBabelc::OBChiralData_GetAtom4Refs", _wrap_OBChiralData_GetAtom4Refs},
{"Chemistry::OpenBabelc::OBChiralData_GetAtomRef", _wrap_OBChiralData_GetAtomRef},
{"Chemistry::OpenBabelc::OBChiralData_SetAtom4Refs", _wrap_OBChiralData_SetAtom4Refs},
{"Chemistry::OpenBabelc::OBChiralData_AddAtomRef", _wrap_OBChiralData_AddAtomRef},
{"Chemistry::OpenBabelc::OBChiralData_GetSize", _wrap_OBChiralData_GetSize},
{"Chemistry::OpenBabelc::new_OBSerialNums", _wrap_new_OBSerialNums},
{"Chemistry::OpenBabelc::OBSerialNums_GetData", _wrap_OBSerialNums_GetData},
{"Chemistry::OpenBabelc::OBSerialNums_SetData", _wrap_OBSerialNums_SetData},
{"Chemistry::OpenBabelc::delete_OBSerialNums", _wrap_delete_OBSerialNums},
{"Chemistry::OpenBabelc::new_OBVibrationData", _wrap_new_OBVibrationData},
{"Chemistry::OpenBabelc::delete_OBVibrationData", _wrap_delete_OBVibrationData},
{"Chemistry::OpenBabelc::OBVibrationData_SetData", _wrap_OBVibrationData_SetData},
{"Chemistry::OpenBabelc::OBVibrationData_GetLx", _wrap_OBVibrationData_GetLx},
{"Chemistry::OpenBabelc::OBVibrationData_GetFrequencies", _wrap_OBVibrationData_GetFrequencies},
{"Chemistry::OpenBabelc::OBVibrationData_GetIntensities", _wrap_OBVibrationData_GetIntensities},
{"Chemistry::OpenBabelc::OBVibrationData_GetRamanActivities", _wrap_OBVibrationData_GetRamanActivities},
{"Chemistry::OpenBabelc::OBVibrationData_GetNumberOfFrequencies", _wrap_OBVibrationData_GetNumberOfFrequencies},
{"Chemistry::OpenBabelc::new_OBDOSData", _wrap_new_OBDOSData},
{"Chemistry::OpenBabelc::delete_OBDOSData", _wrap_delete_OBDOSData},
{"Chemistry::OpenBabelc::OBDOSData_SetData", _wrap_OBDOSData_SetData},
{"Chemistry::OpenBabelc::OBDOSData_GetFermiEnergy", _wrap_OBDOSData_GetFermiEnergy},
{"Chemistry::OpenBabelc::OBDOSData_GetEnergies", _wrap_OBDOSData_GetEnergies},
{"Chemistry::OpenBabelc::OBDOSData_GetDensities", _wrap_OBDOSData_GetDensities},
{"Chemistry::OpenBabelc::OBDOSData_GetIntegration", _wrap_OBDOSData_GetIntegration},
{"Chemistry::OpenBabelc::OBOrbital_SetData", _wrap_OBOrbital_SetData},
{"Chemistry::OpenBabelc::OBOrbital_GetEnergy", _wrap_OBOrbital_GetEnergy},
{"Chemistry::OpenBabelc::OBOrbital_GetOccupation", _wrap_OBOrbital_GetOccupation},
{"Chemistry::OpenBabelc::OBOrbital_GetSymbol", _wrap_OBOrbital_GetSymbol},
{"Chemistry::OpenBabelc::new_OBOrbital", _wrap_new_OBOrbital},
{"Chemistry::OpenBabelc::delete_OBOrbital", _wrap_delete_OBOrbital},
{"Chemistry::OpenBabelc::new_OBOrbitalData", _wrap_new_OBOrbitalData},
{"Chemistry::OpenBabelc::delete_OBOrbitalData", _wrap_delete_OBOrbitalData},
{"Chemistry::OpenBabelc::OBOrbitalData_SetAlphaOrbitals", _wrap_OBOrbitalData_SetAlphaOrbitals},
{"Chemistry::OpenBabelc::OBOrbitalData_SetBetaOrbitals", _wrap_OBOrbitalData_SetBetaOrbitals},
{"Chemistry::OpenBabelc::OBOrbitalData_SetHOMO", _wrap_OBOrbitalData_SetHOMO},
{"Chemistry::OpenBabelc::OBOrbitalData_SetOpenShell", _wrap_OBOrbitalData_SetOpenShell},
{"Chemistry::OpenBabelc::OBOrbitalData_IsOpenShell", _wrap_OBOrbitalData_IsOpenShell},
{"Chemistry::OpenBabelc::OBOrbitalData_GetAlphaHOMO", _wrap_OBOrbitalData_GetAlphaHOMO},
{"Chemistry::OpenBabelc::OBOrbitalData_GetBetaHOMO", _wrap_OBOrbitalData_GetBetaHOMO},
{"Chemistry::OpenBabelc::OBOrbitalData_GetAlphaOrbitals", _wrap_OBOrbitalData_GetAlphaOrbitals},
{"Chemistry::OpenBabelc::OBOrbitalData_GetBetaOrbitals", _wrap_OBOrbitalData_GetBetaOrbitals},
{"Chemistry::OpenBabelc::OBOrbitalData_LoadClosedShellOrbitals", _wrap_OBOrbitalData_LoadClosedShellOrbitals},
{"Chemistry::OpenBabelc::OBOrbitalData_LoadAlphaOrbitals", _wrap_OBOrbitalData_LoadAlphaOrbitals},
{"Chemistry::OpenBabelc::OBOrbitalData_LoadBetaOrbitals", _wrap_OBOrbitalData_LoadBetaOrbitals},
{"Chemistry::OpenBabelc::new_OBElectronicTransitionData", _wrap_new_OBElectronicTransitionData},
{"Chemistry::OpenBabelc::delete_OBElectronicTransitionData", _wrap_delete_OBElectronicTransitionData},
{"Chemistry::OpenBabelc::OBElectronicTransitionData_SetData", _wrap_OBElectronicTransitionData_SetData},
{"Chemistry::OpenBabelc::OBElectronicTransitionData_SetEDipole", _wrap_OBElectronicTransitionData_SetEDipole},
{"Chemistry::OpenBabelc::OBElectronicTransitionData_SetRotatoryStrengthsVelocity", _wrap_OBElectronicTransitionData_SetRotatoryStrengthsVelocity},
{"Chemistry::OpenBabelc::OBElectronicTransitionData_SetRotatoryStrengthsLength", _wrap_OBElectronicTransitionData_SetRotatoryStrengthsLength},
{"Chemistry::OpenBabelc::OBElectronicTransitionData_GetWavelengths", _wrap_OBElectronicTransitionData_GetWavelengths},
{"Chemistry::OpenBabelc::OBElectronicTransitionData_GetForces", _wrap_OBElectronicTransitionData_GetForces},
{"Chemistry::OpenBabelc::OBElectronicTransitionData_GetEDipole", _wrap_OBElectronicTransitionData_GetEDipole},
{"Chemistry::OpenBabelc::OBElectronicTransitionData_GetRotatoryStrengthsVelocity", _wrap_OBElectronicTransitionData_GetRotatoryStrengthsVelocity},
{"Chemistry::OpenBabelc::OBElectronicTransitionData_GetRotatoryStrengthsLength", _wrap_OBElectronicTransitionData_GetRotatoryStrengthsLength},
{"Chemistry::OpenBabelc::new_OBRotationData", _wrap_new_OBRotationData},
{"Chemistry::OpenBabelc::delete_OBRotationData", _wrap_delete_OBRotationData},
{"Chemistry::OpenBabelc::OBRotationData_SetData", _wrap_OBRotationData_SetData},
{"Chemistry::OpenBabelc::OBRotationData_GetRotConsts", _wrap_OBRotationData_GetRotConsts},
{"Chemistry::OpenBabelc::OBRotationData_GetSymmetryNumber", _wrap_OBRotationData_GetSymmetryNumber},
{"Chemistry::OpenBabelc::OBRotationData_GetRotorType", _wrap_OBRotationData_GetRotorType},
{"Chemistry::OpenBabelc::new_OBVectorData", _wrap_new_OBVectorData},
{"Chemistry::OpenBabelc::delete_OBVectorData", _wrap_delete_OBVectorData},
{"Chemistry::OpenBabelc::OBVectorData_SetData", _wrap_OBVectorData_SetData},
{"Chemistry::OpenBabelc::OBVectorData_GetData", _wrap_OBVectorData_GetData},
{"Chemistry::OpenBabelc::new_OBMatrixData", _wrap_new_OBMatrixData},
{"Chemistry::OpenBabelc::delete_OBMatrixData", _wrap_delete_OBMatrixData},
{"Chemistry::OpenBabelc::OBMatrixData_SetData", _wrap_OBMatrixData_SetData},
{"Chemistry::OpenBabelc::OBMatrixData_GetData", _wrap_OBMatrixData_GetData},
{"Chemistry::OpenBabelc::new_OBGridData", _wrap_new_OBGridData},
{"Chemistry::OpenBabelc::delete_OBGridData", _wrap_delete_OBGridData},
{"Chemistry::OpenBabelc::OBGridData_GetXAxis", _wrap_OBGridData_GetXAxis},
{"Chemistry::OpenBabelc::OBGridData_GetYAxis", _wrap_OBGridData_GetYAxis},
{"Chemistry::OpenBabelc::OBGridData_GetZAxis", _wrap_OBGridData_GetZAxis},
{"Chemistry::OpenBabelc::OBGridData_GetAxes", _wrap_OBGridData_GetAxes},
{"Chemistry::OpenBabelc::OBGridData_GetNumberOfPoints", _wrap_OBGridData_GetNumberOfPoints},
{"Chemistry::OpenBabelc::OBGridData_GetNumberOfSteps", _wrap_OBGridData_GetNumberOfSteps},
{"Chemistry::OpenBabelc::OBGridData_GetValues", _wrap_OBGridData_GetValues},
{"Chemistry::OpenBabelc::OBGridData_GetValue", _wrap_OBGridData_GetValue},
{"Chemistry::OpenBabelc::OBGridData_GetUnit", _wrap_OBGridData_GetUnit},
{"Chemistry::OpenBabelc::OBGridData_GetMinValue", _wrap_OBGridData_GetMinValue},
{"Chemistry::OpenBabelc::OBGridData_GetMaxValue", _wrap_OBGridData_GetMaxValue},
{"Chemistry::OpenBabelc::OBGridData_GetOriginVector", _wrap_OBGridData_GetOriginVector},
{"Chemistry::OpenBabelc::OBGridData_GetMaxVector", _wrap_OBGridData_GetMaxVector},
{"Chemistry::OpenBabelc::OBGridData_GetUnrestricted", _wrap_OBGridData_GetUnrestricted},
{"Chemistry::OpenBabelc::OBGridData_GetNumSymmetries", _wrap_OBGridData_GetNumSymmetries},
{"Chemistry::OpenBabelc::OBGridData_SetNumberOfPoints", _wrap_OBGridData_SetNumberOfPoints},
{"Chemistry::OpenBabelc::OBGridData_SetLimits", _wrap_OBGridData_SetLimits},
{"Chemistry::OpenBabelc::OBGridData_SetValue", _wrap_OBGridData_SetValue},
{"Chemistry::OpenBabelc::OBGridData_SetValues", _wrap_OBGridData_SetValues},
{"Chemistry::OpenBabelc::OBGridData_SetUnit", _wrap_OBGridData_SetUnit},
{"Chemistry::OpenBabelc::OBGridData_SetUnrestricted", _wrap_OBGridData_SetUnrestricted},
{"Chemistry::OpenBabelc::OBGridData_SetNumSymmetries", _wrap_OBGridData_SetNumSymmetries},
{"Chemistry::OpenBabelc::new_Dummy", _wrap_new_Dummy},
{"Chemistry::OpenBabelc::delete_Dummy", _wrap_delete_Dummy},
{"Chemistry::OpenBabelc::CharPtrLess___call__", _wrap_CharPtrLess___call__},
{"Chemistry::OpenBabelc::new_CharPtrLess", _wrap_new_CharPtrLess},
{"Chemistry::OpenBabelc::delete_CharPtrLess", _wrap_delete_CharPtrLess},
{"Chemistry::OpenBabelc::delete_OBPlugin", _wrap_delete_OBPlugin},
{"Chemistry::OpenBabelc::OBPlugin_Description", _wrap_OBPlugin_Description},
{"Chemistry::OpenBabelc::OBPlugin_TypeID", _wrap_OBPlugin_TypeID},
{"Chemistry::OpenBabelc::OBPlugin_Display", _wrap_OBPlugin_Display},
{"Chemistry::OpenBabelc::OBPlugin_MakeInstance", _wrap_OBPlugin_MakeInstance},
{"Chemistry::OpenBabelc::OBPlugin_Init", _wrap_OBPlugin_Init},
{"Chemistry::OpenBabelc::OBPlugin_GetPlugin", _wrap_OBPlugin_GetPlugin},
{"Chemistry::OpenBabelc::OBPlugin_GetID", _wrap_OBPlugin_GetID},
{"Chemistry::OpenBabelc::OBPlugin_ListAsVector", _wrap_OBPlugin_ListAsVector},
{"Chemistry::OpenBabelc::OBPlugin_List", _wrap_OBPlugin_List},
{"Chemistry::OpenBabelc::OBPlugin_ListAsString", _wrap_OBPlugin_ListAsString},
{"Chemistry::OpenBabelc::OBPlugin_FirstLine", _wrap_OBPlugin_FirstLine},
{"Chemistry::OpenBabelc::OBPlugin_Begin", _wrap_OBPlugin_Begin},
{"Chemistry::OpenBabelc::OBPlugin_End", _wrap_OBPlugin_End},
{"Chemistry::OpenBabelc::OBPlugin_GetMap", _wrap_OBPlugin_GetMap},
{"Chemistry::OpenBabelc::new_stringbuf", _wrap_new_stringbuf},
{"Chemistry::OpenBabelc::delete_stringbuf", _wrap_delete_stringbuf},
{"Chemistry::OpenBabelc::new_OBError", _wrap_new_OBError},
{"Chemistry::OpenBabelc::OBError_message", _wrap_OBError_message},
{"Chemistry::OpenBabelc::OBError_GetMethod", _wrap_OBError_GetMethod},
{"Chemistry::OpenBabelc::OBError_GetError", _wrap_OBError_GetError},
{"Chemistry::OpenBabelc::OBError_GetExplanation", _wrap_OBError_GetExplanation},
{"Chemistry::OpenBabelc::OBError_GetPossibleCause", _wrap_OBError_GetPossibleCause},
{"Chemistry::OpenBabelc::OBError_GetSuggestedRemedy", _wrap_OBError_GetSuggestedRemedy},
{"Chemistry::OpenBabelc::OBError_GetLevel", _wrap_OBError_GetLevel},
{"Chemistry::OpenBabelc::OBError___eq__", _wrap_OBError___eq__},
{"Chemistry::OpenBabelc::delete_OBError", _wrap_delete_OBError},
{"Chemistry::OpenBabelc::new_OBMessageHandler", _wrap_new_OBMessageHandler},
{"Chemistry::OpenBabelc::delete_OBMessageHandler", _wrap_delete_OBMessageHandler},
{"Chemistry::OpenBabelc::OBMessageHandler_ThrowError", _wrap_OBMessageHandler_ThrowError},
{"Chemistry::OpenBabelc::OBMessageHandler_GetMessagesOfLevel", _wrap_OBMessageHandler_GetMessagesOfLevel},
{"Chemistry::OpenBabelc::OBMessageHandler_StartLogging", _wrap_OBMessageHandler_StartLogging},
{"Chemistry::OpenBabelc::OBMessageHandler_StopLogging", _wrap_OBMessageHandler_StopLogging},
{"Chemistry::OpenBabelc::OBMessageHandler_SetMaxLogEntries", _wrap_OBMessageHandler_SetMaxLogEntries},
{"Chemistry::OpenBabelc::OBMessageHandler_GetMaxLogEntries", _wrap_OBMessageHandler_GetMaxLogEntries},
{"Chemistry::OpenBabelc::OBMessageHandler_ClearLog", _wrap_OBMessageHandler_ClearLog},
{"Chemistry::OpenBabelc::OBMessageHandler_SetOutputLevel", _wrap_OBMessageHandler_SetOutputLevel},
{"Chemistry::OpenBabelc::OBMessageHandler_GetOutputLevel", _wrap_OBMessageHandler_GetOutputLevel},
{"Chemistry::OpenBabelc::OBMessageHandler_SetOutputStream", _wrap_OBMessageHandler_SetOutputStream},
{"Chemistry::OpenBabelc::OBMessageHandler_GetOutputStream", _wrap_OBMessageHandler_GetOutputStream},
{"Chemistry::OpenBabelc::OBMessageHandler_StartErrorWrap", _wrap_OBMessageHandler_StartErrorWrap},
{"Chemistry::OpenBabelc::OBMessageHandler_StopErrorWrap", _wrap_OBMessageHandler_StopErrorWrap},
{"Chemistry::OpenBabelc::OBMessageHandler_GetErrorMessageCount", _wrap_OBMessageHandler_GetErrorMessageCount},
{"Chemistry::OpenBabelc::OBMessageHandler_GetWarningMessageCount", _wrap_OBMessageHandler_GetWarningMessageCount},
{"Chemistry::OpenBabelc::OBMessageHandler_GetInfoMessageCount", _wrap_OBMessageHandler_GetInfoMessageCount},
{"Chemistry::OpenBabelc::OBMessageHandler_GetAuditMessageCount", _wrap_OBMessageHandler_GetAuditMessageCount},
{"Chemistry::OpenBabelc::OBMessageHandler_GetDebugMessageCount", _wrap_OBMessageHandler_GetDebugMessageCount},
{"Chemistry::OpenBabelc::OBMessageHandler_GetMessageSummary", _wrap_OBMessageHandler_GetMessageSummary},
{"Chemistry::OpenBabelc::delete_obLogBuf", _wrap_delete_obLogBuf},
{"Chemistry::OpenBabelc::new_obLogBuf", _wrap_new_obLogBuf},
{"Chemistry::OpenBabelc::OBFormat_Default", _wrap_OBFormat_Default},
{"Chemistry::OpenBabelc::OBFormat_FindType", _wrap_OBFormat_FindType},
{"Chemistry::OpenBabelc::OBFormat_ReadMolecule", _wrap_OBFormat_ReadMolecule},
{"Chemistry::OpenBabelc::OBFormat_ReadChemObject", _wrap_OBFormat_ReadChemObject},
{"Chemistry::OpenBabelc::OBFormat_WriteMolecule", _wrap_OBFormat_WriteMolecule},
{"Chemistry::OpenBabelc::OBFormat_WriteChemObject", _wrap_OBFormat_WriteChemObject},
{"Chemistry::OpenBabelc::OBFormat_TargetClassDescription", _wrap_OBFormat_TargetClassDescription},
{"Chemistry::OpenBabelc::OBFormat_GetType", _wrap_OBFormat_GetType},
{"Chemistry::OpenBabelc::OBFormat_SpecificationURL", _wrap_OBFormat_SpecificationURL},
{"Chemistry::OpenBabelc::OBFormat_GetMIMEType", _wrap_OBFormat_GetMIMEType},
{"Chemistry::OpenBabelc::OBFormat_Flags", _wrap_OBFormat_Flags},
{"Chemistry::OpenBabelc::OBFormat_SkipObjects", _wrap_OBFormat_SkipObjects},
{"Chemistry::OpenBabelc::OBFormat_MakeNewInstance", _wrap_OBFormat_MakeNewInstance},
{"Chemistry::OpenBabelc::OBFormat_RegisterFormat", _wrap_OBFormat_RegisterFormat},
{"Chemistry::OpenBabelc::OBFormat_Display", _wrap_OBFormat_Display},
{"Chemistry::OpenBabelc::OBFormat_FormatFromMIME", _wrap_OBFormat_FormatFromMIME},
{"Chemistry::OpenBabelc::delete_OBFormat", _wrap_delete_OBFormat},
{"Chemistry::OpenBabelc::new_OBConversion", _wrap_new_OBConversion},
{"Chemistry::OpenBabelc::delete_OBConversion", _wrap_delete_OBConversion},
{"Chemistry::OpenBabelc::OBConversion_RegisterFormat", _wrap_OBConversion_RegisterFormat},
{"Chemistry::OpenBabelc::OBConversion_FindFormat", _wrap_OBConversion_FindFormat},
{"Chemistry::OpenBabelc::OBConversion_FormatFromExt", _wrap_OBConversion_FormatFromExt},
{"Chemistry::OpenBabelc::OBConversion_FormatFromMIME", _wrap_OBConversion_FormatFromMIME},
{"Chemistry::OpenBabelc::OBConversion_GetNextFormat", _wrap_OBConversion_GetNextFormat},
{"Chemistry::OpenBabelc::OBConversion_Description", _wrap_OBConversion_Description},
{"Chemistry::OpenBabelc::OBConversion_GetInStream", _wrap_OBConversion_GetInStream},
{"Chemistry::OpenBabelc::OBConversion_GetOutStream", _wrap_OBConversion_GetOutStream},
{"Chemistry::OpenBabelc::OBConversion_SetInStream", _wrap_OBConversion_SetInStream},
{"Chemistry::OpenBabelc::OBConversion_SetOutStream", _wrap_OBConversion_SetOutStream},
{"Chemistry::OpenBabelc::OBConversion_SetInAndOutFormats", _wrap_OBConversion_SetInAndOutFormats},
{"Chemistry::OpenBabelc::OBConversion_SetInFormat", _wrap_OBConversion_SetInFormat},
{"Chemistry::OpenBabelc::OBConversion_SetOutFormat", _wrap_OBConversion_SetOutFormat},
{"Chemistry::OpenBabelc::OBConversion_GetInFormat", _wrap_OBConversion_GetInFormat},
{"Chemistry::OpenBabelc::OBConversion_GetOutFormat", _wrap_OBConversion_GetOutFormat},
{"Chemistry::OpenBabelc::OBConversion_GetInFilename", _wrap_OBConversion_GetInFilename},
{"Chemistry::OpenBabelc::OBConversion_GetInPos", _wrap_OBConversion_GetInPos},
{"Chemistry::OpenBabelc::OBConversion_GetInLen", _wrap_OBConversion_GetInLen},
{"Chemistry::OpenBabelc::OBConversion_GetTitle", _wrap_OBConversion_GetTitle},
{"Chemistry::OpenBabelc::OBConversion_GetAuxConv", _wrap_OBConversion_GetAuxConv},
{"Chemistry::OpenBabelc::OBConversion_SetAuxConv", _wrap_OBConversion_SetAuxConv},
{"Chemistry::OpenBabelc::OBConversion_IsOption", _wrap_OBConversion_IsOption},
{"Chemistry::OpenBabelc::OBConversion_GetOptions", _wrap_OBConversion_GetOptions},
{"Chemistry::OpenBabelc::OBConversion_AddOption", _wrap_OBConversion_AddOption},
{"Chemistry::OpenBabelc::OBConversion_RemoveOption", _wrap_OBConversion_RemoveOption},
{"Chemistry::OpenBabelc::OBConversion_SetOptions", _wrap_OBConversion_SetOptions},
{"Chemistry::OpenBabelc::OBConversion_RegisterOptionParam", _wrap_OBConversion_RegisterOptionParam},
{"Chemistry::OpenBabelc::OBConversion_GetOptionParams", _wrap_OBConversion_GetOptionParams},
{"Chemistry::OpenBabelc::OBConversion_CopyOptions", _wrap_OBConversion_CopyOptions},
{"Chemistry::OpenBabelc::OBConversion_GetSupportedInputFormat", _wrap_OBConversion_GetSupportedInputFormat},
{"Chemistry::OpenBabelc::OBConversion_GetSupportedOutputFormat", _wrap_OBConversion_GetSupportedOutputFormat},
{"Chemistry::OpenBabelc::OBConversion_Convert", _wrap_OBConversion_Convert},
{"Chemistry::OpenBabelc::OBConversion_FullConvert", _wrap_OBConversion_FullConvert},
{"Chemistry::OpenBabelc::OBConversion_AddChemObject", _wrap_OBConversion_AddChemObject},
{"Chemistry::OpenBabelc::OBConversion_GetChemObject", _wrap_OBConversion_GetChemObject},
{"Chemistry::OpenBabelc::OBConversion_IsLast", _wrap_OBConversion_IsLast},
{"Chemistry::OpenBabelc::OBConversion_IsFirstInput", _wrap_OBConversion_IsFirstInput},
{"Chemistry::OpenBabelc::OBConversion_SetFirstInput", _wrap_OBConversion_SetFirstInput},
{"Chemistry::OpenBabelc::OBConversion_GetOutputIndex", _wrap_OBConversion_GetOutputIndex},
{"Chemistry::OpenBabelc::OBConversion_SetOutputIndex", _wrap_OBConversion_SetOutputIndex},
{"Chemistry::OpenBabelc::OBConversion_SetMoreFilesToCome", _wrap_OBConversion_SetMoreFilesToCome},
{"Chemistry::OpenBabelc::OBConversion_SetOneObjectOnly", _wrap_OBConversion_SetOneObjectOnly},
{"Chemistry::OpenBabelc::OBConversion_SetLast", _wrap_OBConversion_SetLast},
{"Chemistry::OpenBabelc::OBConversion_IsLastFile", _wrap_OBConversion_IsLastFile},
{"Chemistry::OpenBabelc::OBConversion_GetCount", _wrap_OBConversion_GetCount},
{"Chemistry::OpenBabelc::OBConversion_GetDefaultFormat", _wrap_OBConversion_GetDefaultFormat},
{"Chemistry::OpenBabelc::OBConversion_Write", _wrap_OBConversion_Write},
{"Chemistry::OpenBabelc::OBConversion_WriteString", _wrap_OBConversion_WriteString},
{"Chemistry::OpenBabelc::OBConversion_WriteFile", _wrap_OBConversion_WriteFile},
{"Chemistry::OpenBabelc::OBConversion_CloseOutFile", _wrap_OBConversion_CloseOutFile},
{"Chemistry::OpenBabelc::OBConversion_Read", _wrap_OBConversion_Read},
{"Chemistry::OpenBabelc::OBConversion_ReadString", _wrap_OBConversion_ReadString},
{"Chemistry::OpenBabelc::OBConversion_ReadFile", _wrap_OBConversion_ReadFile},
{"Chemistry::OpenBabelc::OBConversion_OpenInAndOutFiles", _wrap_OBConversion_OpenInAndOutFiles},
{"Chemistry::OpenBabelc::OBConversion_ReportNumberConverted", _wrap_OBConversion_ReportNumberConverted},
{"Chemistry::OpenBabelc::OBConversion_NumInputObjects", _wrap_OBConversion_NumInputObjects},
{"Chemistry::OpenBabelc::new_OBResidue", _wrap_new_OBResidue},
{"Chemistry::OpenBabelc::delete_OBResidue", _wrap_delete_OBResidue},
{"Chemistry::OpenBabelc::OBResidue_AddAtom", _wrap_OBResidue_AddAtom},
{"Chemistry::OpenBabelc::OBResidue_InsertAtom", _wrap_OBResidue_InsertAtom},
{"Chemistry::OpenBabelc::OBResidue_RemoveAtom", _wrap_OBResidue_RemoveAtom},
{"Chemistry::OpenBabelc::OBResidue_SetName", _wrap_OBResidue_SetName},
{"Chemistry::OpenBabelc::OBResidue_SetNum", _wrap_OBResidue_SetNum},
{"Chemistry::OpenBabelc::OBResidue_SetChain", _wrap_OBResidue_SetChain},
{"Chemistry::OpenBabelc::OBResidue_SetChainNum", _wrap_OBResidue_SetChainNum},
{"Chemistry::OpenBabelc::OBResidue_SetIdx", _wrap_OBResidue_SetIdx},
{"Chemistry::OpenBabelc::OBResidue_SetAtomID", _wrap_OBResidue_SetAtomID},
{"Chemistry::OpenBabelc::OBResidue_SetHetAtom", _wrap_OBResidue_SetHetAtom},
{"Chemistry::OpenBabelc::OBResidue_SetSerialNum", _wrap_OBResidue_SetSerialNum},
{"Chemistry::OpenBabelc::OBResidue_GetName", _wrap_OBResidue_GetName},
{"Chemistry::OpenBabelc::OBResidue_GetNum", _wrap_OBResidue_GetNum},
{"Chemistry::OpenBabelc::OBResidue_GetNumString", _wrap_OBResidue_GetNumString},
{"Chemistry::OpenBabelc::OBResidue_GetNumAtoms", _wrap_OBResidue_GetNumAtoms},
{"Chemistry::OpenBabelc::OBResidue_GetChain", _wrap_OBResidue_GetChain},
{"Chemistry::OpenBabelc::OBResidue_GetChainNum", _wrap_OBResidue_GetChainNum},
{"Chemistry::OpenBabelc::OBResidue_GetIdx", _wrap_OBResidue_GetIdx},
{"Chemistry::OpenBabelc::OBResidue_GetResKey", _wrap_OBResidue_GetResKey},
{"Chemistry::OpenBabelc::OBResidue_GetAtoms", _wrap_OBResidue_GetAtoms},
{"Chemistry::OpenBabelc::OBResidue_GetBonds", _wrap_OBResidue_GetBonds},
{"Chemistry::OpenBabelc::OBResidue_GetAtomID", _wrap_OBResidue_GetAtomID},
{"Chemistry::OpenBabelc::OBResidue_GetSerialNum", _wrap_OBResidue_GetSerialNum},
{"Chemistry::OpenBabelc::OBResidue_GetAminoAcidProperty", _wrap_OBResidue_GetAminoAcidProperty},
{"Chemistry::OpenBabelc::OBResidue_GetAtomProperty", _wrap_OBResidue_GetAtomProperty},
{"Chemistry::OpenBabelc::OBResidue_GetResidueProperty", _wrap_OBResidue_GetResidueProperty},
{"Chemistry::OpenBabelc::OBResidue_IsHetAtom", _wrap_OBResidue_IsHetAtom},
{"Chemistry::OpenBabelc::OBResidue_IsResidueType", _wrap_OBResidue_IsResidueType},
{"Chemistry::OpenBabelc::OBResidue_BeginAtoms", _wrap_OBResidue_BeginAtoms},
{"Chemistry::OpenBabelc::OBResidue_EndAtoms", _wrap_OBResidue_EndAtoms},
{"Chemistry::OpenBabelc::OBResidue_BeginAtom", _wrap_OBResidue_BeginAtom},
{"Chemistry::OpenBabelc::OBResidue_NextAtom", _wrap_OBResidue_NextAtom},
{"Chemistry::OpenBabelc::OBInternalCoord__a_set", _wrap_OBInternalCoord__a_set},
{"Chemistry::OpenBabelc::OBInternalCoord__a_get", _wrap_OBInternalCoord__a_get},
{"Chemistry::OpenBabelc::OBInternalCoord__b_set", _wrap_OBInternalCoord__b_set},
{"Chemistry::OpenBabelc::OBInternalCoord__b_get", _wrap_OBInternalCoord__b_get},
{"Chemistry::OpenBabelc::OBInternalCoord__c_set", _wrap_OBInternalCoord__c_set},
{"Chemistry::OpenBabelc::OBInternalCoord__c_get", _wrap_OBInternalCoord__c_get},
{"Chemistry::OpenBabelc::OBInternalCoord__dst_set", _wrap_OBInternalCoord__dst_set},
{"Chemistry::OpenBabelc::OBInternalCoord__dst_get", _wrap_OBInternalCoord__dst_get},
{"Chemistry::OpenBabelc::OBInternalCoord__ang_set", _wrap_OBInternalCoord__ang_set},
{"Chemistry::OpenBabelc::OBInternalCoord__ang_get", _wrap_OBInternalCoord__ang_get},
{"Chemistry::OpenBabelc::OBInternalCoord__tor_set", _wrap_OBInternalCoord__tor_set},
{"Chemistry::OpenBabelc::OBInternalCoord__tor_get", _wrap_OBInternalCoord__tor_get},
{"Chemistry::OpenBabelc::new_OBInternalCoord", _wrap_new_OBInternalCoord},
{"Chemistry::OpenBabelc::delete_OBInternalCoord", _wrap_delete_OBInternalCoord},
{"Chemistry::OpenBabelc::OBAtom_Visit_set", _wrap_OBAtom_Visit_set},
{"Chemistry::OpenBabelc::OBAtom_Visit_get", _wrap_OBAtom_Visit_get},
{"Chemistry::OpenBabelc::new_OBAtom", _wrap_new_OBAtom},
{"Chemistry::OpenBabelc::delete_OBAtom", _wrap_delete_OBAtom},
{"Chemistry::OpenBabelc::OBAtom___eq__", _wrap_OBAtom___eq__},
{"Chemistry::OpenBabelc::OBAtom_Duplicate", _wrap_OBAtom_Duplicate},
{"Chemistry::OpenBabelc::OBAtom_SetIdx", _wrap_OBAtom_SetIdx},
{"Chemistry::OpenBabelc::OBAtom_SetId", _wrap_OBAtom_SetId},
{"Chemistry::OpenBabelc::OBAtom_SetHyb", _wrap_OBAtom_SetHyb},
{"Chemistry::OpenBabelc::OBAtom_SetAtomicNum", _wrap_OBAtom_SetAtomicNum},
{"Chemistry::OpenBabelc::OBAtom_SetIsotope", _wrap_OBAtom_SetIsotope},
{"Chemistry::OpenBabelc::OBAtom_SetImplicitValence", _wrap_OBAtom_SetImplicitValence},
{"Chemistry::OpenBabelc::OBAtom_IncrementImplicitValence", _wrap_OBAtom_IncrementImplicitValence},
{"Chemistry::OpenBabelc::OBAtom_DecrementImplicitValence", _wrap_OBAtom_DecrementImplicitValence},
{"Chemistry::OpenBabelc::OBAtom_SetFormalCharge", _wrap_OBAtom_SetFormalCharge},
{"Chemistry::OpenBabelc::OBAtom_SetSpinMultiplicity", _wrap_OBAtom_SetSpinMultiplicity},
{"Chemistry::OpenBabelc::OBAtom_SetType", _wrap_OBAtom_SetType},
{"Chemistry::OpenBabelc::OBAtom_SetPartialCharge", _wrap_OBAtom_SetPartialCharge},
{"Chemistry::OpenBabelc::OBAtom_SetCoordPtr", _wrap_OBAtom_SetCoordPtr},
{"Chemistry::OpenBabelc::OBAtom_SetVector", _wrap_OBAtom_SetVector},
{"Chemistry::OpenBabelc::OBAtom_SetResidue", _wrap_OBAtom_SetResidue},
{"Chemistry::OpenBabelc::OBAtom_SetParent", _wrap_OBAtom_SetParent},
{"Chemistry::OpenBabelc::OBAtom_SetAromatic", _wrap_OBAtom_SetAromatic},
{"Chemistry::OpenBabelc::OBAtom_UnsetAromatic", _wrap_OBAtom_UnsetAromatic},
{"Chemistry::OpenBabelc::OBAtom_SetClockwiseStereo", _wrap_OBAtom_SetClockwiseStereo},
{"Chemistry::OpenBabelc::OBAtom_SetAntiClockwiseStereo", _wrap_OBAtom_SetAntiClockwiseStereo},
{"Chemistry::OpenBabelc::OBAtom_SetPositiveStereo", _wrap_OBAtom_SetPositiveStereo},
{"Chemistry::OpenBabelc::OBAtom_SetNegativeStereo", _wrap_OBAtom_SetNegativeStereo},
{"Chemistry::OpenBabelc::OBAtom_UnsetStereo", _wrap_OBAtom_UnsetStereo},
{"Chemistry::OpenBabelc::OBAtom_SetInRing", _wrap_OBAtom_SetInRing},
{"Chemistry::OpenBabelc::OBAtom_SetChiral", _wrap_OBAtom_SetChiral},
{"Chemistry::OpenBabelc::OBAtom_ClearCoordPtr", _wrap_OBAtom_ClearCoordPtr},
{"Chemistry::OpenBabelc::OBAtom_GetFormalCharge", _wrap_OBAtom_GetFormalCharge},
{"Chemistry::OpenBabelc::OBAtom_GetAtomicNum", _wrap_OBAtom_GetAtomicNum},
{"Chemistry::OpenBabelc::OBAtom_GetIsotope", _wrap_OBAtom_GetIsotope},
{"Chemistry::OpenBabelc::OBAtom_GetSpinMultiplicity", _wrap_OBAtom_GetSpinMultiplicity},
{"Chemistry::OpenBabelc::OBAtom_GetAtomicMass", _wrap_OBAtom_GetAtomicMass},
{"Chemistry::OpenBabelc::OBAtom_GetExactMass", _wrap_OBAtom_GetExactMass},
{"Chemistry::OpenBabelc::OBAtom_GetIdx", _wrap_OBAtom_GetIdx},
{"Chemistry::OpenBabelc::OBAtom_GetIndex", _wrap_OBAtom_GetIndex},
{"Chemistry::OpenBabelc::OBAtom_GetId", _wrap_OBAtom_GetId},
{"Chemistry::OpenBabelc::OBAtom_GetCoordinateIdx", _wrap_OBAtom_GetCoordinateIdx},
{"Chemistry::OpenBabelc::OBAtom_GetCIdx", _wrap_OBAtom_GetCIdx},
{"Chemistry::OpenBabelc::OBAtom_GetValence", _wrap_OBAtom_GetValence},
{"Chemistry::OpenBabelc::OBAtom_GetHyb", _wrap_OBAtom_GetHyb},
{"Chemistry::OpenBabelc::OBAtom_GetImplicitValence", _wrap_OBAtom_GetImplicitValence},
{"Chemistry::OpenBabelc::OBAtom_GetHvyValence", _wrap_OBAtom_GetHvyValence},
{"Chemistry::OpenBabelc::OBAtom_GetHeteroValence", _wrap_OBAtom_GetHeteroValence},
{"Chemistry::OpenBabelc::OBAtom_GetType", _wrap_OBAtom_GetType},
{"Chemistry::OpenBabelc::OBAtom_GetX", _wrap_OBAtom_GetX},
{"Chemistry::OpenBabelc::OBAtom_GetY", _wrap_OBAtom_GetY},
{"Chemistry::OpenBabelc::OBAtom_GetZ", _wrap_OBAtom_GetZ},
{"Chemistry::OpenBabelc::OBAtom_x", _wrap_OBAtom_x},
{"Chemistry::OpenBabelc::OBAtom_y", _wrap_OBAtom_y},
{"Chemistry::OpenBabelc::OBAtom_z", _wrap_OBAtom_z},
{"Chemistry::OpenBabelc::OBAtom_GetCoordinate", _wrap_OBAtom_GetCoordinate},
{"Chemistry::OpenBabelc::OBAtom_GetVector", _wrap_OBAtom_GetVector},
{"Chemistry::OpenBabelc::OBAtom_GetPartialCharge", _wrap_OBAtom_GetPartialCharge},
{"Chemistry::OpenBabelc::OBAtom_GetResidue", _wrap_OBAtom_GetResidue},
{"Chemistry::OpenBabelc::OBAtom_GetParent", _wrap_OBAtom_GetParent},
{"Chemistry::OpenBabelc::OBAtom_GetNewBondVector", _wrap_OBAtom_GetNewBondVector},
{"Chemistry::OpenBabelc::OBAtom_GetBond", _wrap_OBAtom_GetBond},
{"Chemistry::OpenBabelc::OBAtom_GetNextAtom", _wrap_OBAtom_GetNextAtom},
{"Chemistry::OpenBabelc::OBAtom_BeginBonds", _wrap_OBAtom_BeginBonds},
{"Chemistry::OpenBabelc::OBAtom_EndBonds", _wrap_OBAtom_EndBonds},
{"Chemistry::OpenBabelc::OBAtom_BeginBond", _wrap_OBAtom_BeginBond},
{"Chemistry::OpenBabelc::OBAtom_NextBond", _wrap_OBAtom_NextBond},
{"Chemistry::OpenBabelc::OBAtom_BeginNbrAtom", _wrap_OBAtom_BeginNbrAtom},
{"Chemistry::OpenBabelc::OBAtom_NextNbrAtom", _wrap_OBAtom_NextNbrAtom},
{"Chemistry::OpenBabelc::OBAtom_GetDistance", _wrap_OBAtom_GetDistance},
{"Chemistry::OpenBabelc::OBAtom_GetAngle", _wrap_OBAtom_GetAngle},
{"Chemistry::OpenBabelc::OBAtom_NewResidue", _wrap_OBAtom_NewResidue},
{"Chemistry::OpenBabelc::OBAtom_AddResidue", _wrap_OBAtom_AddResidue},
{"Chemistry::OpenBabelc::OBAtom_DeleteResidue", _wrap_OBAtom_DeleteResidue},
{"Chemistry::OpenBabelc::OBAtom_AddBond", _wrap_OBAtom_AddBond},
{"Chemistry::OpenBabelc::OBAtom_InsertBond", _wrap_OBAtom_InsertBond},
{"Chemistry::OpenBabelc::OBAtom_DeleteBond", _wrap_OBAtom_DeleteBond},
{"Chemistry::OpenBabelc::OBAtom_ClearBond", _wrap_OBAtom_ClearBond},
{"Chemistry::OpenBabelc::OBAtom_HtoMethyl", _wrap_OBAtom_HtoMethyl},
{"Chemistry::OpenBabelc::OBAtom_SetHybAndGeom", _wrap_OBAtom_SetHybAndGeom},
{"Chemistry::OpenBabelc::OBAtom_ForceNoH", _wrap_OBAtom_ForceNoH},
{"Chemistry::OpenBabelc::OBAtom_HasNoHForced", _wrap_OBAtom_HasNoHForced},
{"Chemistry::OpenBabelc::OBAtom_ForceImplH", _wrap_OBAtom_ForceImplH},
{"Chemistry::OpenBabelc::OBAtom_HasImplHForced", _wrap_OBAtom_HasImplHForced},
{"Chemistry::OpenBabelc::OBAtom_CountFreeOxygens", _wrap_OBAtom_CountFreeOxygens},
{"Chemistry::OpenBabelc::OBAtom_ImplicitHydrogenCount", _wrap_OBAtom_ImplicitHydrogenCount},
{"Chemistry::OpenBabelc::OBAtom_ExplicitHydrogenCount", _wrap_OBAtom_ExplicitHydrogenCount},
{"Chemistry::OpenBabelc::OBAtom_MemberOfRingCount", _wrap_OBAtom_MemberOfRingCount},
{"Chemistry::OpenBabelc::OBAtom_MemberOfRingSize", _wrap_OBAtom_MemberOfRingSize},
{"Chemistry::OpenBabelc::OBAtom_CountRingBonds", _wrap_OBAtom_CountRingBonds},
{"Chemistry::OpenBabelc::OBAtom_SmallestBondAngle", _wrap_OBAtom_SmallestBondAngle},
{"Chemistry::OpenBabelc::OBAtom_AverageBondAngle", _wrap_OBAtom_AverageBondAngle},
{"Chemistry::OpenBabelc::OBAtom_BOSum", _wrap_OBAtom_BOSum},
{"Chemistry::OpenBabelc::OBAtom_KBOSum", _wrap_OBAtom_KBOSum},
{"Chemistry::OpenBabelc::OBAtom_HasResidue", _wrap_OBAtom_HasResidue},
{"Chemistry::OpenBabelc::OBAtom_IsHydrogen", _wrap_OBAtom_IsHydrogen},
{"Chemistry::OpenBabelc::OBAtom_IsCarbon", _wrap_OBAtom_IsCarbon},
{"Chemistry::OpenBabelc::OBAtom_IsNitrogen", _wrap_OBAtom_IsNitrogen},
{"Chemistry::OpenBabelc::OBAtom_IsOxygen", _wrap_OBAtom_IsOxygen},
{"Chemistry::OpenBabelc::OBAtom_IsSulfur", _wrap_OBAtom_IsSulfur},
{"Chemistry::OpenBabelc::OBAtom_IsPhosphorus", _wrap_OBAtom_IsPhosphorus},
{"Chemistry::OpenBabelc::OBAtom_IsAromatic", _wrap_OBAtom_IsAromatic},
{"Chemistry::OpenBabelc::OBAtom_IsInRing", _wrap_OBAtom_IsInRing},
{"Chemistry::OpenBabelc::OBAtom_IsInRingSize", _wrap_OBAtom_IsInRingSize},
{"Chemistry::OpenBabelc::OBAtom_IsHeteroatom", _wrap_OBAtom_IsHeteroatom},
{"Chemistry::OpenBabelc::OBAtom_IsNotCorH", _wrap_OBAtom_IsNotCorH},
{"Chemistry::OpenBabelc::OBAtom_IsConnected", _wrap_OBAtom_IsConnected},
{"Chemistry::OpenBabelc::OBAtom_IsOneThree", _wrap_OBAtom_IsOneThree},
{"Chemistry::OpenBabelc::OBAtom_IsOneFour", _wrap_OBAtom_IsOneFour},
{"Chemistry::OpenBabelc::OBAtom_IsCarboxylOxygen", _wrap_OBAtom_IsCarboxylOxygen},
{"Chemistry::OpenBabelc::OBAtom_IsPhosphateOxygen", _wrap_OBAtom_IsPhosphateOxygen},
{"Chemistry::OpenBabelc::OBAtom_IsSulfateOxygen", _wrap_OBAtom_IsSulfateOxygen},
{"Chemistry::OpenBabelc::OBAtom_IsNitroOxygen", _wrap_OBAtom_IsNitroOxygen},
{"Chemistry::OpenBabelc::OBAtom_IsAmideNitrogen", _wrap_OBAtom_IsAmideNitrogen},
{"Chemistry::OpenBabelc::OBAtom_IsPolarHydrogen", _wrap_OBAtom_IsPolarHydrogen},
{"Chemistry::OpenBabelc::OBAtom_IsNonPolarHydrogen", _wrap_OBAtom_IsNonPolarHydrogen},
{"Chemistry::OpenBabelc::OBAtom_IsAromaticNOxide", _wrap_OBAtom_IsAromaticNOxide},
{"Chemistry::OpenBabelc::OBAtom_IsChiral", _wrap_OBAtom_IsChiral},
{"Chemistry::OpenBabelc::OBAtom_IsAxial", _wrap_OBAtom_IsAxial},
{"Chemistry::OpenBabelc::OBAtom_IsClockwise", _wrap_OBAtom_IsClockwise},
{"Chemistry::OpenBabelc::OBAtom_IsAntiClockwise", _wrap_OBAtom_IsAntiClockwise},
{"Chemistry::OpenBabelc::OBAtom_IsPositiveStereo", _wrap_OBAtom_IsPositiveStereo},
{"Chemistry::OpenBabelc::OBAtom_IsNegativeStereo", _wrap_OBAtom_IsNegativeStereo},
{"Chemistry::OpenBabelc::OBAtom_HasChiralitySpecified", _wrap_OBAtom_HasChiralitySpecified},
{"Chemistry::OpenBabelc::OBAtom_HasChiralVolume", _wrap_OBAtom_HasChiralVolume},
{"Chemistry::OpenBabelc::OBAtom_IsHbondAcceptor", _wrap_OBAtom_IsHbondAcceptor},
{"Chemistry::OpenBabelc::OBAtom_IsHbondDonor", _wrap_OBAtom_IsHbondDonor},
{"Chemistry::OpenBabelc::OBAtom_IsHbondDonorH", _wrap_OBAtom_IsHbondDonorH},
{"Chemistry::OpenBabelc::OBAtom_HasAlphaBetaUnsat", _wrap_OBAtom_HasAlphaBetaUnsat},
{"Chemistry::OpenBabelc::OBAtom_HasBondOfOrder", _wrap_OBAtom_HasBondOfOrder},
{"Chemistry::OpenBabelc::OBAtom_CountBondsOfOrder", _wrap_OBAtom_CountBondsOfOrder},
{"Chemistry::OpenBabelc::OBAtom_HasNonSingleBond", _wrap_OBAtom_HasNonSingleBond},
{"Chemistry::OpenBabelc::OBAtom_HasSingleBond", _wrap_OBAtom_HasSingleBond},
{"Chemistry::OpenBabelc::OBAtom_HasDoubleBond", _wrap_OBAtom_HasDoubleBond},
{"Chemistry::OpenBabelc::OBAtom_HasAromaticBond", _wrap_OBAtom_HasAromaticBond},
{"Chemistry::OpenBabelc::OBAtom_MatchesSMARTS", _wrap_OBAtom_MatchesSMARTS},
{"Chemistry::OpenBabelc::OBBond_Visit_set", _wrap_OBBond_Visit_set},
{"Chemistry::OpenBabelc::OBBond_Visit_get", _wrap_OBBond_Visit_get},
{"Chemistry::OpenBabelc::new_OBBond", _wrap_new_OBBond},
{"Chemistry::OpenBabelc::delete_OBBond", _wrap_delete_OBBond},
{"Chemistry::OpenBabelc::OBBond_SetIdx", _wrap_OBBond_SetIdx},
{"Chemistry::OpenBabelc::OBBond_SetId", _wrap_OBBond_SetId},
{"Chemistry::OpenBabelc::OBBond_SetBO", _wrap_OBBond_SetBO},
{"Chemistry::OpenBabelc::OBBond_SetBondOrder", _wrap_OBBond_SetBondOrder},
{"Chemistry::OpenBabelc::OBBond_SetBegin", _wrap_OBBond_SetBegin},
{"Chemistry::OpenBabelc::OBBond_SetEnd", _wrap_OBBond_SetEnd},
{"Chemistry::OpenBabelc::OBBond_SetParent", _wrap_OBBond_SetParent},
{"Chemistry::OpenBabelc::OBBond_SetLength", _wrap_OBBond_SetLength},
{"Chemistry::OpenBabelc::OBBond_Set", _wrap_OBBond_Set},
{"Chemistry::OpenBabelc::OBBond_SetKSingle", _wrap_OBBond_SetKSingle},
{"Chemistry::OpenBabelc::OBBond_SetKDouble", _wrap_OBBond_SetKDouble},
{"Chemistry::OpenBabelc::OBBond_SetKTriple", _wrap_OBBond_SetKTriple},
{"Chemistry::OpenBabelc::OBBond_SetAromatic", _wrap_OBBond_SetAromatic},
{"Chemistry::OpenBabelc::OBBond_SetWedge", _wrap_OBBond_SetWedge},
{"Chemistry::OpenBabelc::OBBond_SetHash", _wrap_OBBond_SetHash},
{"Chemistry::OpenBabelc::OBBond_SetWedgeOrHash", _wrap_OBBond_SetWedgeOrHash},
{"Chemistry::OpenBabelc::OBBond_SetUp", _wrap_OBBond_SetUp},
{"Chemistry::OpenBabelc::OBBond_SetDown", _wrap_OBBond_SetDown},
{"Chemistry::OpenBabelc::OBBond_SetInRing", _wrap_OBBond_SetInRing},
{"Chemistry::OpenBabelc::OBBond_SetClosure", _wrap_OBBond_SetClosure},
{"Chemistry::OpenBabelc::OBBond_UnsetHash", _wrap_OBBond_UnsetHash},
{"Chemistry::OpenBabelc::OBBond_UnsetWedge", _wrap_OBBond_UnsetWedge},
{"Chemistry::OpenBabelc::OBBond_UnsetUp", _wrap_OBBond_UnsetUp},
{"Chemistry::OpenBabelc::OBBond_UnsetDown", _wrap_OBBond_UnsetDown},
{"Chemistry::OpenBabelc::OBBond_UnsetAromatic", _wrap_OBBond_UnsetAromatic},
{"Chemistry::OpenBabelc::OBBond_UnsetKekule", _wrap_OBBond_UnsetKekule},
{"Chemistry::OpenBabelc::OBBond_GetIdx", _wrap_OBBond_GetIdx},
{"Chemistry::OpenBabelc::OBBond_GetId", _wrap_OBBond_GetId},
{"Chemistry::OpenBabelc::OBBond_GetBO", _wrap_OBBond_GetBO},
{"Chemistry::OpenBabelc::OBBond_GetBondOrder", _wrap_OBBond_GetBondOrder},
{"Chemistry::OpenBabelc::OBBond_GetFlags", _wrap_OBBond_GetFlags},
{"Chemistry::OpenBabelc::OBBond_GetBeginAtomIdx", _wrap_OBBond_GetBeginAtomIdx},
{"Chemistry::OpenBabelc::OBBond_GetEndAtomIdx", _wrap_OBBond_GetEndAtomIdx},
{"Chemistry::OpenBabelc::OBBond_GetBeginAtom", _wrap_OBBond_GetBeginAtom},
{"Chemistry::OpenBabelc::OBBond_GetEndAtom", _wrap_OBBond_GetEndAtom},
{"Chemistry::OpenBabelc::OBBond_GetNbrAtom", _wrap_OBBond_GetNbrAtom},
{"Chemistry::OpenBabelc::OBBond_GetParent", _wrap_OBBond_GetParent},
{"Chemistry::OpenBabelc::OBBond_GetEquibLength", _wrap_OBBond_GetEquibLength},
{"Chemistry::OpenBabelc::OBBond_GetLength", _wrap_OBBond_GetLength},
{"Chemistry::OpenBabelc::OBBond_GetNbrAtomIdx", _wrap_OBBond_GetNbrAtomIdx},
{"Chemistry::OpenBabelc::OBBond_FindSmallestRing", _wrap_OBBond_FindSmallestRing},
{"Chemistry::OpenBabelc::OBBond_IsAromatic", _wrap_OBBond_IsAromatic},
{"Chemistry::OpenBabelc::OBBond_IsInRing", _wrap_OBBond_IsInRing},
{"Chemistry::OpenBabelc::OBBond_IsRotor", _wrap_OBBond_IsRotor},
{"Chemistry::OpenBabelc::OBBond_IsAmide", _wrap_OBBond_IsAmide},
{"Chemistry::OpenBabelc::OBBond_IsPrimaryAmide", _wrap_OBBond_IsPrimaryAmide},
{"Chemistry::OpenBabelc::OBBond_IsSecondaryAmide", _wrap_OBBond_IsSecondaryAmide},
{"Chemistry::OpenBabelc::OBBond_IsTertiaryAmide", _wrap_OBBond_IsTertiaryAmide},
{"Chemistry::OpenBabelc::OBBond_IsEster", _wrap_OBBond_IsEster},
{"Chemistry::OpenBabelc::OBBond_IsCarbonyl", _wrap_OBBond_IsCarbonyl},
{"Chemistry::OpenBabelc::OBBond_IsSingle", _wrap_OBBond_IsSingle},
{"Chemistry::OpenBabelc::OBBond_IsDouble", _wrap_OBBond_IsDouble},
{"Chemistry::OpenBabelc::OBBond_IsTriple", _wrap_OBBond_IsTriple},
{"Chemistry::OpenBabelc::OBBond_IsKSingle", _wrap_OBBond_IsKSingle},
{"Chemistry::OpenBabelc::OBBond_IsKDouble", _wrap_OBBond_IsKDouble},
{"Chemistry::OpenBabelc::OBBond_IsKTriple", _wrap_OBBond_IsKTriple},
{"Chemistry::OpenBabelc::OBBond_IsClosure", _wrap_OBBond_IsClosure},
{"Chemistry::OpenBabelc::OBBond_IsUp", _wrap_OBBond_IsUp},
{"Chemistry::OpenBabelc::OBBond_IsDown", _wrap_OBBond_IsDown},
{"Chemistry::OpenBabelc::OBBond_IsWedge", _wrap_OBBond_IsWedge},
{"Chemistry::OpenBabelc::OBBond_IsHash", _wrap_OBBond_IsHash},
{"Chemistry::OpenBabelc::OBBond_IsWedgeOrHash", _wrap_OBBond_IsWedgeOrHash},
{"Chemistry::OpenBabelc::OBBond_IsCisOrTrans", _wrap_OBBond_IsCisOrTrans},
{"Chemistry::OpenBabelc::OBBond_IsDoubleBondGeometry", _wrap_OBBond_IsDoubleBondGeometry},
{"Chemistry::OpenBabelc::new_OBMol", _wrap_new_OBMol},
{"Chemistry::OpenBabelc::delete_OBMol", _wrap_delete_OBMol},
{"Chemistry::OpenBabelc::OBMol_add", _wrap_OBMol_add},
{"Chemistry::OpenBabelc::OBMol_ReserveAtoms", _wrap_OBMol_ReserveAtoms},
{"Chemistry::OpenBabelc::OBMol_CreateAtom", _wrap_OBMol_CreateAtom},
{"Chemistry::OpenBabelc::OBMol_CreateBond", _wrap_OBMol_CreateBond},
{"Chemistry::OpenBabelc::OBMol_CreateResidue", _wrap_OBMol_CreateResidue},
{"Chemistry::OpenBabelc::OBMol_DestroyAtom", _wrap_OBMol_DestroyAtom},
{"Chemistry::OpenBabelc::OBMol_DestroyBond", _wrap_OBMol_DestroyBond},
{"Chemistry::OpenBabelc::OBMol_DestroyResidue", _wrap_OBMol_DestroyResidue},
{"Chemistry::OpenBabelc::OBMol_AddAtom", _wrap_OBMol_AddAtom},
{"Chemistry::OpenBabelc::OBMol_InsertAtom", _wrap_OBMol_InsertAtom},
{"Chemistry::OpenBabelc::OBMol_AddBond", _wrap_OBMol_AddBond},
{"Chemistry::OpenBabelc::OBMol_AddResidue", _wrap_OBMol_AddResidue},
{"Chemistry::OpenBabelc::OBMol_NewAtom", _wrap_OBMol_NewAtom},
{"Chemistry::OpenBabelc::OBMol_NewBond", _wrap_OBMol_NewBond},
{"Chemistry::OpenBabelc::OBMol_NewResidue", _wrap_OBMol_NewResidue},
{"Chemistry::OpenBabelc::OBMol_DeleteAtom", _wrap_OBMol_DeleteAtom},
{"Chemistry::OpenBabelc::OBMol_DeleteBond", _wrap_OBMol_DeleteBond},
{"Chemistry::OpenBabelc::OBMol_DeleteResidue", _wrap_OBMol_DeleteResidue},
{"Chemistry::OpenBabelc::OBMol_BeginModify", _wrap_OBMol_BeginModify},
{"Chemistry::OpenBabelc::OBMol_EndModify", _wrap_OBMol_EndModify},
{"Chemistry::OpenBabelc::OBMol_GetMod", _wrap_OBMol_GetMod},
{"Chemistry::OpenBabelc::OBMol_IncrementMod", _wrap_OBMol_IncrementMod},
{"Chemistry::OpenBabelc::OBMol_DecrementMod", _wrap_OBMol_DecrementMod},
{"Chemistry::OpenBabelc::OBMol_GetFlags", _wrap_OBMol_GetFlags},
{"Chemistry::OpenBabelc::OBMol_GetTitle", _wrap_OBMol_GetTitle},
{"Chemistry::OpenBabelc::OBMol_NumAtoms", _wrap_OBMol_NumAtoms},
{"Chemistry::OpenBabelc::OBMol_NumBonds", _wrap_OBMol_NumBonds},
{"Chemistry::OpenBabelc::OBMol_NumHvyAtoms", _wrap_OBMol_NumHvyAtoms},
{"Chemistry::OpenBabelc::OBMol_NumResidues", _wrap_OBMol_NumResidues},
{"Chemistry::OpenBabelc::OBMol_NumRotors", _wrap_OBMol_NumRotors},
{"Chemistry::OpenBabelc::OBMol_GetAtom", _wrap_OBMol_GetAtom},
{"Chemistry::OpenBabelc::OBMol_GetAtomById", _wrap_OBMol_GetAtomById},
{"Chemistry::OpenBabelc::OBMol_GetFirstAtom", _wrap_OBMol_GetFirstAtom},
{"Chemistry::OpenBabelc::OBMol_GetBondById", _wrap_OBMol_GetBondById},
{"Chemistry::OpenBabelc::OBMol_GetBond", _wrap_OBMol_GetBond},
{"Chemistry::OpenBabelc::OBMol_GetResidue", _wrap_OBMol_GetResidue},
{"Chemistry::OpenBabelc::OBMol_GetInternalCoord", _wrap_OBMol_GetInternalCoord},
{"Chemistry::OpenBabelc::OBMol_GetTorsion", _wrap_OBMol_GetTorsion},
{"Chemistry::OpenBabelc::OBMol_GetAngle", _wrap_OBMol_GetAngle},
{"Chemistry::OpenBabelc::OBMol_GetFormula", _wrap_OBMol_GetFormula},
{"Chemistry::OpenBabelc::OBMol_GetSpacedFormula", _wrap_OBMol_GetSpacedFormula},
{"Chemistry::OpenBabelc::OBMol_GetMolWt", _wrap_OBMol_GetMolWt},
{"Chemistry::OpenBabelc::OBMol_GetExactMass", _wrap_OBMol_GetExactMass},
{"Chemistry::OpenBabelc::OBMol_GetTotalCharge", _wrap_OBMol_GetTotalCharge},
{"Chemistry::OpenBabelc::OBMol_GetTotalSpinMultiplicity", _wrap_OBMol_GetTotalSpinMultiplicity},
{"Chemistry::OpenBabelc::OBMol_GetDimension", _wrap_OBMol_GetDimension},
{"Chemistry::OpenBabelc::OBMol_GetCoordinates", _wrap_OBMol_GetCoordinates},
{"Chemistry::OpenBabelc::OBMol_GetSSSR", _wrap_OBMol_GetSSSR},
{"Chemistry::OpenBabelc::OBMol_GetLSSR", _wrap_OBMol_GetLSSR},
{"Chemistry::OpenBabelc::OBMol_AutomaticFormalCharge", _wrap_OBMol_AutomaticFormalCharge},
{"Chemistry::OpenBabelc::OBMol_AutomaticPartialCharge", _wrap_OBMol_AutomaticPartialCharge},
{"Chemistry::OpenBabelc::OBMol_SetTitle", _wrap_OBMol_SetTitle},
{"Chemistry::OpenBabelc::OBMol_SetFormula", _wrap_OBMol_SetFormula},
{"Chemistry::OpenBabelc::OBMol_SetEnergy", _wrap_OBMol_SetEnergy},
{"Chemistry::OpenBabelc::OBMol_SetDimension", _wrap_OBMol_SetDimension},
{"Chemistry::OpenBabelc::OBMol_SetTotalCharge", _wrap_OBMol_SetTotalCharge},
{"Chemistry::OpenBabelc::OBMol_SetTotalSpinMultiplicity", _wrap_OBMol_SetTotalSpinMultiplicity},
{"Chemistry::OpenBabelc::OBMol_SetInternalCoord", _wrap_OBMol_SetInternalCoord},
{"Chemistry::OpenBabelc::OBMol_SetAutomaticFormalCharge", _wrap_OBMol_SetAutomaticFormalCharge},
{"Chemistry::OpenBabelc::OBMol_SetAutomaticPartialCharge", _wrap_OBMol_SetAutomaticPartialCharge},
{"Chemistry::OpenBabelc::OBMol_SetAromaticPerceived", _wrap_OBMol_SetAromaticPerceived},
{"Chemistry::OpenBabelc::OBMol_SetSSSRPerceived", _wrap_OBMol_SetSSSRPerceived},
{"Chemistry::OpenBabelc::OBMol_SetLSSRPerceived", _wrap_OBMol_SetLSSRPerceived},
{"Chemistry::OpenBabelc::OBMol_SetRingAtomsAndBondsPerceived", _wrap_OBMol_SetRingAtomsAndBondsPerceived},
{"Chemistry::OpenBabelc::OBMol_SetAtomTypesPerceived", _wrap_OBMol_SetAtomTypesPerceived},
{"Chemistry::OpenBabelc::OBMol_SetRingTypesPerceived", _wrap_OBMol_SetRingTypesPerceived},
{"Chemistry::OpenBabelc::OBMol_SetChainsPerceived", _wrap_OBMol_SetChainsPerceived},
{"Chemistry::OpenBabelc::OBMol_SetChiralityPerceived", _wrap_OBMol_SetChiralityPerceived},
{"Chemistry::OpenBabelc::OBMol_SetPartialChargesPerceived", _wrap_OBMol_SetPartialChargesPerceived},
{"Chemistry::OpenBabelc::OBMol_SetHybridizationPerceived", _wrap_OBMol_SetHybridizationPerceived},
{"Chemistry::OpenBabelc::OBMol_SetImplicitValencePerceived", _wrap_OBMol_SetImplicitValencePerceived},
{"Chemistry::OpenBabelc::OBMol_SetKekulePerceived", _wrap_OBMol_SetKekulePerceived},
{"Chemistry::OpenBabelc::OBMol_SetClosureBondsPerceived", _wrap_OBMol_SetClosureBondsPerceived},
{"Chemistry::OpenBabelc::OBMol_SetHydrogensAdded", _wrap_OBMol_SetHydrogensAdded},
{"Chemistry::OpenBabelc::OBMol_SetCorrectedForPH", _wrap_OBMol_SetCorrectedForPH},
{"Chemistry::OpenBabelc::OBMol_SetAromaticCorrected", _wrap_OBMol_SetAromaticCorrected},
{"Chemistry::OpenBabelc::OBMol_SetSpinMultiplicityAssigned", _wrap_OBMol_SetSpinMultiplicityAssigned},
{"Chemistry::OpenBabelc::OBMol_SetFlags", _wrap_OBMol_SetFlags},
{"Chemistry::OpenBabelc::OBMol_UnsetAromaticPerceived", _wrap_OBMol_UnsetAromaticPerceived},
{"Chemistry::OpenBabelc::OBMol_UnsetSSSRPerceived", _wrap_OBMol_UnsetSSSRPerceived},
{"Chemistry::OpenBabelc::OBMol_UnsetRingTypesPerceived", _wrap_OBMol_UnsetRingTypesPerceived},
{"Chemistry::OpenBabelc::OBMol_UnsetPartialChargesPerceived", _wrap_OBMol_UnsetPartialChargesPerceived},
{"Chemistry::OpenBabelc::OBMol_UnsetImplicitValencePerceived", _wrap_OBMol_UnsetImplicitValencePerceived},
{"Chemistry::OpenBabelc::OBMol_UnsetHydrogensAdded", _wrap_OBMol_UnsetHydrogensAdded},
{"Chemistry::OpenBabelc::OBMol_UnsetFlag", _wrap_OBMol_UnsetFlag},
{"Chemistry::OpenBabelc::OBMol_ClassDescription", _wrap_OBMol_ClassDescription},
{"Chemistry::OpenBabelc::OBMol_RenumberAtoms", _wrap_OBMol_RenumberAtoms},
{"Chemistry::OpenBabelc::OBMol_SetCoordinates", _wrap_OBMol_SetCoordinates},
{"Chemistry::OpenBabelc::OBMol_ToInertialFrame", _wrap_OBMol_ToInertialFrame},
{"Chemistry::OpenBabelc::OBMol_Translate", _wrap_OBMol_Translate},
{"Chemistry::OpenBabelc::OBMol_Rotate", _wrap_OBMol_Rotate},
{"Chemistry::OpenBabelc::OBMol_Kekulize", _wrap_OBMol_Kekulize},
{"Chemistry::OpenBabelc::OBMol_PerceiveKekuleBonds", _wrap_OBMol_PerceiveKekuleBonds},
{"Chemistry::OpenBabelc::OBMol_NewPerceiveKekuleBonds", _wrap_OBMol_NewPerceiveKekuleBonds},
{"Chemistry::OpenBabelc::OBMol_DeleteHydrogens", _wrap_OBMol_DeleteHydrogens},
{"Chemistry::OpenBabelc::OBMol_DeleteNonPolarHydrogens", _wrap_OBMol_DeleteNonPolarHydrogens},
{"Chemistry::OpenBabelc::OBMol_DeleteHydrogen", _wrap_OBMol_DeleteHydrogen},
{"Chemistry::OpenBabelc::OBMol_AddHydrogens", _wrap_OBMol_AddHydrogens},
{"Chemistry::OpenBabelc::OBMol_AddPolarHydrogens", _wrap_OBMol_AddPolarHydrogens},
{"Chemistry::OpenBabelc::OBMol_StripSalts", _wrap_OBMol_StripSalts},
{"Chemistry::OpenBabelc::OBMol_Separate", _wrap_OBMol_Separate},
{"Chemistry::OpenBabelc::OBMol_GetNextFragment", _wrap_OBMol_GetNextFragment},
{"Chemistry::OpenBabelc::OBMol_ConvertDativeBonds", _wrap_OBMol_ConvertDativeBonds},
{"Chemistry::OpenBabelc::OBMol_CorrectForPH", _wrap_OBMol_CorrectForPH},
{"Chemistry::OpenBabelc::OBMol_AssignSpinMultiplicity", _wrap_OBMol_AssignSpinMultiplicity},
{"Chemistry::OpenBabelc::OBMol_SetIsPatternStructure", _wrap_OBMol_SetIsPatternStructure},
{"Chemistry::OpenBabelc::OBMol_Center", _wrap_OBMol_Center},
{"Chemistry::OpenBabelc::OBMol_SetTorsion", _wrap_OBMol_SetTorsion},
{"Chemistry::OpenBabelc::OBMol_FindSSSR", _wrap_OBMol_FindSSSR},
{"Chemistry::OpenBabelc::OBMol_FindLSSR", _wrap_OBMol_FindLSSR},
{"Chemistry::OpenBabelc::OBMol_FindRingAtomsAndBonds", _wrap_OBMol_FindRingAtomsAndBonds},
{"Chemistry::OpenBabelc::OBMol_FindChiralCenters", _wrap_OBMol_FindChiralCenters},
{"Chemistry::OpenBabelc::OBMol_FindChildren", _wrap_OBMol_FindChildren},
{"Chemistry::OpenBabelc::OBMol_FindLargestFragment", _wrap_OBMol_FindLargestFragment},
{"Chemistry::OpenBabelc::OBMol_ContigFragList", _wrap_OBMol_ContigFragList},
{"Chemistry::OpenBabelc::OBMol_Align", _wrap_OBMol_Align},
{"Chemistry::OpenBabelc::OBMol_ConnectTheDots", _wrap_OBMol_ConnectTheDots},
{"Chemistry::OpenBabelc::OBMol_PerceiveBondOrders", _wrap_OBMol_PerceiveBondOrders},
{"Chemistry::OpenBabelc::OBMol_FindAngles", _wrap_OBMol_FindAngles},
{"Chemistry::OpenBabelc::OBMol_FindTorsions", _wrap_OBMol_FindTorsions},
{"Chemistry::OpenBabelc::OBMol_GetGTDVector", _wrap_OBMol_GetGTDVector},
{"Chemistry::OpenBabelc::OBMol_GetGIVector", _wrap_OBMol_GetGIVector},
{"Chemistry::OpenBabelc::OBMol_GetGIDVector", _wrap_OBMol_GetGIDVector},
{"Chemistry::OpenBabelc::OBMol_Has2D", _wrap_OBMol_Has2D},
{"Chemistry::OpenBabelc::OBMol_Has3D", _wrap_OBMol_Has3D},
{"Chemistry::OpenBabelc::OBMol_HasNonZeroCoords", _wrap_OBMol_HasNonZeroCoords},
{"Chemistry::OpenBabelc::OBMol_HasAromaticPerceived", _wrap_OBMol_HasAromaticPerceived},
{"Chemistry::OpenBabelc::OBMol_HasSSSRPerceived", _wrap_OBMol_HasSSSRPerceived},
{"Chemistry::OpenBabelc::OBMol_HasLSSRPerceived", _wrap_OBMol_HasLSSRPerceived},
{"Chemistry::OpenBabelc::OBMol_HasRingAtomsAndBondsPerceived", _wrap_OBMol_HasRingAtomsAndBondsPerceived},
{"Chemistry::OpenBabelc::OBMol_HasAtomTypesPerceived", _wrap_OBMol_HasAtomTypesPerceived},
{"Chemistry::OpenBabelc::OBMol_HasRingTypesPerceived", _wrap_OBMol_HasRingTypesPerceived},
{"Chemistry::OpenBabelc::OBMol_HasChiralityPerceived", _wrap_OBMol_HasChiralityPerceived},
{"Chemistry::OpenBabelc::OBMol_HasPartialChargesPerceived", _wrap_OBMol_HasPartialChargesPerceived},
{"Chemistry::OpenBabelc::OBMol_HasHybridizationPerceived", _wrap_OBMol_HasHybridizationPerceived},
{"Chemistry::OpenBabelc::OBMol_HasImplicitValencePerceived", _wrap_OBMol_HasImplicitValencePerceived},
{"Chemistry::OpenBabelc::OBMol_HasKekulePerceived", _wrap_OBMol_HasKekulePerceived},
{"Chemistry::OpenBabelc::OBMol_HasClosureBondsPerceived", _wrap_OBMol_HasClosureBondsPerceived},
{"Chemistry::OpenBabelc::OBMol_HasChainsPerceived", _wrap_OBMol_HasChainsPerceived},
{"Chemistry::OpenBabelc::OBMol_HasHydrogensAdded", _wrap_OBMol_HasHydrogensAdded},
{"Chemistry::OpenBabelc::OBMol_HasAromaticCorrected", _wrap_OBMol_HasAromaticCorrected},
{"Chemistry::OpenBabelc::OBMol_IsCorrectedForPH", _wrap_OBMol_IsCorrectedForPH},
{"Chemistry::OpenBabelc::OBMol_HasSpinMultiplicityAssigned", _wrap_OBMol_HasSpinMultiplicityAssigned},
{"Chemistry::OpenBabelc::OBMol_IsChiral", _wrap_OBMol_IsChiral},
{"Chemistry::OpenBabelc::OBMol_Empty", _wrap_OBMol_Empty},
{"Chemistry::OpenBabelc::OBMol_NumConformers", _wrap_OBMol_NumConformers},
{"Chemistry::OpenBabelc::OBMol_SetConformers", _wrap_OBMol_SetConformers},
{"Chemistry::OpenBabelc::OBMol_AddConformer", _wrap_OBMol_AddConformer},
{"Chemistry::OpenBabelc::OBMol_SetConformer", _wrap_OBMol_SetConformer},
{"Chemistry::OpenBabelc::OBMol_CopyConformer", _wrap_OBMol_CopyConformer},
{"Chemistry::OpenBabelc::OBMol_DeleteConformer", _wrap_OBMol_DeleteConformer},
{"Chemistry::OpenBabelc::OBMol_GetConformer", _wrap_OBMol_GetConformer},
{"Chemistry::OpenBabelc::OBMol_SetEnergies", _wrap_OBMol_SetEnergies},
{"Chemistry::OpenBabelc::OBMol_GetEnergies", _wrap_OBMol_GetEnergies},
{"Chemistry::OpenBabelc::OBMol_GetEnergy", _wrap_OBMol_GetEnergy},
{"Chemistry::OpenBabelc::OBMol_BeginConformer", _wrap_OBMol_BeginConformer},
{"Chemistry::OpenBabelc::OBMol_NextConformer", _wrap_OBMol_NextConformer},
{"Chemistry::OpenBabelc::OBMol_GetConformers", _wrap_OBMol_GetConformers},
{"Chemistry::OpenBabelc::OBMol_BeginAtoms", _wrap_OBMol_BeginAtoms},
{"Chemistry::OpenBabelc::OBMol_EndAtoms", _wrap_OBMol_EndAtoms},
{"Chemistry::OpenBabelc::OBMol_BeginBonds", _wrap_OBMol_BeginBonds},
{"Chemistry::OpenBabelc::OBMol_EndBonds", _wrap_OBMol_EndBonds},
{"Chemistry::OpenBabelc::OBMol_BeginResidues", _wrap_OBMol_BeginResidues},
{"Chemistry::OpenBabelc::OBMol_EndResidues", _wrap_OBMol_EndResidues},
{"Chemistry::OpenBabelc::OBMol_BeginAtom", _wrap_OBMol_BeginAtom},
{"Chemistry::OpenBabelc::OBMol_NextAtom", _wrap_OBMol_NextAtom},
{"Chemistry::OpenBabelc::OBMol_BeginBond", _wrap_OBMol_BeginBond},
{"Chemistry::OpenBabelc::OBMol_NextBond", _wrap_OBMol_NextBond},
{"Chemistry::OpenBabelc::OBMol_BeginResidue", _wrap_OBMol_BeginResidue},
{"Chemistry::OpenBabelc::OBMol_NextResidue", _wrap_OBMol_NextResidue},
{"Chemistry::OpenBabelc::OBMol_BeginInternalCoord", _wrap_OBMol_BeginInternalCoord},
{"Chemistry::OpenBabelc::OBMol_NextInternalCoord", _wrap_OBMol_NextInternalCoord},
{"Chemistry::OpenBabelc::ThrowError", _wrap_ThrowError},
{"Chemistry::OpenBabelc::CartesianToInternal", _wrap_CartesianToInternal},
{"Chemistry::OpenBabelc::InternalToCartesian", _wrap_InternalToCartesian},
{"Chemistry::OpenBabelc::NewExtension", _wrap_NewExtension},
{"Chemistry::OpenBabelc::get_rmat", _wrap_get_rmat},
{"Chemistry::OpenBabelc::ob_make_rmat", _wrap_ob_make_rmat},
{"Chemistry::OpenBabelc::qtrfit", _wrap_qtrfit},
{"Chemistry::OpenBabelc::superimpose", _wrap_superimpose},
{"Chemistry::OpenBabelc::OBRing_ring_id_set", _wrap_OBRing_ring_id_set},
{"Chemistry::OpenBabelc::OBRing_ring_id_get", _wrap_OBRing_ring_id_get},
{"Chemistry::OpenBabelc::OBRing__path_set", _wrap_OBRing__path_set},
{"Chemistry::OpenBabelc::OBRing__path_get", _wrap_OBRing__path_get},
{"Chemistry::OpenBabelc::OBRing__pathset_set", _wrap_OBRing__pathset_set},
{"Chemistry::OpenBabelc::OBRing__pathset_get", _wrap_OBRing__pathset_get},
{"Chemistry::OpenBabelc::new_OBRing", _wrap_new_OBRing},
{"Chemistry::OpenBabelc::OBRing_Size", _wrap_OBRing_Size},
{"Chemistry::OpenBabelc::OBRing_PathSize", _wrap_OBRing_PathSize},
{"Chemistry::OpenBabelc::OBRing_IsAromatic", _wrap_OBRing_IsAromatic},
{"Chemistry::OpenBabelc::OBRing_SetType", _wrap_OBRing_SetType},
{"Chemistry::OpenBabelc::OBRing_GetType", _wrap_OBRing_GetType},
{"Chemistry::OpenBabelc::OBRing_GetRootAtom", _wrap_OBRing_GetRootAtom},
{"Chemistry::OpenBabelc::OBRing_IsMember", _wrap_OBRing_IsMember},
{"Chemistry::OpenBabelc::OBRing_IsInRing", _wrap_OBRing_IsInRing},
{"Chemistry::OpenBabelc::OBRing_SetParent", _wrap_OBRing_SetParent},
{"Chemistry::OpenBabelc::OBRing_GetParent", _wrap_OBRing_GetParent},
{"Chemistry::OpenBabelc::OBRing_findCenterAndNormal", _wrap_OBRing_findCenterAndNormal},
{"Chemistry::OpenBabelc::delete_OBRing", _wrap_delete_OBRing},
{"Chemistry::OpenBabelc::CompareRingSize", _wrap_CompareRingSize},
{"Chemistry::OpenBabelc::new_OBRingSearch", _wrap_new_OBRingSearch},
{"Chemistry::OpenBabelc::delete_OBRingSearch", _wrap_delete_OBRingSearch},
{"Chemistry::OpenBabelc::OBRingSearch_SortRings", _wrap_OBRingSearch_SortRings},
{"Chemistry::OpenBabelc::OBRingSearch_RemoveRedundant", _wrap_OBRingSearch_RemoveRedundant},
{"Chemistry::OpenBabelc::OBRingSearch_AddRingFromClosure", _wrap_OBRingSearch_AddRingFromClosure},
{"Chemistry::OpenBabelc::OBRingSearch_SaveUniqueRing", _wrap_OBRingSearch_SaveUniqueRing},
{"Chemistry::OpenBabelc::OBRingSearch_WriteRings", _wrap_OBRingSearch_WriteRings},
{"Chemistry::OpenBabelc::OBRingSearch_BeginRings", _wrap_OBRingSearch_BeginRings},
{"Chemistry::OpenBabelc::OBRingSearch_EndRings", _wrap_OBRingSearch_EndRings},
{"Chemistry::OpenBabelc::new_OBRTree", _wrap_new_OBRTree},
{"Chemistry::OpenBabelc::delete_OBRTree", _wrap_delete_OBRTree},
{"Chemistry::OpenBabelc::OBRTree_GetAtomIdx", _wrap_OBRTree_GetAtomIdx},
{"Chemistry::OpenBabelc::OBRTree_PathToRoot", _wrap_OBRTree_PathToRoot},
{"Chemistry::OpenBabelc::delete_OBSmartsPattern", _wrap_delete_OBSmartsPattern},
{"Chemistry::OpenBabelc::new_OBSmartsPattern", _wrap_new_OBSmartsPattern},
{"Chemistry::OpenBabelc::OBSmartsPattern_Init", _wrap_OBSmartsPattern_Init},
{"Chemistry::OpenBabelc::OBSmartsPattern_GetSMARTS", _wrap_OBSmartsPattern_GetSMARTS},
{"Chemistry::OpenBabelc::OBSmartsPattern_Empty", _wrap_OBSmartsPattern_Empty},
{"Chemistry::OpenBabelc::OBSmartsPattern_IsValid", _wrap_OBSmartsPattern_IsValid},
{"Chemistry::OpenBabelc::OBSmartsPattern_NumAtoms", _wrap_OBSmartsPattern_NumAtoms},
{"Chemistry::OpenBabelc::OBSmartsPattern_NumBonds", _wrap_OBSmartsPattern_NumBonds},
{"Chemistry::OpenBabelc::OBSmartsPattern_GetBond", _wrap_OBSmartsPattern_GetBond},
{"Chemistry::OpenBabelc::OBSmartsPattern_GetAtomicNum", _wrap_OBSmartsPattern_GetAtomicNum},
{"Chemistry::OpenBabelc::OBSmartsPattern_GetCharge", _wrap_OBSmartsPattern_GetCharge},
{"Chemistry::OpenBabelc::OBSmartsPattern_GetVectorBinding", _wrap_OBSmartsPattern_GetVectorBinding},
{"Chemistry::OpenBabelc::OBSmartsPattern_Match", _wrap_OBSmartsPattern_Match},
{"Chemistry::OpenBabelc::OBSmartsPattern_HasMatch", _wrap_OBSmartsPattern_HasMatch},
{"Chemistry::OpenBabelc::OBSmartsPattern_RestrictedMatch", _wrap_OBSmartsPattern_RestrictedMatch},
{"Chemistry::OpenBabelc::OBSmartsPattern_NumMatches", _wrap_OBSmartsPattern_NumMatches},
{"Chemistry::OpenBabelc::OBSmartsPattern_GetMapList", _wrap_OBSmartsPattern_GetMapList},
{"Chemistry::OpenBabelc::OBSmartsPattern_BeginMList", _wrap_OBSmartsPattern_BeginMList},
{"Chemistry::OpenBabelc::OBSmartsPattern_EndMList", _wrap_OBSmartsPattern_EndMList},
{"Chemistry::OpenBabelc::OBSmartsPattern_GetUMapList", _wrap_OBSmartsPattern_GetUMapList},
{"Chemistry::OpenBabelc::OBSmartsPattern_WriteMapList", _wrap_OBSmartsPattern_WriteMapList},
{"Chemistry::OpenBabelc::new_OBSmartsMatcher", _wrap_new_OBSmartsMatcher},
{"Chemistry::OpenBabelc::delete_OBSmartsMatcher", _wrap_delete_OBSmartsMatcher},
{"Chemistry::OpenBabelc::OBSmartsMatcher_match", _wrap_OBSmartsMatcher_match},
{"Chemistry::OpenBabelc::new_OBSSMatch", _wrap_new_OBSSMatch},
{"Chemistry::OpenBabelc::delete_OBSSMatch", _wrap_delete_OBSSMatch},
{"Chemistry::OpenBabelc::OBSSMatch_Match", _wrap_OBSSMatch_Match},
{"Chemistry::OpenBabelc::SmartsLexReplace", _wrap_SmartsLexReplace},
{"Chemistry::OpenBabelc::new_AliasData", _wrap_new_AliasData},
{"Chemistry::OpenBabelc::AliasData_SetAlias", _wrap_AliasData_SetAlias},
{"Chemistry::OpenBabelc::AliasData_GetAlias", _wrap_AliasData_GetAlias},
{"Chemistry::OpenBabelc::AliasData_GetColor", _wrap_AliasData_GetColor},
{"Chemistry::OpenBabelc::AliasData_SetColor", _wrap_AliasData_SetColor},
{"Chemistry::OpenBabelc::AliasData_IsExpanded", _wrap_AliasData_IsExpanded},
{"Chemistry::OpenBabelc::AliasData_RevertToAliasForm", _wrap_AliasData_RevertToAliasForm},
{"Chemistry::OpenBabelc::AliasData_Expand", _wrap_AliasData_Expand},
{"Chemistry::OpenBabelc::delete_AliasData", _wrap_delete_AliasData},
{"Chemistry::OpenBabelc::new_OBAtomClassData", _wrap_new_OBAtomClassData},
{"Chemistry::OpenBabelc::OBAtomClassData_Clear", _wrap_OBAtomClassData_Clear},
{"Chemistry::OpenBabelc::OBAtomClassData_Add", _wrap_OBAtomClassData_Add},
{"Chemistry::OpenBabelc::OBAtomClassData_HasClass", _wrap_OBAtomClassData_HasClass},
{"Chemistry::OpenBabelc::OBAtomClassData_GetClass", _wrap_OBAtomClassData_GetClass},
{"Chemistry::OpenBabelc::OBAtomClassData_GetClassString", _wrap_OBAtomClassData_GetClassString},
{"Chemistry::OpenBabelc::OBAtomClassData_size", _wrap_OBAtomClassData_size},
{"Chemistry::OpenBabelc::delete_OBAtomClassData", _wrap_delete_OBAtomClassData},
{"Chemistry::OpenBabelc::OBFingerprint_Default", _wrap_OBFingerprint_Default},
{"Chemistry::OpenBabelc::OBFingerprint_FindType", _wrap_OBFingerprint_FindType},
{"Chemistry::OpenBabelc::delete_OBFingerprint", _wrap_delete_OBFingerprint},
{"Chemistry::OpenBabelc::OBFingerprint_SetBit", _wrap_OBFingerprint_SetBit},
{"Chemistry::OpenBabelc::OBFingerprint_GetBit", _wrap_OBFingerprint_GetBit},
{"Chemistry::OpenBabelc::OBFingerprint_Fold", _wrap_OBFingerprint_Fold},
{"Chemistry::OpenBabelc::OBFingerprint_GetFingerprint", _wrap_OBFingerprint_GetFingerprint},
{"Chemistry::OpenBabelc::OBFingerprint_Flags", _wrap_OBFingerprint_Flags},
{"Chemistry::OpenBabelc::OBFingerprint_SetFlags", _wrap_OBFingerprint_SetFlags},
{"Chemistry::OpenBabelc::OBFingerprint_DescribeBits", _wrap_OBFingerprint_DescribeBits},
{"Chemistry::OpenBabelc::OBFingerprint_Tanimoto", _wrap_OBFingerprint_Tanimoto},
{"Chemistry::OpenBabelc::OBFingerprint_Getbitsperint", _wrap_OBFingerprint_Getbitsperint},
{"Chemistry::OpenBabelc::OBFingerprint_FindFingerprint", _wrap_OBFingerprint_FindFingerprint},
{"Chemistry::OpenBabelc::FptIndexHeader_headerlength_set", _wrap_FptIndexHeader_headerlength_set},
{"Chemistry::OpenBabelc::FptIndexHeader_headerlength_get", _wrap_FptIndexHeader_headerlength_get},
{"Chemistry::OpenBabelc::FptIndexHeader_nEntries_set", _wrap_FptIndexHeader_nEntries_set},
{"Chemistry::OpenBabelc::FptIndexHeader_nEntries_get", _wrap_FptIndexHeader_nEntries_get},
{"Chemistry::OpenBabelc::FptIndexHeader_words_set", _wrap_FptIndexHeader_words_set},
{"Chemistry::OpenBabelc::FptIndexHeader_words_get", _wrap_FptIndexHeader_words_get},
{"Chemistry::OpenBabelc::FptIndexHeader_fpid_set", _wrap_FptIndexHeader_fpid_set},
{"Chemistry::OpenBabelc::FptIndexHeader_fpid_get", _wrap_FptIndexHeader_fpid_get},
{"Chemistry::OpenBabelc::FptIndexHeader_datafilename_set", _wrap_FptIndexHeader_datafilename_set},
{"Chemistry::OpenBabelc::FptIndexHeader_datafilename_get", _wrap_FptIndexHeader_datafilename_get},
{"Chemistry::OpenBabelc::new_FptIndexHeader", _wrap_new_FptIndexHeader},
{"Chemistry::OpenBabelc::delete_FptIndexHeader", _wrap_delete_FptIndexHeader},
{"Chemistry::OpenBabelc::FptIndex_header_set", _wrap_FptIndex_header_set},
{"Chemistry::OpenBabelc::FptIndex_header_get", _wrap_FptIndex_header_get},
{"Chemistry::OpenBabelc::FptIndex_fptdata_set", _wrap_FptIndex_fptdata_set},
{"Chemistry::OpenBabelc::FptIndex_fptdata_get", _wrap_FptIndex_fptdata_get},
{"Chemistry::OpenBabelc::FptIndex_seekdata_set", _wrap_FptIndex_seekdata_set},
{"Chemistry::OpenBabelc::FptIndex_seekdata_get", _wrap_FptIndex_seekdata_get},
{"Chemistry::OpenBabelc::FptIndex_Read", _wrap_FptIndex_Read},
{"Chemistry::OpenBabelc::FptIndex_ReadIndex", _wrap_FptIndex_ReadIndex},
{"Chemistry::OpenBabelc::FptIndex_ReadHeader", _wrap_FptIndex_ReadHeader},
{"Chemistry::OpenBabelc::FptIndex_CheckFP", _wrap_FptIndex_CheckFP},
{"Chemistry::OpenBabelc::new_FptIndex", _wrap_new_FptIndex},
{"Chemistry::OpenBabelc::delete_FptIndex", _wrap_delete_FptIndex},
{"Chemistry::OpenBabelc::FastSearch_ReadIndexFile", _wrap_FastSearch_ReadIndexFile},
{"Chemistry::OpenBabelc::FastSearch_ReadIndex", _wrap_FastSearch_ReadIndex},
{"Chemistry::OpenBabelc::delete_FastSearch", _wrap_delete_FastSearch},
{"Chemistry::OpenBabelc::FastSearch_Find", _wrap_FastSearch_Find},
{"Chemistry::OpenBabelc::FastSearch_FindMatch", _wrap_FastSearch_FindMatch},
{"Chemistry::OpenBabelc::FastSearch_FindSimilar", _wrap_FastSearch_FindSimilar},
{"Chemistry::OpenBabelc::FastSearch_GetFingerprint", _wrap_FastSearch_GetFingerprint},
{"Chemistry::OpenBabelc::FastSearch_GetIndexHeader", _wrap_FastSearch_GetIndexHeader},
{"Chemistry::OpenBabelc::new_FastSearch", _wrap_new_FastSearch},
{"Chemistry::OpenBabelc::new_FastSearchIndexer", _wrap_new_FastSearchIndexer},
{"Chemistry::OpenBabelc::delete_FastSearchIndexer", _wrap_delete_FastSearchIndexer},
{"Chemistry::OpenBabelc::FastSearchIndexer_Add", _wrap_FastSearchIndexer_Add},
{"Chemistry::OpenBabelc::OBDescriptor_Default", _wrap_OBDescriptor_Default},
{"Chemistry::OpenBabelc::new_OBDescriptor", _wrap_new_OBDescriptor},
{"Chemistry::OpenBabelc::OBDescriptor_FindType", _wrap_OBDescriptor_FindType},
{"Chemistry::OpenBabelc::OBDescriptor_Predict", _wrap_OBDescriptor_Predict},
{"Chemistry::OpenBabelc::OBDescriptor_PredictAndSave", _wrap_OBDescriptor_PredictAndSave},
{"Chemistry::OpenBabelc::OBDescriptor_GetStringValue", _wrap_OBDescriptor_GetStringValue},
{"Chemistry::OpenBabelc::OBDescriptor_Compare", _wrap_OBDescriptor_Compare},
{"Chemistry::OpenBabelc::OBDescriptor_Display", _wrap_OBDescriptor_Display},
{"Chemistry::OpenBabelc::OBDescriptor_Order", _wrap_OBDescriptor_Order},
{"Chemistry::OpenBabelc::OBDescriptor_FilterCompare", _wrap_OBDescriptor_FilterCompare},
{"Chemistry::OpenBabelc::OBDescriptor_AddProperties", _wrap_OBDescriptor_AddProperties},
{"Chemistry::OpenBabelc::OBDescriptor_DeleteProperties", _wrap_OBDescriptor_DeleteProperties},
{"Chemistry::OpenBabelc::OBDescriptor_GetValues", _wrap_OBDescriptor_GetValues},
{"Chemistry::OpenBabelc::OBDescriptor_GetIdentifier", _wrap_OBDescriptor_GetIdentifier},
{"Chemistry::OpenBabelc::delete_OBDescriptor", _wrap_delete_OBDescriptor},
{"Chemistry::OpenBabelc::new_LineSearchType", _wrap_new_LineSearchType},
{"Chemistry::OpenBabelc::delete_LineSearchType", _wrap_delete_LineSearchType},
{"Chemistry::OpenBabelc::OBFFParameter_a_set", _wrap_OBFFParameter_a_set},
{"Chemistry::OpenBabelc::OBFFParameter_a_get", _wrap_OBFFParameter_a_get},
{"Chemistry::OpenBabelc::OBFFParameter_b_set", _wrap_OBFFParameter_b_set},
{"Chemistry::OpenBabelc::OBFFParameter_b_get", _wrap_OBFFParameter_b_get},
{"Chemistry::OpenBabelc::OBFFParameter_c_set", _wrap_OBFFParameter_c_set},
{"Chemistry::OpenBabelc::OBFFParameter_c_get", _wrap_OBFFParameter_c_get},
{"Chemistry::OpenBabelc::OBFFParameter_d_set", _wrap_OBFFParameter_d_set},
{"Chemistry::OpenBabelc::OBFFParameter_d_get", _wrap_OBFFParameter_d_get},
{"Chemistry::OpenBabelc::OBFFParameter__a_set", _wrap_OBFFParameter__a_set},
{"Chemistry::OpenBabelc::OBFFParameter__a_get", _wrap_OBFFParameter__a_get},
{"Chemistry::OpenBabelc::OBFFParameter__b_set", _wrap_OBFFParameter__b_set},
{"Chemistry::OpenBabelc::OBFFParameter__b_get", _wrap_OBFFParameter__b_get},
{"Chemistry::OpenBabelc::OBFFParameter__c_set", _wrap_OBFFParameter__c_set},
{"Chemistry::OpenBabelc::OBFFParameter__c_get", _wrap_OBFFParameter__c_get},
{"Chemistry::OpenBabelc::OBFFParameter__d_set", _wrap_OBFFParameter__d_set},
{"Chemistry::OpenBabelc::OBFFParameter__d_get", _wrap_OBFFParameter__d_get},
{"Chemistry::OpenBabelc::OBFFParameter__ipar_set", _wrap_OBFFParameter__ipar_set},
{"Chemistry::OpenBabelc::OBFFParameter__ipar_get", _wrap_OBFFParameter__ipar_get},
{"Chemistry::OpenBabelc::OBFFParameter__dpar_set", _wrap_OBFFParameter__dpar_set},
{"Chemistry::OpenBabelc::OBFFParameter__dpar_get", _wrap_OBFFParameter__dpar_get},
{"Chemistry::OpenBabelc::OBFFParameter_clear", _wrap_OBFFParameter_clear},
{"Chemistry::OpenBabelc::new_OBFFParameter", _wrap_new_OBFFParameter},
{"Chemistry::OpenBabelc::delete_OBFFParameter", _wrap_delete_OBFFParameter},
{"Chemistry::OpenBabelc::OBFFCalculation2_energy_set", _wrap_OBFFCalculation2_energy_set},
{"Chemistry::OpenBabelc::OBFFCalculation2_energy_get", _wrap_OBFFCalculation2_energy_get},
{"Chemistry::OpenBabelc::OBFFCalculation2_a_set", _wrap_OBFFCalculation2_a_set},
{"Chemistry::OpenBabelc::OBFFCalculation2_a_get", _wrap_OBFFCalculation2_a_get},
{"Chemistry::OpenBabelc::OBFFCalculation2_b_set", _wrap_OBFFCalculation2_b_set},
{"Chemistry::OpenBabelc::OBFFCalculation2_b_get", _wrap_OBFFCalculation2_b_get},
{"Chemistry::OpenBabelc::OBFFCalculation2_idx_a_set", _wrap_OBFFCalculation2_idx_a_set},
{"Chemistry::OpenBabelc::OBFFCalculation2_idx_a_get", _wrap_OBFFCalculation2_idx_a_get},
{"Chemistry::OpenBabelc::OBFFCalculation2_idx_b_set", _wrap_OBFFCalculation2_idx_b_set},
{"Chemistry::OpenBabelc::OBFFCalculation2_idx_b_get", _wrap_OBFFCalculation2_idx_b_get},
{"Chemistry::OpenBabelc::OBFFCalculation2_pos_a_set", _wrap_OBFFCalculation2_pos_a_set},
{"Chemistry::OpenBabelc::OBFFCalculation2_pos_a_get", _wrap_OBFFCalculation2_pos_a_get},
{"Chemistry::OpenBabelc::OBFFCalculation2_pos_b_set", _wrap_OBFFCalculation2_pos_b_set},
{"Chemistry::OpenBabelc::OBFFCalculation2_pos_b_get", _wrap_OBFFCalculation2_pos_b_get},
{"Chemistry::OpenBabelc::OBFFCalculation2_force_a_set", _wrap_OBFFCalculation2_force_a_set},
{"Chemistry::OpenBabelc::OBFFCalculation2_force_a_get", _wrap_OBFFCalculation2_force_a_get},
{"Chemistry::OpenBabelc::OBFFCalculation2_force_b_set", _wrap_OBFFCalculation2_force_b_set},
{"Chemistry::OpenBabelc::OBFFCalculation2_force_b_get", _wrap_OBFFCalculation2_force_b_get},
{"Chemistry::OpenBabelc::delete_OBFFCalculation2", _wrap_delete_OBFFCalculation2},
{"Chemistry::OpenBabelc::OBFFCalculation2_SetupPointers", _wrap_OBFFCalculation2_SetupPointers},
{"Chemistry::OpenBabelc::new_OBFFCalculation2", _wrap_new_OBFFCalculation2},
{"Chemistry::OpenBabelc::OBFFCalculation3_c_set", _wrap_OBFFCalculation3_c_set},
{"Chemistry::OpenBabelc::OBFFCalculation3_c_get", _wrap_OBFFCalculation3_c_get},
{"Chemistry::OpenBabelc::OBFFCalculation3_idx_c_set", _wrap_OBFFCalculation3_idx_c_set},
{"Chemistry::OpenBabelc::OBFFCalculation3_idx_c_get", _wrap_OBFFCalculation3_idx_c_get},
{"Chemistry::OpenBabelc::OBFFCalculation3_pos_c_set", _wrap_OBFFCalculation3_pos_c_set},
{"Chemistry::OpenBabelc::OBFFCalculation3_pos_c_get", _wrap_OBFFCalculation3_pos_c_get},
{"Chemistry::OpenBabelc::OBFFCalculation3_force_c_set", _wrap_OBFFCalculation3_force_c_set},
{"Chemistry::OpenBabelc::OBFFCalculation3_force_c_get", _wrap_OBFFCalculation3_force_c_get},
{"Chemistry::OpenBabelc::delete_OBFFCalculation3", _wrap_delete_OBFFCalculation3},
{"Chemistry::OpenBabelc::new_OBFFCalculation3", _wrap_new_OBFFCalculation3},
{"Chemistry::OpenBabelc::OBFFCalculation4_d_set", _wrap_OBFFCalculation4_d_set},
{"Chemistry::OpenBabelc::OBFFCalculation4_d_get", _wrap_OBFFCalculation4_d_get},
{"Chemistry::OpenBabelc::OBFFCalculation4_idx_d_set", _wrap_OBFFCalculation4_idx_d_set},
{"Chemistry::OpenBabelc::OBFFCalculation4_idx_d_get", _wrap_OBFFCalculation4_idx_d_get},
{"Chemistry::OpenBabelc::OBFFCalculation4_pos_d_set", _wrap_OBFFCalculation4_pos_d_set},
{"Chemistry::OpenBabelc::OBFFCalculation4_pos_d_get", _wrap_OBFFCalculation4_pos_d_get},
{"Chemistry::OpenBabelc::OBFFCalculation4_force_d_set", _wrap_OBFFCalculation4_force_d_set},
{"Chemistry::OpenBabelc::OBFFCalculation4_force_d_get", _wrap_OBFFCalculation4_force_d_get},
{"Chemistry::OpenBabelc::delete_OBFFCalculation4", _wrap_delete_OBFFCalculation4},
{"Chemistry::OpenBabelc::new_OBFFCalculation4", _wrap_new_OBFFCalculation4},
{"Chemistry::OpenBabelc::OBFFConstraint_factor_set", _wrap_OBFFConstraint_factor_set},
{"Chemistry::OpenBabelc::OBFFConstraint_factor_get", _wrap_OBFFConstraint_factor_get},
{"Chemistry::OpenBabelc::OBFFConstraint_constraint_value_set", _wrap_OBFFConstraint_constraint_value_set},
{"Chemistry::OpenBabelc::OBFFConstraint_constraint_value_get", _wrap_OBFFConstraint_constraint_value_get},
{"Chemistry::OpenBabelc::OBFFConstraint_rab0_set", _wrap_OBFFConstraint_rab0_set},
{"Chemistry::OpenBabelc::OBFFConstraint_rab0_get", _wrap_OBFFConstraint_rab0_get},
{"Chemistry::OpenBabelc::OBFFConstraint_rbc0_set", _wrap_OBFFConstraint_rbc0_set},
{"Chemistry::OpenBabelc::OBFFConstraint_rbc0_get", _wrap_OBFFConstraint_rbc0_get},
{"Chemistry::OpenBabelc::OBFFConstraint_type_set", _wrap_OBFFConstraint_type_set},
{"Chemistry::OpenBabelc::OBFFConstraint_type_get", _wrap_OBFFConstraint_type_get},
{"Chemistry::OpenBabelc::OBFFConstraint_ia_set", _wrap_OBFFConstraint_ia_set},
{"Chemistry::OpenBabelc::OBFFConstraint_ia_get", _wrap_OBFFConstraint_ia_get},
{"Chemistry::OpenBabelc::OBFFConstraint_ib_set", _wrap_OBFFConstraint_ib_set},
{"Chemistry::OpenBabelc::OBFFConstraint_ib_get", _wrap_OBFFConstraint_ib_get},
{"Chemistry::OpenBabelc::OBFFConstraint_ic_set", _wrap_OBFFConstraint_ic_set},
{"Chemistry::OpenBabelc::OBFFConstraint_ic_get", _wrap_OBFFConstraint_ic_get},
{"Chemistry::OpenBabelc::OBFFConstraint_id_set", _wrap_OBFFConstraint_id_set},
{"Chemistry::OpenBabelc::OBFFConstraint_id_get", _wrap_OBFFConstraint_id_get},
{"Chemistry::OpenBabelc::OBFFConstraint_a_set", _wrap_OBFFConstraint_a_set},
{"Chemistry::OpenBabelc::OBFFConstraint_a_get", _wrap_OBFFConstraint_a_get},
{"Chemistry::OpenBabelc::OBFFConstraint_b_set", _wrap_OBFFConstraint_b_set},
{"Chemistry::OpenBabelc::OBFFConstraint_b_get", _wrap_OBFFConstraint_b_get},
{"Chemistry::OpenBabelc::OBFFConstraint_c_set", _wrap_OBFFConstraint_c_set},
{"Chemistry::OpenBabelc::OBFFConstraint_c_get", _wrap_OBFFConstraint_c_get},
{"Chemistry::OpenBabelc::OBFFConstraint_d_set", _wrap_OBFFConstraint_d_set},
{"Chemistry::OpenBabelc::OBFFConstraint_d_get", _wrap_OBFFConstraint_d_get},
{"Chemistry::OpenBabelc::OBFFConstraint_grada_set", _wrap_OBFFConstraint_grada_set},
{"Chemistry::OpenBabelc::OBFFConstraint_grada_get", _wrap_OBFFConstraint_grada_get},
{"Chemistry::OpenBabelc::OBFFConstraint_gradb_set", _wrap_OBFFConstraint_gradb_set},
{"Chemistry::OpenBabelc::OBFFConstraint_gradb_get", _wrap_OBFFConstraint_gradb_get},
{"Chemistry::OpenBabelc::OBFFConstraint_gradc_set", _wrap_OBFFConstraint_gradc_set},
{"Chemistry::OpenBabelc::OBFFConstraint_gradc_get", _wrap_OBFFConstraint_gradc_get},
{"Chemistry::OpenBabelc::OBFFConstraint_gradd_set", _wrap_OBFFConstraint_gradd_set},
{"Chemistry::OpenBabelc::OBFFConstraint_gradd_get", _wrap_OBFFConstraint_gradd_get},
{"Chemistry::OpenBabelc::new_OBFFConstraint", _wrap_new_OBFFConstraint},
{"Chemistry::OpenBabelc::delete_OBFFConstraint", _wrap_delete_OBFFConstraint},
{"Chemistry::OpenBabelc::OBFFConstraint_GetGradient", _wrap_OBFFConstraint_GetGradient},
{"Chemistry::OpenBabelc::new_OBFFConstraints", _wrap_new_OBFFConstraints},
{"Chemistry::OpenBabelc::delete_OBFFConstraints", _wrap_delete_OBFFConstraints},
{"Chemistry::OpenBabelc::OBFFConstraints_Clear", _wrap_OBFFConstraints_Clear},
{"Chemistry::OpenBabelc::OBFFConstraints_GetConstraintEnergy", _wrap_OBFFConstraints_GetConstraintEnergy},
{"Chemistry::OpenBabelc::OBFFConstraints_GetGradient", _wrap_OBFFConstraints_GetGradient},
{"Chemistry::OpenBabelc::OBFFConstraints_Setup", _wrap_OBFFConstraints_Setup},
{"Chemistry::OpenBabelc::OBFFConstraints_SetFactor", _wrap_OBFFConstraints_SetFactor},
{"Chemistry::OpenBabelc::OBFFConstraints_AddIgnore", _wrap_OBFFConstraints_AddIgnore},
{"Chemistry::OpenBabelc::OBFFConstraints_AddAtomConstraint", _wrap_OBFFConstraints_AddAtomConstraint},
{"Chemistry::OpenBabelc::OBFFConstraints_AddAtomXConstraint", _wrap_OBFFConstraints_AddAtomXConstraint},
{"Chemistry::OpenBabelc::OBFFConstraints_AddAtomYConstraint", _wrap_OBFFConstraints_AddAtomYConstraint},
{"Chemistry::OpenBabelc::OBFFConstraints_AddAtomZConstraint", _wrap_OBFFConstraints_AddAtomZConstraint},
{"Chemistry::OpenBabelc::OBFFConstraints_AddDistanceConstraint", _wrap_OBFFConstraints_AddDistanceConstraint},
{"Chemistry::OpenBabelc::OBFFConstraints_AddAngleConstraint", _wrap_OBFFConstraints_AddAngleConstraint},
{"Chemistry::OpenBabelc::OBFFConstraints_AddTorsionConstraint", _wrap_OBFFConstraints_AddTorsionConstraint},
{"Chemistry::OpenBabelc::OBFFConstraints_DeleteConstraint", _wrap_OBFFConstraints_DeleteConstraint},
{"Chemistry::OpenBabelc::OBFFConstraints_GetFactor", _wrap_OBFFConstraints_GetFactor},
{"Chemistry::OpenBabelc::OBFFConstraints_Size", _wrap_OBFFConstraints_Size},
{"Chemistry::OpenBabelc::OBFFConstraints_GetConstraintType", _wrap_OBFFConstraints_GetConstraintType},
{"Chemistry::OpenBabelc::OBFFConstraints_GetConstraintValue", _wrap_OBFFConstraints_GetConstraintValue},
{"Chemistry::OpenBabelc::OBFFConstraints_GetConstraintAtomA", _wrap_OBFFConstraints_GetConstraintAtomA},
{"Chemistry::OpenBabelc::OBFFConstraints_GetConstraintAtomB", _wrap_OBFFConstraints_GetConstraintAtomB},
{"Chemistry::OpenBabelc::OBFFConstraints_GetConstraintAtomC", _wrap_OBFFConstraints_GetConstraintAtomC},
{"Chemistry::OpenBabelc::OBFFConstraints_GetConstraintAtomD", _wrap_OBFFConstraints_GetConstraintAtomD},
{"Chemistry::OpenBabelc::OBFFConstraints_IsIgnored", _wrap_OBFFConstraints_IsIgnored},
{"Chemistry::OpenBabelc::OBFFConstraints_IsFixed", _wrap_OBFFConstraints_IsFixed},
{"Chemistry::OpenBabelc::OBFFConstraints_IsXFixed", _wrap_OBFFConstraints_IsXFixed},
{"Chemistry::OpenBabelc::OBFFConstraints_IsYFixed", _wrap_OBFFConstraints_IsYFixed},
{"Chemistry::OpenBabelc::OBFFConstraints_IsZFixed", _wrap_OBFFConstraints_IsZFixed},
{"Chemistry::OpenBabelc::OBFFConstraints_GetIgnoredBitVec", _wrap_OBFFConstraints_GetIgnoredBitVec},
{"Chemistry::OpenBabelc::OBFFConstraints_GetFixedBitVec", _wrap_OBFFConstraints_GetFixedBitVec},
{"Chemistry::OpenBabelc::OBForceField_Default", _wrap_OBForceField_Default},
{"Chemistry::OpenBabelc::OBForceField_FindType", _wrap_OBForceField_FindType},
{"Chemistry::OpenBabelc::OBForceField_MakeNewInstance", _wrap_OBForceField_MakeNewInstance},
{"Chemistry::OpenBabelc::delete_OBForceField", _wrap_delete_OBForceField},
{"Chemistry::OpenBabelc::OBForceField_FindForceField", _wrap_OBForceField_FindForceField},
{"Chemistry::OpenBabelc::OBForceField_SetParameterFile", _wrap_OBForceField_SetParameterFile},
{"Chemistry::OpenBabelc::OBForceField_GetUnit", _wrap_OBForceField_GetUnit},
{"Chemistry::OpenBabelc::OBForceField_HasAnalyticalGradients", _wrap_OBForceField_HasAnalyticalGradients},
{"Chemistry::OpenBabelc::OBForceField_Setup", _wrap_OBForceField_Setup},
{"Chemistry::OpenBabelc::OBForceField_ParseParamFile", _wrap_OBForceField_ParseParamFile},
{"Chemistry::OpenBabelc::OBForceField_SetTypes", _wrap_OBForceField_SetTypes},
{"Chemistry::OpenBabelc::OBForceField_SetFormalCharges", _wrap_OBForceField_SetFormalCharges},
{"Chemistry::OpenBabelc::OBForceField_SetPartialCharges", _wrap_OBForceField_SetPartialCharges},
{"Chemistry::OpenBabelc::OBForceField_SetupCalculations", _wrap_OBForceField_SetupCalculations},
{"Chemistry::OpenBabelc::OBForceField_SetupPointers", _wrap_OBForceField_SetupPointers},
{"Chemistry::OpenBabelc::OBForceField_IsSetupNeeded", _wrap_OBForceField_IsSetupNeeded},
{"Chemistry::OpenBabelc::OBForceField_GetAtomTypes", _wrap_OBForceField_GetAtomTypes},
{"Chemistry::OpenBabelc::OBForceField_GetPartialCharges", _wrap_OBForceField_GetPartialCharges},
{"Chemistry::OpenBabelc::OBForceField_GetCoordinates", _wrap_OBForceField_GetCoordinates},
{"Chemistry::OpenBabelc::OBForceField_UpdateCoordinates", _wrap_OBForceField_UpdateCoordinates},
{"Chemistry::OpenBabelc::OBForceField_GetConformers", _wrap_OBForceField_GetConformers},
{"Chemistry::OpenBabelc::OBForceField_UpdateConformers", _wrap_OBForceField_UpdateConformers},
{"Chemistry::OpenBabelc::OBForceField_SetCoordinates", _wrap_OBForceField_SetCoordinates},
{"Chemistry::OpenBabelc::OBForceField_SetConformers", _wrap_OBForceField_SetConformers},
{"Chemistry::OpenBabelc::OBForceField_GetGrid", _wrap_OBForceField_GetGrid},
{"Chemistry::OpenBabelc::OBForceField_AddIntraGroup", _wrap_OBForceField_AddIntraGroup},
{"Chemistry::OpenBabelc::OBForceField_AddInterGroup", _wrap_OBForceField_AddInterGroup},
{"Chemistry::OpenBabelc::OBForceField_AddInterGroups", _wrap_OBForceField_AddInterGroups},
{"Chemistry::OpenBabelc::OBForceField_ClearGroups", _wrap_OBForceField_ClearGroups},
{"Chemistry::OpenBabelc::OBForceField_HasGroups", _wrap_OBForceField_HasGroups},
{"Chemistry::OpenBabelc::OBForceField_EnableCutOff", _wrap_OBForceField_EnableCutOff},
{"Chemistry::OpenBabelc::OBForceField_IsCutOffEnabled", _wrap_OBForceField_IsCutOffEnabled},
{"Chemistry::OpenBabelc::OBForceField_SetVDWCutOff", _wrap_OBForceField_SetVDWCutOff},
{"Chemistry::OpenBabelc::OBForceField_GetVDWCutOff", _wrap_OBForceField_GetVDWCutOff},
{"Chemistry::OpenBabelc::OBForceField_SetElectrostaticCutOff", _wrap_OBForceField_SetElectrostaticCutOff},
{"Chemistry::OpenBabelc::OBForceField_GetElectrostaticCutOff", _wrap_OBForceField_GetElectrostaticCutOff},
{"Chemistry::OpenBabelc::OBForceField_SetUpdateFrequency", _wrap_OBForceField_SetUpdateFrequency},
{"Chemistry::OpenBabelc::OBForceField_GetUpdateFrequency", _wrap_OBForceField_GetUpdateFrequency},
{"Chemistry::OpenBabelc::OBForceField_UpdatePairsSimple", _wrap_OBForceField_UpdatePairsSimple},
{"Chemistry::OpenBabelc::OBForceField_GetNumPairs", _wrap_OBForceField_GetNumPairs},
{"Chemistry::OpenBabelc::OBForceField_EnableAllPairs", _wrap_OBForceField_EnableAllPairs},
{"Chemistry::OpenBabelc::OBForceField_Energy", _wrap_OBForceField_Energy},
{"Chemistry::OpenBabelc::OBForceField_E_Bond", _wrap_OBForceField_E_Bond},
{"Chemistry::OpenBabelc::OBForceField_E_Angle", _wrap_OBForceField_E_Angle},
{"Chemistry::OpenBabelc::OBForceField_E_StrBnd", _wrap_OBForceField_E_StrBnd},
{"Chemistry::OpenBabelc::OBForceField_E_Torsion", _wrap_OBForceField_E_Torsion},
{"Chemistry::OpenBabelc::OBForceField_E_OOP", _wrap_OBForceField_E_OOP},
{"Chemistry::OpenBabelc::OBForceField_E_VDW", _wrap_OBForceField_E_VDW},
{"Chemistry::OpenBabelc::OBForceField_E_Electrostatic", _wrap_OBForceField_E_Electrostatic},
{"Chemistry::OpenBabelc::OBForceField_PrintTypes", _wrap_OBForceField_PrintTypes},
{"Chemistry::OpenBabelc::OBForceField_PrintFormalCharges", _wrap_OBForceField_PrintFormalCharges},
{"Chemistry::OpenBabelc::OBForceField_PrintPartialCharges", _wrap_OBForceField_PrintPartialCharges},
{"Chemistry::OpenBabelc::OBForceField_PrintVelocities", _wrap_OBForceField_PrintVelocities},
{"Chemistry::OpenBabelc::OBForceField_SetLogFile", _wrap_OBForceField_SetLogFile},
{"Chemistry::OpenBabelc::OBForceField_SetLogLevel", _wrap_OBForceField_SetLogLevel},
{"Chemistry::OpenBabelc::OBForceField_GetLogLevel", _wrap_OBForceField_GetLogLevel},
{"Chemistry::OpenBabelc::OBForceField_OBFFLog", _wrap_OBForceField_OBFFLog},
{"Chemistry::OpenBabelc::OBForceField_DistanceGeometry", _wrap_OBForceField_DistanceGeometry},
{"Chemistry::OpenBabelc::OBForceField_SystematicRotorSearch", _wrap_OBForceField_SystematicRotorSearch},
{"Chemistry::OpenBabelc::OBForceField_SystematicRotorSearchInitialize", _wrap_OBForceField_SystematicRotorSearchInitialize},
{"Chemistry::OpenBabelc::OBForceField_SystematicRotorSearchNextConformer", _wrap_OBForceField_SystematicRotorSearchNextConformer},
{"Chemistry::OpenBabelc::OBForceField_RandomRotorSearch", _wrap_OBForceField_RandomRotorSearch},
{"Chemistry::OpenBabelc::OBForceField_RandomRotorSearchInitialize", _wrap_OBForceField_RandomRotorSearchInitialize},
{"Chemistry::OpenBabelc::OBForceField_RandomRotorSearchNextConformer", _wrap_OBForceField_RandomRotorSearchNextConformer},
{"Chemistry::OpenBabelc::OBForceField_WeightedRotorSearch", _wrap_OBForceField_WeightedRotorSearch},
{"Chemistry::OpenBabelc::OBForceField_SetLineSearchType", _wrap_OBForceField_SetLineSearchType},
{"Chemistry::OpenBabelc::OBForceField_GetLineSearchType", _wrap_OBForceField_GetLineSearchType},
{"Chemistry::OpenBabelc::OBForceField_LineSearch", _wrap_OBForceField_LineSearch},
{"Chemistry::OpenBabelc::OBForceField_Newton2NumLineSearch", _wrap_OBForceField_Newton2NumLineSearch},
{"Chemistry::OpenBabelc::OBForceField_LineSearchTakeStep", _wrap_OBForceField_LineSearchTakeStep},
{"Chemistry::OpenBabelc::OBForceField_SteepestDescent", _wrap_OBForceField_SteepestDescent},
{"Chemistry::OpenBabelc::OBForceField_SteepestDescentInitialize", _wrap_OBForceField_SteepestDescentInitialize},
{"Chemistry::OpenBabelc::OBForceField_SteepestDescentTakeNSteps", _wrap_OBForceField_SteepestDescentTakeNSteps},
{"Chemistry::OpenBabelc::OBForceField_ConjugateGradients", _wrap_OBForceField_ConjugateGradients},
{"Chemistry::OpenBabelc::OBForceField_ConjugateGradientsInitialize", _wrap_OBForceField_ConjugateGradientsInitialize},
{"Chemistry::OpenBabelc::OBForceField_ConjugateGradientsTakeNSteps", _wrap_OBForceField_ConjugateGradientsTakeNSteps},
{"Chemistry::OpenBabelc::OBForceField_GenerateVelocities", _wrap_OBForceField_GenerateVelocities},
{"Chemistry::OpenBabelc::OBForceField_CorrectVelocities", _wrap_OBForceField_CorrectVelocities},
{"Chemistry::OpenBabelc::OBForceField_MolecularDynamicsTakeNSteps", _wrap_OBForceField_MolecularDynamicsTakeNSteps},
{"Chemistry::OpenBabelc::OBForceField_GetConstraints", _wrap_OBForceField_GetConstraints},
{"Chemistry::OpenBabelc::OBForceField_SetConstraints", _wrap_OBForceField_SetConstraints},
{"Chemistry::OpenBabelc::OBForceField_SetFixAtom", _wrap_OBForceField_SetFixAtom},
{"Chemistry::OpenBabelc::OBForceField_UnsetFixAtom", _wrap_OBForceField_UnsetFixAtom},
{"Chemistry::OpenBabelc::OBForceField_SetIgnoreAtom", _wrap_OBForceField_SetIgnoreAtom},
{"Chemistry::OpenBabelc::OBForceField_UnsetIgnoreAtom", _wrap_OBForceField_UnsetIgnoreAtom},
{"Chemistry::OpenBabelc::OBForceField_IgnoreCalculation", _wrap_OBForceField_IgnoreCalculation},
{"Chemistry::OpenBabelc::OBForceField_DetectExplosion", _wrap_OBForceField_DetectExplosion},
{"Chemistry::OpenBabelc::OBForceField_ValidateLineSearch", _wrap_OBForceField_ValidateLineSearch},
{"Chemistry::OpenBabelc::OBForceField_ValidateSteepestDescent", _wrap_OBForceField_ValidateSteepestDescent},
{"Chemistry::OpenBabelc::OBForceField_ValidateConjugateGradients", _wrap_OBForceField_ValidateConjugateGradients},
{"Chemistry::OpenBabelc::OBForceField_Validate", _wrap_OBForceField_Validate},
{"Chemistry::OpenBabelc::OBForceField_ValidateGradients", _wrap_OBForceField_ValidateGradients},
{"Chemistry::OpenBabelc::OBForceField_ValidateGradientError", _wrap_OBForceField_ValidateGradientError},
{"Chemistry::OpenBabelc::OBForceField_VectorBondDerivative", _wrap_OBForceField_VectorBondDerivative},
{"Chemistry::OpenBabelc::OBForceField_VectorDistanceDerivative", _wrap_OBForceField_VectorDistanceDerivative},
{"Chemistry::OpenBabelc::OBForceField_VectorLengthDerivative", _wrap_OBForceField_VectorLengthDerivative},
{"Chemistry::OpenBabelc::OBForceField_VectorAngleDerivative", _wrap_OBForceField_VectorAngleDerivative},
{"Chemistry::OpenBabelc::OBForceField_VectorOOPDerivative", _wrap_OBForceField_VectorOOPDerivative},
{"Chemistry::OpenBabelc::OBForceField_VectorTorsionDerivative", _wrap_OBForceField_VectorTorsionDerivative},
{"Chemistry::OpenBabelc::OBForceField_VectorSubtract", _wrap_OBForceField_VectorSubtract},
{"Chemistry::OpenBabelc::OBForceField_VectorAdd", _wrap_OBForceField_VectorAdd},
{"Chemistry::OpenBabelc::OBForceField_VectorDivide", _wrap_OBForceField_VectorDivide},
{"Chemistry::OpenBabelc::OBForceField_VectorMultiply", _wrap_OBForceField_VectorMultiply},
{"Chemistry::OpenBabelc::OBForceField_VectorSelfMultiply", _wrap_OBForceField_VectorSelfMultiply},
{"Chemistry::OpenBabelc::OBForceField_VectorNormalize", _wrap_OBForceField_VectorNormalize},
{"Chemistry::OpenBabelc::OBForceField_VectorCopy", _wrap_OBForceField_VectorCopy},
{"Chemistry::OpenBabelc::OBForceField_VectorLength", _wrap_OBForceField_VectorLength},
{"Chemistry::OpenBabelc::OBForceField_VectorDistance", _wrap_OBForceField_VectorDistance},
{"Chemistry::OpenBabelc::OBForceField_VectorAngle", _wrap_OBForceField_VectorAngle},
{"Chemistry::OpenBabelc::OBForceField_VectorTorsion", _wrap_OBForceField_VectorTorsion},
{"Chemistry::OpenBabelc::OBForceField_VectorOOP", _wrap_OBForceField_VectorOOP},
{"Chemistry::OpenBabelc::OBForceField_VectorClear", _wrap_OBForceField_VectorClear},
{"Chemistry::OpenBabelc::OBForceField_VectorDot", _wrap_OBForceField_VectorDot},
{"Chemistry::OpenBabelc::OBForceField_VectorCross", _wrap_OBForceField_VectorCross},
{"Chemistry::OpenBabelc::OBForceField_PrintVector", _wrap_OBForceField_PrintVector},
{"Chemistry::OpenBabelc::new_OBBuilder", _wrap_new_OBBuilder},
{"Chemistry::OpenBabelc::OBBuilder_Build", _wrap_OBBuilder_Build},
{"Chemistry::OpenBabelc::OBBuilder_SetKeepRings", _wrap_OBBuilder_SetKeepRings},
{"Chemistry::OpenBabelc::OBBuilder_UnsetKeepRings", _wrap_OBBuilder_UnsetKeepRings},
{"Chemistry::OpenBabelc::OBBuilder_LoadFragments", _wrap_OBBuilder_LoadFragments},
{"Chemistry::OpenBabelc::OBBuilder_GetNewBondVector", _wrap_OBBuilder_GetNewBondVector},
{"Chemistry::OpenBabelc::OBBuilder_Connect", _wrap_OBBuilder_Connect},
{"Chemistry::OpenBabelc::OBBuilder_Swap", _wrap_OBBuilder_Swap},
{"Chemistry::OpenBabelc::OBBuilder_CorrectStereoBonds", _wrap_OBBuilder_CorrectStereoBonds},
{"Chemistry::OpenBabelc::OBBuilder_CorrectStereoAtoms", _wrap_OBBuilder_CorrectStereoAtoms},
{"Chemistry::OpenBabelc::OBBuilder_IsSpiroAtom", _wrap_OBBuilder_IsSpiroAtom},
{"Chemistry::OpenBabelc::OBBuilder_GetFragment", _wrap_OBBuilder_GetFragment},
{"Chemistry::OpenBabelc::OBBuilder_AddNbrs", _wrap_OBBuilder_AddNbrs},
{"Chemistry::OpenBabelc::delete_OBBuilder", _wrap_delete_OBBuilder},
{"Chemistry::OpenBabelc::OBOp_Default", _wrap_OBOp_Default},
{"Chemistry::OpenBabelc::OBOp_FindType", _wrap_OBOp_FindType},
{"Chemistry::OpenBabelc::OBOp_Do", _wrap_OBOp_Do},
{"Chemistry::OpenBabelc::OBOp_WorksWith", _wrap_OBOp_WorksWith},
{"Chemistry::OpenBabelc::OBOp_ProcessVec", _wrap_OBOp_ProcessVec},
{"Chemistry::OpenBabelc::OBOp_OpOptions", _wrap_OBOp_OpOptions},
{"Chemistry::OpenBabelc::OBOp_DoOps", _wrap_OBOp_DoOps},
{"Chemistry::OpenBabelc::delete_OBOp", _wrap_delete_OBOp},
{"Chemistry::OpenBabelc::new_OBBitVec", _wrap_new_OBBitVec},
{"Chemistry::OpenBabelc::OBBitVec_SetBitOn", _wrap_OBBitVec_SetBitOn},
{"Chemistry::OpenBabelc::OBBitVec_SetBitOff", _wrap_OBBitVec_SetBitOff},
{"Chemistry::OpenBabelc::OBBitVec_SetRangeOn", _wrap_OBBitVec_SetRangeOn},
{"Chemistry::OpenBabelc::OBBitVec_SetRangeOff", _wrap_OBBitVec_SetRangeOff},
{"Chemistry::OpenBabelc::OBBitVec_Fold", _wrap_OBBitVec_Fold},
{"Chemistry::OpenBabelc::OBBitVec_FirstBit", _wrap_OBBitVec_FirstBit},
{"Chemistry::OpenBabelc::OBBitVec_NextBit", _wrap_OBBitVec_NextBit},
{"Chemistry::OpenBabelc::OBBitVec_EndBit", _wrap_OBBitVec_EndBit},
{"Chemistry::OpenBabelc::OBBitVec_GetSize", _wrap_OBBitVec_GetSize},
{"Chemistry::OpenBabelc::OBBitVec_CountBits", _wrap_OBBitVec_CountBits},
{"Chemistry::OpenBabelc::OBBitVec_Empty", _wrap_OBBitVec_Empty},
{"Chemistry::OpenBabelc::OBBitVec_IsEmpty", _wrap_OBBitVec_IsEmpty},
{"Chemistry::OpenBabelc::OBBitVec_Resize", _wrap_OBBitVec_Resize},
{"Chemistry::OpenBabelc::OBBitVec_ResizeWords", _wrap_OBBitVec_ResizeWords},
{"Chemistry::OpenBabelc::OBBitVec_BitIsSet", _wrap_OBBitVec_BitIsSet},
{"Chemistry::OpenBabelc::OBBitVec_BitIsOn", _wrap_OBBitVec_BitIsOn},
{"Chemistry::OpenBabelc::OBBitVec_FromVecInt", _wrap_OBBitVec_FromVecInt},
{"Chemistry::OpenBabelc::OBBitVec_FromString", _wrap_OBBitVec_FromString},
{"Chemistry::OpenBabelc::OBBitVec_ToVecInt", _wrap_OBBitVec_ToVecInt},
{"Chemistry::OpenBabelc::OBBitVec_Clear", _wrap_OBBitVec_Clear},
{"Chemistry::OpenBabelc::OBBitVec_Negate", _wrap_OBBitVec_Negate},
{"Chemistry::OpenBabelc::OBBitVec_GetWords", _wrap_OBBitVec_GetWords},
{"Chemistry::OpenBabelc::OBBitVec_add", _wrap_OBBitVec_add},
{"Chemistry::OpenBabelc::OBBitVec_idx", _wrap_OBBitVec_idx},
{"Chemistry::OpenBabelc::delete_OBBitVec", _wrap_delete_OBBitVec},
{"Chemistry::OpenBabelc::Tanimoto", _wrap_Tanimoto},
{"Chemistry::OpenBabelc::new_OBRotorRule", _wrap_new_OBRotorRule},
{"Chemistry::OpenBabelc::delete_OBRotorRule", _wrap_delete_OBRotorRule},
{"Chemistry::OpenBabelc::OBRotorRule_IsValid", _wrap_OBRotorRule_IsValid},
{"Chemistry::OpenBabelc::OBRotorRule_GetReferenceAtoms", _wrap_OBRotorRule_GetReferenceAtoms},
{"Chemistry::OpenBabelc::OBRotorRule_SetDelta", _wrap_OBRotorRule_SetDelta},
{"Chemistry::OpenBabelc::OBRotorRule_GetDelta", _wrap_OBRotorRule_GetDelta},
{"Chemistry::OpenBabelc::OBRotorRule_GetTorsionVals", _wrap_OBRotorRule_GetTorsionVals},
{"Chemistry::OpenBabelc::OBRotorRule_GetSmartsString", _wrap_OBRotorRule_GetSmartsString},
{"Chemistry::OpenBabelc::OBRotorRule_GetSmartsPattern", _wrap_OBRotorRule_GetSmartsPattern},
{"Chemistry::OpenBabelc::new_OBRotorRules", _wrap_new_OBRotorRules},
{"Chemistry::OpenBabelc::delete_OBRotorRules", _wrap_delete_OBRotorRules},
{"Chemistry::OpenBabelc::OBRotorRules_SetFilename", _wrap_OBRotorRules_SetFilename},
{"Chemistry::OpenBabelc::OBRotorRules_GetRotorIncrements", _wrap_OBRotorRules_GetRotorIncrements},
{"Chemistry::OpenBabelc::OBRotorRules_Quiet", _wrap_OBRotorRules_Quiet},
{"Chemistry::OpenBabelc::new_OBRotor", _wrap_new_OBRotor},
{"Chemistry::OpenBabelc::delete_OBRotor", _wrap_delete_OBRotor},
{"Chemistry::OpenBabelc::OBRotor_SetBond", _wrap_OBRotor_SetBond},
{"Chemistry::OpenBabelc::OBRotor_SetIdx", _wrap_OBRotor_SetIdx},
{"Chemistry::OpenBabelc::OBRotor_SetDihedralAtoms", _wrap_OBRotor_SetDihedralAtoms},
{"Chemistry::OpenBabelc::OBRotor_SetRotAtoms", _wrap_OBRotor_SetRotAtoms},
{"Chemistry::OpenBabelc::OBRotor_SetTorsionValues", _wrap_OBRotor_SetTorsionValues},
{"Chemistry::OpenBabelc::OBRotor_SetFixedBonds", _wrap_OBRotor_SetFixedBonds},
{"Chemistry::OpenBabelc::OBRotor_SetToAngle", _wrap_OBRotor_SetToAngle},
{"Chemistry::OpenBabelc::OBRotor_SetRotor", _wrap_OBRotor_SetRotor},
{"Chemistry::OpenBabelc::OBRotor_Precompute", _wrap_OBRotor_Precompute},
{"Chemistry::OpenBabelc::OBRotor_Precalc", _wrap_OBRotor_Precalc},
{"Chemistry::OpenBabelc::OBRotor_Set", _wrap_OBRotor_Set},
{"Chemistry::OpenBabelc::OBRotor_GetBond", _wrap_OBRotor_GetBond},
{"Chemistry::OpenBabelc::OBRotor_Size", _wrap_OBRotor_Size},
{"Chemistry::OpenBabelc::OBRotor_GetIdx", _wrap_OBRotor_GetIdx},
{"Chemistry::OpenBabelc::OBRotor_GetDihedralAtoms", _wrap_OBRotor_GetDihedralAtoms},
{"Chemistry::OpenBabelc::OBRotor_GetTorsionValues", _wrap_OBRotor_GetTorsionValues},
{"Chemistry::OpenBabelc::OBRotor_GetFixedBonds", _wrap_OBRotor_GetFixedBonds},
{"Chemistry::OpenBabelc::OBRotor_CalcTorsion", _wrap_OBRotor_CalcTorsion},
{"Chemistry::OpenBabelc::OBRotor_CalcBondLength", _wrap_OBRotor_CalcBondLength},
{"Chemistry::OpenBabelc::OBRotor_BeginTorIncrement", _wrap_OBRotor_BeginTorIncrement},
{"Chemistry::OpenBabelc::OBRotor_EndTorIncrement", _wrap_OBRotor_EndTorIncrement},
{"Chemistry::OpenBabelc::OBRotor_RemoveSymTorsionValues", _wrap_OBRotor_RemoveSymTorsionValues},
{"Chemistry::OpenBabelc::OBRotor_SetDelta", _wrap_OBRotor_SetDelta},
{"Chemistry::OpenBabelc::OBRotor_GetDelta", _wrap_OBRotor_GetDelta},
{"Chemistry::OpenBabelc::OBRotor_GetFixedAtoms", _wrap_OBRotor_GetFixedAtoms},
{"Chemistry::OpenBabelc::OBRotor_SetFixedAtoms", _wrap_OBRotor_SetFixedAtoms},
{"Chemistry::OpenBabelc::OBRotor_GetEvalAtoms", _wrap_OBRotor_GetEvalAtoms},
{"Chemistry::OpenBabelc::OBRotor_SetEvalAtoms", _wrap_OBRotor_SetEvalAtoms},
{"Chemistry::OpenBabelc::OBRotor_GetRotAtoms", _wrap_OBRotor_GetRotAtoms},
{"Chemistry::OpenBabelc::OBRotor_GetResolution", _wrap_OBRotor_GetResolution},
{"Chemistry::OpenBabelc::OBRotor_SetNumCoords", _wrap_OBRotor_SetNumCoords},
{"Chemistry::OpenBabelc::new_OBRotorList", _wrap_new_OBRotorList},
{"Chemistry::OpenBabelc::delete_OBRotorList", _wrap_delete_OBRotorList},
{"Chemistry::OpenBabelc::OBRotorList_Clear", _wrap_OBRotorList_Clear},
{"Chemistry::OpenBabelc::OBRotorList_Size", _wrap_OBRotorList_Size},
{"Chemistry::OpenBabelc::OBRotorList_IsFixedBond", _wrap_OBRotorList_IsFixedBond},
{"Chemistry::OpenBabelc::OBRotorList_HasFixedBonds", _wrap_OBRotorList_HasFixedBonds},
{"Chemistry::OpenBabelc::OBRotorList_RemoveSymVals", _wrap_OBRotorList_RemoveSymVals},
{"Chemistry::OpenBabelc::OBRotorList_Setup", _wrap_OBRotorList_Setup},
{"Chemistry::OpenBabelc::OBRotorList_SetFixedBonds", _wrap_OBRotorList_SetFixedBonds},
{"Chemistry::OpenBabelc::OBRotorList_Init", _wrap_OBRotorList_Init},
{"Chemistry::OpenBabelc::OBRotorList_SetQuiet", _wrap_OBRotorList_SetQuiet},
{"Chemistry::OpenBabelc::OBRotorList_SetRotAtoms", _wrap_OBRotorList_SetRotAtoms},
{"Chemistry::OpenBabelc::OBRotorList_FindRotors", _wrap_OBRotorList_FindRotors},
{"Chemistry::OpenBabelc::OBRotorList_SetEvalAtoms", _wrap_OBRotorList_SetEvalAtoms},
{"Chemistry::OpenBabelc::OBRotorList_AssignTorVals", _wrap_OBRotorList_AssignTorVals},
{"Chemistry::OpenBabelc::OBRotorList_BeginRotor", _wrap_OBRotorList_BeginRotor},
{"Chemistry::OpenBabelc::OBRotorList_NextRotor", _wrap_OBRotorList_NextRotor},
{"Chemistry::OpenBabelc::OBRotorList_BeginRotors", _wrap_OBRotorList_BeginRotors},
{"Chemistry::OpenBabelc::OBRotorList_EndRotors", _wrap_OBRotorList_EndRotors},
{"Chemistry::OpenBabelc::OBRotorList_IdentifyEvalAtoms", _wrap_OBRotorList_IdentifyEvalAtoms},
{"Chemistry::OpenBabelc::OBRotorList_SetFixAtoms", _wrap_OBRotorList_SetFixAtoms},
{"Chemistry::OpenBabelc::OBRotorList_HasFixedAtoms", _wrap_OBRotorList_HasFixedAtoms},
{"Chemistry::OpenBabelc::OBRotorList_IgnoreSymmetryRemoval", _wrap_OBRotorList_IgnoreSymmetryRemoval},
{"Chemistry::OpenBabelc::OBRotorList_SetRotAtomsByFix", _wrap_OBRotorList_SetRotAtomsByFix},
{"Chemistry::OpenBabelc::new_rotor_digit", _wrap_new_rotor_digit},
{"Chemistry::OpenBabelc::rotor_digit_set_size", _wrap_rotor_digit_set_size},
{"Chemistry::OpenBabelc::rotor_digit_set_state", _wrap_rotor_digit_set_state},
{"Chemistry::OpenBabelc::rotor_digit_get_state", _wrap_rotor_digit_get_state},
{"Chemistry::OpenBabelc::rotor_digit_size", _wrap_rotor_digit_size},
{"Chemistry::OpenBabelc::rotor_digit__next", _wrap_rotor_digit__next},
{"Chemistry::OpenBabelc::delete_rotor_digit", _wrap_delete_rotor_digit},
{"Chemistry::OpenBabelc::new_OBRotorKeys", _wrap_new_OBRotorKeys},
{"Chemistry::OpenBabelc::OBRotorKeys_Clear", _wrap_OBRotorKeys_Clear},
{"Chemistry::OpenBabelc::OBRotorKeys_NumKeys", _wrap_OBRotorKeys_NumKeys},
{"Chemistry::OpenBabelc::OBRotorKeys_AddRotor", _wrap_OBRotorKeys_AddRotor},
{"Chemistry::OpenBabelc::OBRotorKeys_Next", _wrap_OBRotorKeys_Next},
{"Chemistry::OpenBabelc::OBRotorKeys_GetKey", _wrap_OBRotorKeys_GetKey},
{"Chemistry::OpenBabelc::delete_OBRotorKeys", _wrap_delete_OBRotorKeys},
{"Chemistry::OpenBabelc::new_OBRotamerList", _wrap_new_OBRotamerList},
{"Chemistry::OpenBabelc::delete_OBRotamerList", _wrap_delete_OBRotamerList},
{"Chemistry::OpenBabelc::OBRotamerList_Setup", _wrap_OBRotamerList_Setup},
{"Chemistry::OpenBabelc::OBRotamerList_NumRotors", _wrap_OBRotamerList_NumRotors},
{"Chemistry::OpenBabelc::OBRotamerList_NumRotamers", _wrap_OBRotamerList_NumRotamers},
{"Chemistry::OpenBabelc::OBRotamerList_AddRotamer", _wrap_OBRotamerList_AddRotamer},
{"Chemistry::OpenBabelc::OBRotamerList_AddRotamers", _wrap_OBRotamerList_AddRotamers},
{"Chemistry::OpenBabelc::OBRotamerList_GetReferenceArray", _wrap_OBRotamerList_GetReferenceArray},
{"Chemistry::OpenBabelc::OBRotamerList_BeginRotamer", _wrap_OBRotamerList_BeginRotamer},
{"Chemistry::OpenBabelc::OBRotamerList_EndRotamer", _wrap_OBRotamerList_EndRotamer},
{"Chemistry::OpenBabelc::OBRotamerList_CreateConformerList", _wrap_OBRotamerList_CreateConformerList},
{"Chemistry::OpenBabelc::OBRotamerList_ExpandConformerList", _wrap_OBRotamerList_ExpandConformerList},
{"Chemistry::OpenBabelc::OBRotamerList_SetCurrentCoordinates", _wrap_OBRotamerList_SetCurrentCoordinates},
{"Chemistry::OpenBabelc::OBRotamerList_SetBaseCoordinateSets", _wrap_OBRotamerList_SetBaseCoordinateSets},
{"Chemistry::OpenBabelc::OBRotamerList_NumBaseCoordinateSets", _wrap_OBRotamerList_NumBaseCoordinateSets},
{"Chemistry::OpenBabelc::OBRotamerList_GetBaseCoordinateSet", _wrap_OBRotamerList_GetBaseCoordinateSet},
{"Chemistry::OpenBabelc::OBRotamerList_NumAtoms", _wrap_OBRotamerList_NumAtoms},
{"Chemistry::OpenBabelc::double_array", _wrap_double_array},
{"Chemistry::OpenBabelc::double_destroy", _wrap_double_destroy},
{"Chemistry::OpenBabelc::double_set", _wrap_double_set},
{"Chemistry::OpenBabelc::double_get", _wrap_double_get},
{"Chemistry::OpenBabelc::rotation_matrix", _wrap_rotation_matrix},
{"Chemistry::OpenBabelc::rotation_matrix_free", _wrap_rotation_matrix_free},
{"Chemistry::OpenBabelc::new__OBMolAtomIter", _wrap_new__OBMolAtomIter},
{"Chemistry::OpenBabelc::delete__OBMolAtomIter", _wrap_delete__OBMolAtomIter},
{"Chemistry::OpenBabelc::_OBMolAtomIter_good", _wrap__OBMolAtomIter_good},
{"Chemistry::OpenBabelc::_OBMolAtomIter_inc", _wrap__OBMolAtomIter_inc},
{"Chemistry::OpenBabelc::_OBMolAtomIter_deref", _wrap__OBMolAtomIter_deref},
{"Chemistry::OpenBabelc::_OBMolAtomIter___ref__", _wrap__OBMolAtomIter___ref__},
{"Chemistry::OpenBabelc::_OBMolAtomIter_Visit_set", _wrap__OBMolAtomIter_Visit_set},
{"Chemistry::OpenBabelc::_OBMolAtomIter_Visit_get", _wrap__OBMolAtomIter_Visit_get},
{"Chemistry::OpenBabelc::_OBMolAtomIter___eq__", _wrap__OBMolAtomIter___eq__},
{"Chemistry::OpenBabelc::_OBMolAtomIter_Duplicate", _wrap__OBMolAtomIter_Duplicate},
{"Chemistry::OpenBabelc::_OBMolAtomIter_SetIdx", _wrap__OBMolAtomIter_SetIdx},
{"Chemistry::OpenBabelc::_OBMolAtomIter_SetId", _wrap__OBMolAtomIter_SetId},
{"Chemistry::OpenBabelc::_OBMolAtomIter_SetHyb", _wrap__OBMolAtomIter_SetHyb},
{"Chemistry::OpenBabelc::_OBMolAtomIter_SetAtomicNum", _wrap__OBMolAtomIter_SetAtomicNum},
{"Chemistry::OpenBabelc::_OBMolAtomIter_SetIsotope", _wrap__OBMolAtomIter_SetIsotope},
{"Chemistry::OpenBabelc::_OBMolAtomIter_SetImplicitValence", _wrap__OBMolAtomIter_SetImplicitValence},
{"Chemistry::OpenBabelc::_OBMolAtomIter_IncrementImplicitValence", _wrap__OBMolAtomIter_IncrementImplicitValence},
{"Chemistry::OpenBabelc::_OBMolAtomIter_DecrementImplicitValence", _wrap__OBMolAtomIter_DecrementImplicitValence},
{"Chemistry::OpenBabelc::_OBMolAtomIter_SetFormalCharge", _wrap__OBMolAtomIter_SetFormalCharge},
{"Chemistry::OpenBabelc::_OBMolAtomIter_SetSpinMultiplicity", _wrap__OBMolAtomIter_SetSpinMultiplicity},
{"Chemistry::OpenBabelc::_OBMolAtomIter_SetType", _wrap__OBMolAtomIter_SetType},
{"Chemistry::OpenBabelc::_OBMolAtomIter_SetPartialCharge", _wrap__OBMolAtomIter_SetPartialCharge},
{"Chemistry::OpenBabelc::_OBMolAtomIter_SetVector", _wrap__OBMolAtomIter_SetVector},
{"Chemistry::OpenBabelc::_OBMolAtomIter_SetCoordPtr", _wrap__OBMolAtomIter_SetCoordPtr},
{"Chemistry::OpenBabelc::_OBMolAtomIter_SetResidue", _wrap__OBMolAtomIter_SetResidue},
{"Chemistry::OpenBabelc::_OBMolAtomIter_SetParent", _wrap__OBMolAtomIter_SetParent},
{"Chemistry::OpenBabelc::_OBMolAtomIter_SetAromatic", _wrap__OBMolAtomIter_SetAromatic},
{"Chemistry::OpenBabelc::_OBMolAtomIter_UnsetAromatic", _wrap__OBMolAtomIter_UnsetAromatic},
{"Chemistry::OpenBabelc::_OBMolAtomIter_SetClockwiseStereo", _wrap__OBMolAtomIter_SetClockwiseStereo},
{"Chemistry::OpenBabelc::_OBMolAtomIter_SetAntiClockwiseStereo", _wrap__OBMolAtomIter_SetAntiClockwiseStereo},
{"Chemistry::OpenBabelc::_OBMolAtomIter_SetPositiveStereo", _wrap__OBMolAtomIter_SetPositiveStereo},
{"Chemistry::OpenBabelc::_OBMolAtomIter_SetNegativeStereo", _wrap__OBMolAtomIter_SetNegativeStereo},
{"Chemistry::OpenBabelc::_OBMolAtomIter_UnsetStereo", _wrap__OBMolAtomIter_UnsetStereo},
{"Chemistry::OpenBabelc::_OBMolAtomIter_SetInRing", _wrap__OBMolAtomIter_SetInRing},
{"Chemistry::OpenBabelc::_OBMolAtomIter_SetChiral", _wrap__OBMolAtomIter_SetChiral},
{"Chemistry::OpenBabelc::_OBMolAtomIter_ClearCoordPtr", _wrap__OBMolAtomIter_ClearCoordPtr},
{"Chemistry::OpenBabelc::_OBMolAtomIter_GetFormalCharge", _wrap__OBMolAtomIter_GetFormalCharge},
{"Chemistry::OpenBabelc::_OBMolAtomIter_GetAtomicNum", _wrap__OBMolAtomIter_GetAtomicNum},
{"Chemistry::OpenBabelc::_OBMolAtomIter_GetIsotope", _wrap__OBMolAtomIter_GetIsotope},
{"Chemistry::OpenBabelc::_OBMolAtomIter_GetSpinMultiplicity", _wrap__OBMolAtomIter_GetSpinMultiplicity},
{"Chemistry::OpenBabelc::_OBMolAtomIter_GetAtomicMass", _wrap__OBMolAtomIter_GetAtomicMass},
{"Chemistry::OpenBabelc::_OBMolAtomIter_GetExactMass", _wrap__OBMolAtomIter_GetExactMass},
{"Chemistry::OpenBabelc::_OBMolAtomIter_GetIdx", _wrap__OBMolAtomIter_GetIdx},
{"Chemistry::OpenBabelc::_OBMolAtomIter_GetIndex", _wrap__OBMolAtomIter_GetIndex},
{"Chemistry::OpenBabelc::_OBMolAtomIter_GetId", _wrap__OBMolAtomIter_GetId},
{"Chemistry::OpenBabelc::_OBMolAtomIter_GetCoordinateIdx", _wrap__OBMolAtomIter_GetCoordinateIdx},
{"Chemistry::OpenBabelc::_OBMolAtomIter_GetCIdx", _wrap__OBMolAtomIter_GetCIdx},
{"Chemistry::OpenBabelc::_OBMolAtomIter_GetValence", _wrap__OBMolAtomIter_GetValence},
{"Chemistry::OpenBabelc::_OBMolAtomIter_GetHyb", _wrap__OBMolAtomIter_GetHyb},
{"Chemistry::OpenBabelc::_OBMolAtomIter_GetImplicitValence", _wrap__OBMolAtomIter_GetImplicitValence},
{"Chemistry::OpenBabelc::_OBMolAtomIter_GetHvyValence", _wrap__OBMolAtomIter_GetHvyValence},
{"Chemistry::OpenBabelc::_OBMolAtomIter_GetHeteroValence", _wrap__OBMolAtomIter_GetHeteroValence},
{"Chemistry::OpenBabelc::_OBMolAtomIter_GetType", _wrap__OBMolAtomIter_GetType},
{"Chemistry::OpenBabelc::_OBMolAtomIter_GetX", _wrap__OBMolAtomIter_GetX},
{"Chemistry::OpenBabelc::_OBMolAtomIter_GetY", _wrap__OBMolAtomIter_GetY},
{"Chemistry::OpenBabelc::_OBMolAtomIter_GetZ", _wrap__OBMolAtomIter_GetZ},
{"Chemistry::OpenBabelc::_OBMolAtomIter_x", _wrap__OBMolAtomIter_x},
{"Chemistry::OpenBabelc::_OBMolAtomIter_y", _wrap__OBMolAtomIter_y},
{"Chemistry::OpenBabelc::_OBMolAtomIter_z", _wrap__OBMolAtomIter_z},
{"Chemistry::OpenBabelc::_OBMolAtomIter_GetCoordinate", _wrap__OBMolAtomIter_GetCoordinate},
{"Chemistry::OpenBabelc::_OBMolAtomIter_GetVector", _wrap__OBMolAtomIter_GetVector},
{"Chemistry::OpenBabelc::_OBMolAtomIter_GetPartialCharge", _wrap__OBMolAtomIter_GetPartialCharge},
{"Chemistry::OpenBabelc::_OBMolAtomIter_GetResidue", _wrap__OBMolAtomIter_GetResidue},
{"Chemistry::OpenBabelc::_OBMolAtomIter_GetParent", _wrap__OBMolAtomIter_GetParent},
{"Chemistry::OpenBabelc::_OBMolAtomIter_GetNewBondVector", _wrap__OBMolAtomIter_GetNewBondVector},
{"Chemistry::OpenBabelc::_OBMolAtomIter_GetBond", _wrap__OBMolAtomIter_GetBond},
{"Chemistry::OpenBabelc::_OBMolAtomIter_GetNextAtom", _wrap__OBMolAtomIter_GetNextAtom},
{"Chemistry::OpenBabelc::_OBMolAtomIter_BeginBonds", _wrap__OBMolAtomIter_BeginBonds},
{"Chemistry::OpenBabelc::_OBMolAtomIter_EndBonds", _wrap__OBMolAtomIter_EndBonds},
{"Chemistry::OpenBabelc::_OBMolAtomIter_BeginBond", _wrap__OBMolAtomIter_BeginBond},
{"Chemistry::OpenBabelc::_OBMolAtomIter_NextBond", _wrap__OBMolAtomIter_NextBond},
{"Chemistry::OpenBabelc::_OBMolAtomIter_BeginNbrAtom", _wrap__OBMolAtomIter_BeginNbrAtom},
{"Chemistry::OpenBabelc::_OBMolAtomIter_NextNbrAtom", _wrap__OBMolAtomIter_NextNbrAtom},
{"Chemistry::OpenBabelc::_OBMolAtomIter_GetDistance", _wrap__OBMolAtomIter_GetDistance},
{"Chemistry::OpenBabelc::_OBMolAtomIter_GetAngle", _wrap__OBMolAtomIter_GetAngle},
{"Chemistry::OpenBabelc::_OBMolAtomIter_NewResidue", _wrap__OBMolAtomIter_NewResidue},
{"Chemistry::OpenBabelc::_OBMolAtomIter_AddResidue", _wrap__OBMolAtomIter_AddResidue},
{"Chemistry::OpenBabelc::_OBMolAtomIter_DeleteResidue", _wrap__OBMolAtomIter_DeleteResidue},
{"Chemistry::OpenBabelc::_OBMolAtomIter_AddBond", _wrap__OBMolAtomIter_AddBond},
{"Chemistry::OpenBabelc::_OBMolAtomIter_InsertBond", _wrap__OBMolAtomIter_InsertBond},
{"Chemistry::OpenBabelc::_OBMolAtomIter_DeleteBond", _wrap__OBMolAtomIter_DeleteBond},
{"Chemistry::OpenBabelc::_OBMolAtomIter_ClearBond", _wrap__OBMolAtomIter_ClearBond},
{"Chemistry::OpenBabelc::_OBMolAtomIter_HtoMethyl", _wrap__OBMolAtomIter_HtoMethyl},
{"Chemistry::OpenBabelc::_OBMolAtomIter_SetHybAndGeom", _wrap__OBMolAtomIter_SetHybAndGeom},
{"Chemistry::OpenBabelc::_OBMolAtomIter_ForceNoH", _wrap__OBMolAtomIter_ForceNoH},
{"Chemistry::OpenBabelc::_OBMolAtomIter_HasNoHForced", _wrap__OBMolAtomIter_HasNoHForced},
{"Chemistry::OpenBabelc::_OBMolAtomIter_ForceImplH", _wrap__OBMolAtomIter_ForceImplH},
{"Chemistry::OpenBabelc::_OBMolAtomIter_HasImplHForced", _wrap__OBMolAtomIter_HasImplHForced},
{"Chemistry::OpenBabelc::_OBMolAtomIter_CountFreeOxygens", _wrap__OBMolAtomIter_CountFreeOxygens},
{"Chemistry::OpenBabelc::_OBMolAtomIter_ImplicitHydrogenCount", _wrap__OBMolAtomIter_ImplicitHydrogenCount},
{"Chemistry::OpenBabelc::_OBMolAtomIter_ExplicitHydrogenCount", _wrap__OBMolAtomIter_ExplicitHydrogenCount},
{"Chemistry::OpenBabelc::_OBMolAtomIter_MemberOfRingCount", _wrap__OBMolAtomIter_MemberOfRingCount},
{"Chemistry::OpenBabelc::_OBMolAtomIter_MemberOfRingSize", _wrap__OBMolAtomIter_MemberOfRingSize},
{"Chemistry::OpenBabelc::_OBMolAtomIter_CountRingBonds", _wrap__OBMolAtomIter_CountRingBonds},
{"Chemistry::OpenBabelc::_OBMolAtomIter_SmallestBondAngle", _wrap__OBMolAtomIter_SmallestBondAngle},
{"Chemistry::OpenBabelc::_OBMolAtomIter_AverageBondAngle", _wrap__OBMolAtomIter_AverageBondAngle},
{"Chemistry::OpenBabelc::_OBMolAtomIter_BOSum", _wrap__OBMolAtomIter_BOSum},
{"Chemistry::OpenBabelc::_OBMolAtomIter_KBOSum", _wrap__OBMolAtomIter_KBOSum},
{"Chemistry::OpenBabelc::_OBMolAtomIter_HasResidue", _wrap__OBMolAtomIter_HasResidue},
{"Chemistry::OpenBabelc::_OBMolAtomIter_IsHydrogen", _wrap__OBMolAtomIter_IsHydrogen},
{"Chemistry::OpenBabelc::_OBMolAtomIter_IsCarbon", _wrap__OBMolAtomIter_IsCarbon},
{"Chemistry::OpenBabelc::_OBMolAtomIter_IsNitrogen", _wrap__OBMolAtomIter_IsNitrogen},
{"Chemistry::OpenBabelc::_OBMolAtomIter_IsOxygen", _wrap__OBMolAtomIter_IsOxygen},
{"Chemistry::OpenBabelc::_OBMolAtomIter_IsSulfur", _wrap__OBMolAtomIter_IsSulfur},
{"Chemistry::OpenBabelc::_OBMolAtomIter_IsPhosphorus", _wrap__OBMolAtomIter_IsPhosphorus},
{"Chemistry::OpenBabelc::_OBMolAtomIter_IsAromatic", _wrap__OBMolAtomIter_IsAromatic},
{"Chemistry::OpenBabelc::_OBMolAtomIter_IsInRing", _wrap__OBMolAtomIter_IsInRing},
{"Chemistry::OpenBabelc::_OBMolAtomIter_IsInRingSize", _wrap__OBMolAtomIter_IsInRingSize},
{"Chemistry::OpenBabelc::_OBMolAtomIter_IsHeteroatom", _wrap__OBMolAtomIter_IsHeteroatom},
{"Chemistry::OpenBabelc::_OBMolAtomIter_IsNotCorH", _wrap__OBMolAtomIter_IsNotCorH},
{"Chemistry::OpenBabelc::_OBMolAtomIter_IsConnected", _wrap__OBMolAtomIter_IsConnected},
{"Chemistry::OpenBabelc::_OBMolAtomIter_IsOneThree", _wrap__OBMolAtomIter_IsOneThree},
{"Chemistry::OpenBabelc::_OBMolAtomIter_IsOneFour", _wrap__OBMolAtomIter_IsOneFour},
{"Chemistry::OpenBabelc::_OBMolAtomIter_IsCarboxylOxygen", _wrap__OBMolAtomIter_IsCarboxylOxygen},
{"Chemistry::OpenBabelc::_OBMolAtomIter_IsPhosphateOxygen", _wrap__OBMolAtomIter_IsPhosphateOxygen},
{"Chemistry::OpenBabelc::_OBMolAtomIter_IsSulfateOxygen", _wrap__OBMolAtomIter_IsSulfateOxygen},
{"Chemistry::OpenBabelc::_OBMolAtomIter_IsNitroOxygen", _wrap__OBMolAtomIter_IsNitroOxygen},
{"Chemistry::OpenBabelc::_OBMolAtomIter_IsAmideNitrogen", _wrap__OBMolAtomIter_IsAmideNitrogen},
{"Chemistry::OpenBabelc::_OBMolAtomIter_IsPolarHydrogen", _wrap__OBMolAtomIter_IsPolarHydrogen},
{"Chemistry::OpenBabelc::_OBMolAtomIter_IsNonPolarHydrogen", _wrap__OBMolAtomIter_IsNonPolarHydrogen},
{"Chemistry::OpenBabelc::_OBMolAtomIter_IsAromaticNOxide", _wrap__OBMolAtomIter_IsAromaticNOxide},
{"Chemistry::OpenBabelc::_OBMolAtomIter_IsChiral", _wrap__OBMolAtomIter_IsChiral},
{"Chemistry::OpenBabelc::_OBMolAtomIter_IsAxial", _wrap__OBMolAtomIter_IsAxial},
{"Chemistry::OpenBabelc::_OBMolAtomIter_IsClockwise", _wrap__OBMolAtomIter_IsClockwise},
{"Chemistry::OpenBabelc::_OBMolAtomIter_IsAntiClockwise", _wrap__OBMolAtomIter_IsAntiClockwise},
{"Chemistry::OpenBabelc::_OBMolAtomIter_IsPositiveStereo", _wrap__OBMolAtomIter_IsPositiveStereo},
{"Chemistry::OpenBabelc::_OBMolAtomIter_IsNegativeStereo", _wrap__OBMolAtomIter_IsNegativeStereo},
{"Chemistry::OpenBabelc::_OBMolAtomIter_HasChiralitySpecified", _wrap__OBMolAtomIter_HasChiralitySpecified},
{"Chemistry::OpenBabelc::_OBMolAtomIter_HasChiralVolume", _wrap__OBMolAtomIter_HasChiralVolume},
{"Chemistry::OpenBabelc::_OBMolAtomIter_IsHbondAcceptor", _wrap__OBMolAtomIter_IsHbondAcceptor},
{"Chemistry::OpenBabelc::_OBMolAtomIter_IsHbondDonor", _wrap__OBMolAtomIter_IsHbondDonor},
{"Chemistry::OpenBabelc::_OBMolAtomIter_IsHbondDonorH", _wrap__OBMolAtomIter_IsHbondDonorH},
{"Chemistry::OpenBabelc::_OBMolAtomIter_HasAlphaBetaUnsat", _wrap__OBMolAtomIter_HasAlphaBetaUnsat},
{"Chemistry::OpenBabelc::_OBMolAtomIter_HasBondOfOrder", _wrap__OBMolAtomIter_HasBondOfOrder},
{"Chemistry::OpenBabelc::_OBMolAtomIter_CountBondsOfOrder", _wrap__OBMolAtomIter_CountBondsOfOrder},
{"Chemistry::OpenBabelc::_OBMolAtomIter_HasNonSingleBond", _wrap__OBMolAtomIter_HasNonSingleBond},
{"Chemistry::OpenBabelc::_OBMolAtomIter_HasSingleBond", _wrap__OBMolAtomIter_HasSingleBond},
{"Chemistry::OpenBabelc::_OBMolAtomIter_HasDoubleBond", _wrap__OBMolAtomIter_HasDoubleBond},
{"Chemistry::OpenBabelc::_OBMolAtomIter_HasAromaticBond", _wrap__OBMolAtomIter_HasAromaticBond},
{"Chemistry::OpenBabelc::_OBMolAtomIter_MatchesSMARTS", _wrap__OBMolAtomIter_MatchesSMARTS},
{"Chemistry::OpenBabelc::_OBMolAtomIter_Clear", _wrap__OBMolAtomIter_Clear},
{"Chemistry::OpenBabelc::_OBMolAtomIter_DoTransformations", _wrap__OBMolAtomIter_DoTransformations},
{"Chemistry::OpenBabelc::_OBMolAtomIter_ClassDescription", _wrap__OBMolAtomIter_ClassDescription},
{"Chemistry::OpenBabelc::_OBMolAtomIter_GetTitle", _wrap__OBMolAtomIter_GetTitle},
{"Chemistry::OpenBabelc::_OBMolAtomIter_SetTitle", _wrap__OBMolAtomIter_SetTitle},
{"Chemistry::OpenBabelc::_OBMolAtomIter_HasData", _wrap__OBMolAtomIter_HasData},
{"Chemistry::OpenBabelc::_OBMolAtomIter_DeleteData", _wrap__OBMolAtomIter_DeleteData},
{"Chemistry::OpenBabelc::_OBMolAtomIter_CloneData", _wrap__OBMolAtomIter_CloneData},
{"Chemistry::OpenBabelc::_OBMolAtomIter_DataSize", _wrap__OBMolAtomIter_DataSize},
{"Chemistry::OpenBabelc::_OBMolAtomIter_GetData", _wrap__OBMolAtomIter_GetData},
{"Chemistry::OpenBabelc::_OBMolAtomIter_GetAllData", _wrap__OBMolAtomIter_GetAllData},
{"Chemistry::OpenBabelc::_OBMolAtomIter_BeginData", _wrap__OBMolAtomIter_BeginData},
{"Chemistry::OpenBabelc::_OBMolAtomIter_EndData", _wrap__OBMolAtomIter_EndData},
{"Chemistry::OpenBabelc::new__OBMolAtomDFSIter", _wrap_new__OBMolAtomDFSIter},
{"Chemistry::OpenBabelc::delete__OBMolAtomDFSIter", _wrap_delete__OBMolAtomDFSIter},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_good", _wrap__OBMolAtomDFSIter_good},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_inc", _wrap__OBMolAtomDFSIter_inc},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_deref", _wrap__OBMolAtomDFSIter_deref},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter___ref__", _wrap__OBMolAtomDFSIter___ref__},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter__next", _wrap__OBMolAtomDFSIter__next},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_Visit_set", _wrap__OBMolAtomDFSIter_Visit_set},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_Visit_get", _wrap__OBMolAtomDFSIter_Visit_get},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter___eq__", _wrap__OBMolAtomDFSIter___eq__},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_Duplicate", _wrap__OBMolAtomDFSIter_Duplicate},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_SetIdx", _wrap__OBMolAtomDFSIter_SetIdx},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_SetId", _wrap__OBMolAtomDFSIter_SetId},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_SetHyb", _wrap__OBMolAtomDFSIter_SetHyb},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_SetAtomicNum", _wrap__OBMolAtomDFSIter_SetAtomicNum},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_SetIsotope", _wrap__OBMolAtomDFSIter_SetIsotope},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_SetImplicitValence", _wrap__OBMolAtomDFSIter_SetImplicitValence},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_IncrementImplicitValence", _wrap__OBMolAtomDFSIter_IncrementImplicitValence},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_DecrementImplicitValence", _wrap__OBMolAtomDFSIter_DecrementImplicitValence},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_SetFormalCharge", _wrap__OBMolAtomDFSIter_SetFormalCharge},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_SetSpinMultiplicity", _wrap__OBMolAtomDFSIter_SetSpinMultiplicity},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_SetType", _wrap__OBMolAtomDFSIter_SetType},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_SetPartialCharge", _wrap__OBMolAtomDFSIter_SetPartialCharge},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_SetVector", _wrap__OBMolAtomDFSIter_SetVector},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_SetCoordPtr", _wrap__OBMolAtomDFSIter_SetCoordPtr},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_SetResidue", _wrap__OBMolAtomDFSIter_SetResidue},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_SetParent", _wrap__OBMolAtomDFSIter_SetParent},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_SetAromatic", _wrap__OBMolAtomDFSIter_SetAromatic},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_UnsetAromatic", _wrap__OBMolAtomDFSIter_UnsetAromatic},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_SetClockwiseStereo", _wrap__OBMolAtomDFSIter_SetClockwiseStereo},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_SetAntiClockwiseStereo", _wrap__OBMolAtomDFSIter_SetAntiClockwiseStereo},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_SetPositiveStereo", _wrap__OBMolAtomDFSIter_SetPositiveStereo},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_SetNegativeStereo", _wrap__OBMolAtomDFSIter_SetNegativeStereo},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_UnsetStereo", _wrap__OBMolAtomDFSIter_UnsetStereo},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_SetInRing", _wrap__OBMolAtomDFSIter_SetInRing},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_SetChiral", _wrap__OBMolAtomDFSIter_SetChiral},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_ClearCoordPtr", _wrap__OBMolAtomDFSIter_ClearCoordPtr},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_GetFormalCharge", _wrap__OBMolAtomDFSIter_GetFormalCharge},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_GetAtomicNum", _wrap__OBMolAtomDFSIter_GetAtomicNum},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_GetIsotope", _wrap__OBMolAtomDFSIter_GetIsotope},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_GetSpinMultiplicity", _wrap__OBMolAtomDFSIter_GetSpinMultiplicity},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_GetAtomicMass", _wrap__OBMolAtomDFSIter_GetAtomicMass},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_GetExactMass", _wrap__OBMolAtomDFSIter_GetExactMass},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_GetIdx", _wrap__OBMolAtomDFSIter_GetIdx},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_GetIndex", _wrap__OBMolAtomDFSIter_GetIndex},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_GetId", _wrap__OBMolAtomDFSIter_GetId},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_GetCoordinateIdx", _wrap__OBMolAtomDFSIter_GetCoordinateIdx},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_GetCIdx", _wrap__OBMolAtomDFSIter_GetCIdx},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_GetValence", _wrap__OBMolAtomDFSIter_GetValence},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_GetHyb", _wrap__OBMolAtomDFSIter_GetHyb},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_GetImplicitValence", _wrap__OBMolAtomDFSIter_GetImplicitValence},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_GetHvyValence", _wrap__OBMolAtomDFSIter_GetHvyValence},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_GetHeteroValence", _wrap__OBMolAtomDFSIter_GetHeteroValence},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_GetType", _wrap__OBMolAtomDFSIter_GetType},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_GetX", _wrap__OBMolAtomDFSIter_GetX},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_GetY", _wrap__OBMolAtomDFSIter_GetY},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_GetZ", _wrap__OBMolAtomDFSIter_GetZ},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_x", _wrap__OBMolAtomDFSIter_x},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_y", _wrap__OBMolAtomDFSIter_y},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_z", _wrap__OBMolAtomDFSIter_z},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_GetCoordinate", _wrap__OBMolAtomDFSIter_GetCoordinate},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_GetVector", _wrap__OBMolAtomDFSIter_GetVector},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_GetPartialCharge", _wrap__OBMolAtomDFSIter_GetPartialCharge},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_GetResidue", _wrap__OBMolAtomDFSIter_GetResidue},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_GetParent", _wrap__OBMolAtomDFSIter_GetParent},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_GetNewBondVector", _wrap__OBMolAtomDFSIter_GetNewBondVector},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_GetBond", _wrap__OBMolAtomDFSIter_GetBond},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_GetNextAtom", _wrap__OBMolAtomDFSIter_GetNextAtom},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_BeginBonds", _wrap__OBMolAtomDFSIter_BeginBonds},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_EndBonds", _wrap__OBMolAtomDFSIter_EndBonds},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_BeginBond", _wrap__OBMolAtomDFSIter_BeginBond},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_NextBond", _wrap__OBMolAtomDFSIter_NextBond},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_BeginNbrAtom", _wrap__OBMolAtomDFSIter_BeginNbrAtom},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_NextNbrAtom", _wrap__OBMolAtomDFSIter_NextNbrAtom},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_GetDistance", _wrap__OBMolAtomDFSIter_GetDistance},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_GetAngle", _wrap__OBMolAtomDFSIter_GetAngle},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_NewResidue", _wrap__OBMolAtomDFSIter_NewResidue},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_AddResidue", _wrap__OBMolAtomDFSIter_AddResidue},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_DeleteResidue", _wrap__OBMolAtomDFSIter_DeleteResidue},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_AddBond", _wrap__OBMolAtomDFSIter_AddBond},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_InsertBond", _wrap__OBMolAtomDFSIter_InsertBond},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_DeleteBond", _wrap__OBMolAtomDFSIter_DeleteBond},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_ClearBond", _wrap__OBMolAtomDFSIter_ClearBond},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_HtoMethyl", _wrap__OBMolAtomDFSIter_HtoMethyl},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_SetHybAndGeom", _wrap__OBMolAtomDFSIter_SetHybAndGeom},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_ForceNoH", _wrap__OBMolAtomDFSIter_ForceNoH},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_HasNoHForced", _wrap__OBMolAtomDFSIter_HasNoHForced},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_ForceImplH", _wrap__OBMolAtomDFSIter_ForceImplH},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_HasImplHForced", _wrap__OBMolAtomDFSIter_HasImplHForced},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_CountFreeOxygens", _wrap__OBMolAtomDFSIter_CountFreeOxygens},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_ImplicitHydrogenCount", _wrap__OBMolAtomDFSIter_ImplicitHydrogenCount},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_ExplicitHydrogenCount", _wrap__OBMolAtomDFSIter_ExplicitHydrogenCount},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_MemberOfRingCount", _wrap__OBMolAtomDFSIter_MemberOfRingCount},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_MemberOfRingSize", _wrap__OBMolAtomDFSIter_MemberOfRingSize},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_CountRingBonds", _wrap__OBMolAtomDFSIter_CountRingBonds},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_SmallestBondAngle", _wrap__OBMolAtomDFSIter_SmallestBondAngle},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_AverageBondAngle", _wrap__OBMolAtomDFSIter_AverageBondAngle},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_BOSum", _wrap__OBMolAtomDFSIter_BOSum},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_KBOSum", _wrap__OBMolAtomDFSIter_KBOSum},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_HasResidue", _wrap__OBMolAtomDFSIter_HasResidue},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_IsHydrogen", _wrap__OBMolAtomDFSIter_IsHydrogen},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_IsCarbon", _wrap__OBMolAtomDFSIter_IsCarbon},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_IsNitrogen", _wrap__OBMolAtomDFSIter_IsNitrogen},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_IsOxygen", _wrap__OBMolAtomDFSIter_IsOxygen},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_IsSulfur", _wrap__OBMolAtomDFSIter_IsSulfur},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_IsPhosphorus", _wrap__OBMolAtomDFSIter_IsPhosphorus},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_IsAromatic", _wrap__OBMolAtomDFSIter_IsAromatic},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_IsInRing", _wrap__OBMolAtomDFSIter_IsInRing},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_IsInRingSize", _wrap__OBMolAtomDFSIter_IsInRingSize},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_IsHeteroatom", _wrap__OBMolAtomDFSIter_IsHeteroatom},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_IsNotCorH", _wrap__OBMolAtomDFSIter_IsNotCorH},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_IsConnected", _wrap__OBMolAtomDFSIter_IsConnected},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_IsOneThree", _wrap__OBMolAtomDFSIter_IsOneThree},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_IsOneFour", _wrap__OBMolAtomDFSIter_IsOneFour},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_IsCarboxylOxygen", _wrap__OBMolAtomDFSIter_IsCarboxylOxygen},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_IsPhosphateOxygen", _wrap__OBMolAtomDFSIter_IsPhosphateOxygen},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_IsSulfateOxygen", _wrap__OBMolAtomDFSIter_IsSulfateOxygen},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_IsNitroOxygen", _wrap__OBMolAtomDFSIter_IsNitroOxygen},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_IsAmideNitrogen", _wrap__OBMolAtomDFSIter_IsAmideNitrogen},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_IsPolarHydrogen", _wrap__OBMolAtomDFSIter_IsPolarHydrogen},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_IsNonPolarHydrogen", _wrap__OBMolAtomDFSIter_IsNonPolarHydrogen},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_IsAromaticNOxide", _wrap__OBMolAtomDFSIter_IsAromaticNOxide},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_IsChiral", _wrap__OBMolAtomDFSIter_IsChiral},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_IsAxial", _wrap__OBMolAtomDFSIter_IsAxial},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_IsClockwise", _wrap__OBMolAtomDFSIter_IsClockwise},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_IsAntiClockwise", _wrap__OBMolAtomDFSIter_IsAntiClockwise},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_IsPositiveStereo", _wrap__OBMolAtomDFSIter_IsPositiveStereo},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_IsNegativeStereo", _wrap__OBMolAtomDFSIter_IsNegativeStereo},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_HasChiralitySpecified", _wrap__OBMolAtomDFSIter_HasChiralitySpecified},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_HasChiralVolume", _wrap__OBMolAtomDFSIter_HasChiralVolume},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_IsHbondAcceptor", _wrap__OBMolAtomDFSIter_IsHbondAcceptor},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_IsHbondDonor", _wrap__OBMolAtomDFSIter_IsHbondDonor},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_IsHbondDonorH", _wrap__OBMolAtomDFSIter_IsHbondDonorH},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_HasAlphaBetaUnsat", _wrap__OBMolAtomDFSIter_HasAlphaBetaUnsat},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_HasBondOfOrder", _wrap__OBMolAtomDFSIter_HasBondOfOrder},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_CountBondsOfOrder", _wrap__OBMolAtomDFSIter_CountBondsOfOrder},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_HasNonSingleBond", _wrap__OBMolAtomDFSIter_HasNonSingleBond},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_HasSingleBond", _wrap__OBMolAtomDFSIter_HasSingleBond},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_HasDoubleBond", _wrap__OBMolAtomDFSIter_HasDoubleBond},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_HasAromaticBond", _wrap__OBMolAtomDFSIter_HasAromaticBond},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_MatchesSMARTS", _wrap__OBMolAtomDFSIter_MatchesSMARTS},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_Clear", _wrap__OBMolAtomDFSIter_Clear},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_DoTransformations", _wrap__OBMolAtomDFSIter_DoTransformations},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_ClassDescription", _wrap__OBMolAtomDFSIter_ClassDescription},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_GetTitle", _wrap__OBMolAtomDFSIter_GetTitle},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_SetTitle", _wrap__OBMolAtomDFSIter_SetTitle},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_HasData", _wrap__OBMolAtomDFSIter_HasData},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_DeleteData", _wrap__OBMolAtomDFSIter_DeleteData},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_CloneData", _wrap__OBMolAtomDFSIter_CloneData},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_DataSize", _wrap__OBMolAtomDFSIter_DataSize},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_GetData", _wrap__OBMolAtomDFSIter_GetData},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_GetAllData", _wrap__OBMolAtomDFSIter_GetAllData},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_BeginData", _wrap__OBMolAtomDFSIter_BeginData},
{"Chemistry::OpenBabelc::_OBMolAtomDFSIter_EndData", _wrap__OBMolAtomDFSIter_EndData},
{"Chemistry::OpenBabelc::new__OBMolAtomBFSIter", _wrap_new__OBMolAtomBFSIter},
{"Chemistry::OpenBabelc::delete__OBMolAtomBFSIter", _wrap_delete__OBMolAtomBFSIter},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_good", _wrap__OBMolAtomBFSIter_good},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_inc", _wrap__OBMolAtomBFSIter_inc},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_deref", _wrap__OBMolAtomBFSIter_deref},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter___ref__", _wrap__OBMolAtomBFSIter___ref__},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_CurrentDepth", _wrap__OBMolAtomBFSIter_CurrentDepth},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_Visit_set", _wrap__OBMolAtomBFSIter_Visit_set},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_Visit_get", _wrap__OBMolAtomBFSIter_Visit_get},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter___eq__", _wrap__OBMolAtomBFSIter___eq__},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_Duplicate", _wrap__OBMolAtomBFSIter_Duplicate},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_SetIdx", _wrap__OBMolAtomBFSIter_SetIdx},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_SetId", _wrap__OBMolAtomBFSIter_SetId},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_SetHyb", _wrap__OBMolAtomBFSIter_SetHyb},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_SetAtomicNum", _wrap__OBMolAtomBFSIter_SetAtomicNum},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_SetIsotope", _wrap__OBMolAtomBFSIter_SetIsotope},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_SetImplicitValence", _wrap__OBMolAtomBFSIter_SetImplicitValence},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_IncrementImplicitValence", _wrap__OBMolAtomBFSIter_IncrementImplicitValence},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_DecrementImplicitValence", _wrap__OBMolAtomBFSIter_DecrementImplicitValence},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_SetFormalCharge", _wrap__OBMolAtomBFSIter_SetFormalCharge},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_SetSpinMultiplicity", _wrap__OBMolAtomBFSIter_SetSpinMultiplicity},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_SetType", _wrap__OBMolAtomBFSIter_SetType},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_SetPartialCharge", _wrap__OBMolAtomBFSIter_SetPartialCharge},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_SetVector", _wrap__OBMolAtomBFSIter_SetVector},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_SetCoordPtr", _wrap__OBMolAtomBFSIter_SetCoordPtr},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_SetResidue", _wrap__OBMolAtomBFSIter_SetResidue},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_SetParent", _wrap__OBMolAtomBFSIter_SetParent},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_SetAromatic", _wrap__OBMolAtomBFSIter_SetAromatic},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_UnsetAromatic", _wrap__OBMolAtomBFSIter_UnsetAromatic},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_SetClockwiseStereo", _wrap__OBMolAtomBFSIter_SetClockwiseStereo},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_SetAntiClockwiseStereo", _wrap__OBMolAtomBFSIter_SetAntiClockwiseStereo},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_SetPositiveStereo", _wrap__OBMolAtomBFSIter_SetPositiveStereo},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_SetNegativeStereo", _wrap__OBMolAtomBFSIter_SetNegativeStereo},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_UnsetStereo", _wrap__OBMolAtomBFSIter_UnsetStereo},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_SetInRing", _wrap__OBMolAtomBFSIter_SetInRing},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_SetChiral", _wrap__OBMolAtomBFSIter_SetChiral},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_ClearCoordPtr", _wrap__OBMolAtomBFSIter_ClearCoordPtr},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_GetFormalCharge", _wrap__OBMolAtomBFSIter_GetFormalCharge},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_GetAtomicNum", _wrap__OBMolAtomBFSIter_GetAtomicNum},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_GetIsotope", _wrap__OBMolAtomBFSIter_GetIsotope},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_GetSpinMultiplicity", _wrap__OBMolAtomBFSIter_GetSpinMultiplicity},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_GetAtomicMass", _wrap__OBMolAtomBFSIter_GetAtomicMass},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_GetExactMass", _wrap__OBMolAtomBFSIter_GetExactMass},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_GetIdx", _wrap__OBMolAtomBFSIter_GetIdx},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_GetIndex", _wrap__OBMolAtomBFSIter_GetIndex},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_GetId", _wrap__OBMolAtomBFSIter_GetId},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_GetCoordinateIdx", _wrap__OBMolAtomBFSIter_GetCoordinateIdx},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_GetCIdx", _wrap__OBMolAtomBFSIter_GetCIdx},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_GetValence", _wrap__OBMolAtomBFSIter_GetValence},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_GetHyb", _wrap__OBMolAtomBFSIter_GetHyb},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_GetImplicitValence", _wrap__OBMolAtomBFSIter_GetImplicitValence},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_GetHvyValence", _wrap__OBMolAtomBFSIter_GetHvyValence},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_GetHeteroValence", _wrap__OBMolAtomBFSIter_GetHeteroValence},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_GetType", _wrap__OBMolAtomBFSIter_GetType},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_GetX", _wrap__OBMolAtomBFSIter_GetX},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_GetY", _wrap__OBMolAtomBFSIter_GetY},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_GetZ", _wrap__OBMolAtomBFSIter_GetZ},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_x", _wrap__OBMolAtomBFSIter_x},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_y", _wrap__OBMolAtomBFSIter_y},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_z", _wrap__OBMolAtomBFSIter_z},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_GetCoordinate", _wrap__OBMolAtomBFSIter_GetCoordinate},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_GetVector", _wrap__OBMolAtomBFSIter_GetVector},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_GetPartialCharge", _wrap__OBMolAtomBFSIter_GetPartialCharge},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_GetResidue", _wrap__OBMolAtomBFSIter_GetResidue},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_GetParent", _wrap__OBMolAtomBFSIter_GetParent},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_GetNewBondVector", _wrap__OBMolAtomBFSIter_GetNewBondVector},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_GetBond", _wrap__OBMolAtomBFSIter_GetBond},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_GetNextAtom", _wrap__OBMolAtomBFSIter_GetNextAtom},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_BeginBonds", _wrap__OBMolAtomBFSIter_BeginBonds},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_EndBonds", _wrap__OBMolAtomBFSIter_EndBonds},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_BeginBond", _wrap__OBMolAtomBFSIter_BeginBond},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_NextBond", _wrap__OBMolAtomBFSIter_NextBond},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_BeginNbrAtom", _wrap__OBMolAtomBFSIter_BeginNbrAtom},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_NextNbrAtom", _wrap__OBMolAtomBFSIter_NextNbrAtom},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_GetDistance", _wrap__OBMolAtomBFSIter_GetDistance},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_GetAngle", _wrap__OBMolAtomBFSIter_GetAngle},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_NewResidue", _wrap__OBMolAtomBFSIter_NewResidue},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_AddResidue", _wrap__OBMolAtomBFSIter_AddResidue},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_DeleteResidue", _wrap__OBMolAtomBFSIter_DeleteResidue},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_AddBond", _wrap__OBMolAtomBFSIter_AddBond},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_InsertBond", _wrap__OBMolAtomBFSIter_InsertBond},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_DeleteBond", _wrap__OBMolAtomBFSIter_DeleteBond},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_ClearBond", _wrap__OBMolAtomBFSIter_ClearBond},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_HtoMethyl", _wrap__OBMolAtomBFSIter_HtoMethyl},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_SetHybAndGeom", _wrap__OBMolAtomBFSIter_SetHybAndGeom},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_ForceNoH", _wrap__OBMolAtomBFSIter_ForceNoH},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_HasNoHForced", _wrap__OBMolAtomBFSIter_HasNoHForced},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_ForceImplH", _wrap__OBMolAtomBFSIter_ForceImplH},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_HasImplHForced", _wrap__OBMolAtomBFSIter_HasImplHForced},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_CountFreeOxygens", _wrap__OBMolAtomBFSIter_CountFreeOxygens},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_ImplicitHydrogenCount", _wrap__OBMolAtomBFSIter_ImplicitHydrogenCount},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_ExplicitHydrogenCount", _wrap__OBMolAtomBFSIter_ExplicitHydrogenCount},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_MemberOfRingCount", _wrap__OBMolAtomBFSIter_MemberOfRingCount},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_MemberOfRingSize", _wrap__OBMolAtomBFSIter_MemberOfRingSize},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_CountRingBonds", _wrap__OBMolAtomBFSIter_CountRingBonds},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_SmallestBondAngle", _wrap__OBMolAtomBFSIter_SmallestBondAngle},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_AverageBondAngle", _wrap__OBMolAtomBFSIter_AverageBondAngle},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_BOSum", _wrap__OBMolAtomBFSIter_BOSum},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_KBOSum", _wrap__OBMolAtomBFSIter_KBOSum},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_HasResidue", _wrap__OBMolAtomBFSIter_HasResidue},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_IsHydrogen", _wrap__OBMolAtomBFSIter_IsHydrogen},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_IsCarbon", _wrap__OBMolAtomBFSIter_IsCarbon},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_IsNitrogen", _wrap__OBMolAtomBFSIter_IsNitrogen},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_IsOxygen", _wrap__OBMolAtomBFSIter_IsOxygen},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_IsSulfur", _wrap__OBMolAtomBFSIter_IsSulfur},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_IsPhosphorus", _wrap__OBMolAtomBFSIter_IsPhosphorus},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_IsAromatic", _wrap__OBMolAtomBFSIter_IsAromatic},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_IsInRing", _wrap__OBMolAtomBFSIter_IsInRing},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_IsInRingSize", _wrap__OBMolAtomBFSIter_IsInRingSize},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_IsHeteroatom", _wrap__OBMolAtomBFSIter_IsHeteroatom},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_IsNotCorH", _wrap__OBMolAtomBFSIter_IsNotCorH},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_IsConnected", _wrap__OBMolAtomBFSIter_IsConnected},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_IsOneThree", _wrap__OBMolAtomBFSIter_IsOneThree},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_IsOneFour", _wrap__OBMolAtomBFSIter_IsOneFour},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_IsCarboxylOxygen", _wrap__OBMolAtomBFSIter_IsCarboxylOxygen},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_IsPhosphateOxygen", _wrap__OBMolAtomBFSIter_IsPhosphateOxygen},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_IsSulfateOxygen", _wrap__OBMolAtomBFSIter_IsSulfateOxygen},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_IsNitroOxygen", _wrap__OBMolAtomBFSIter_IsNitroOxygen},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_IsAmideNitrogen", _wrap__OBMolAtomBFSIter_IsAmideNitrogen},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_IsPolarHydrogen", _wrap__OBMolAtomBFSIter_IsPolarHydrogen},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_IsNonPolarHydrogen", _wrap__OBMolAtomBFSIter_IsNonPolarHydrogen},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_IsAromaticNOxide", _wrap__OBMolAtomBFSIter_IsAromaticNOxide},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_IsChiral", _wrap__OBMolAtomBFSIter_IsChiral},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_IsAxial", _wrap__OBMolAtomBFSIter_IsAxial},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_IsClockwise", _wrap__OBMolAtomBFSIter_IsClockwise},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_IsAntiClockwise", _wrap__OBMolAtomBFSIter_IsAntiClockwise},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_IsPositiveStereo", _wrap__OBMolAtomBFSIter_IsPositiveStereo},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_IsNegativeStereo", _wrap__OBMolAtomBFSIter_IsNegativeStereo},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_HasChiralitySpecified", _wrap__OBMolAtomBFSIter_HasChiralitySpecified},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_HasChiralVolume", _wrap__OBMolAtomBFSIter_HasChiralVolume},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_IsHbondAcceptor", _wrap__OBMolAtomBFSIter_IsHbondAcceptor},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_IsHbondDonor", _wrap__OBMolAtomBFSIter_IsHbondDonor},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_IsHbondDonorH", _wrap__OBMolAtomBFSIter_IsHbondDonorH},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_HasAlphaBetaUnsat", _wrap__OBMolAtomBFSIter_HasAlphaBetaUnsat},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_HasBondOfOrder", _wrap__OBMolAtomBFSIter_HasBondOfOrder},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_CountBondsOfOrder", _wrap__OBMolAtomBFSIter_CountBondsOfOrder},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_HasNonSingleBond", _wrap__OBMolAtomBFSIter_HasNonSingleBond},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_HasSingleBond", _wrap__OBMolAtomBFSIter_HasSingleBond},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_HasDoubleBond", _wrap__OBMolAtomBFSIter_HasDoubleBond},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_HasAromaticBond", _wrap__OBMolAtomBFSIter_HasAromaticBond},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_MatchesSMARTS", _wrap__OBMolAtomBFSIter_MatchesSMARTS},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_Clear", _wrap__OBMolAtomBFSIter_Clear},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_DoTransformations", _wrap__OBMolAtomBFSIter_DoTransformations},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_ClassDescription", _wrap__OBMolAtomBFSIter_ClassDescription},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_GetTitle", _wrap__OBMolAtomBFSIter_GetTitle},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_SetTitle", _wrap__OBMolAtomBFSIter_SetTitle},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_HasData", _wrap__OBMolAtomBFSIter_HasData},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_DeleteData", _wrap__OBMolAtomBFSIter_DeleteData},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_CloneData", _wrap__OBMolAtomBFSIter_CloneData},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_DataSize", _wrap__OBMolAtomBFSIter_DataSize},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_GetData", _wrap__OBMolAtomBFSIter_GetData},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_GetAllData", _wrap__OBMolAtomBFSIter_GetAllData},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_BeginData", _wrap__OBMolAtomBFSIter_BeginData},
{"Chemistry::OpenBabelc::_OBMolAtomBFSIter_EndData", _wrap__OBMolAtomBFSIter_EndData},
{"Chemistry::OpenBabelc::new_OBMolBondBFSIter", _wrap_new_OBMolBondBFSIter},
{"Chemistry::OpenBabelc::delete_OBMolBondBFSIter", _wrap_delete_OBMolBondBFSIter},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_good", _wrap_OBMolBondBFSIter_good},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_inc", _wrap_OBMolBondBFSIter_inc},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_deref", _wrap_OBMolBondBFSIter_deref},
{"Chemistry::OpenBabelc::OBMolBondBFSIter___ref__", _wrap_OBMolBondBFSIter___ref__},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_CurrentDepth", _wrap_OBMolBondBFSIter_CurrentDepth},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_Visit_set", _wrap_OBMolBondBFSIter_Visit_set},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_Visit_get", _wrap_OBMolBondBFSIter_Visit_get},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_SetIdx", _wrap_OBMolBondBFSIter_SetIdx},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_SetId", _wrap_OBMolBondBFSIter_SetId},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_SetBO", _wrap_OBMolBondBFSIter_SetBO},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_SetBondOrder", _wrap_OBMolBondBFSIter_SetBondOrder},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_SetBegin", _wrap_OBMolBondBFSIter_SetBegin},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_SetEnd", _wrap_OBMolBondBFSIter_SetEnd},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_SetParent", _wrap_OBMolBondBFSIter_SetParent},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_SetLength", _wrap_OBMolBondBFSIter_SetLength},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_Set", _wrap_OBMolBondBFSIter_Set},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_SetKSingle", _wrap_OBMolBondBFSIter_SetKSingle},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_SetKDouble", _wrap_OBMolBondBFSIter_SetKDouble},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_SetKTriple", _wrap_OBMolBondBFSIter_SetKTriple},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_SetAromatic", _wrap_OBMolBondBFSIter_SetAromatic},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_SetWedge", _wrap_OBMolBondBFSIter_SetWedge},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_SetHash", _wrap_OBMolBondBFSIter_SetHash},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_SetWedgeOrHash", _wrap_OBMolBondBFSIter_SetWedgeOrHash},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_SetUp", _wrap_OBMolBondBFSIter_SetUp},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_SetDown", _wrap_OBMolBondBFSIter_SetDown},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_SetInRing", _wrap_OBMolBondBFSIter_SetInRing},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_SetClosure", _wrap_OBMolBondBFSIter_SetClosure},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_UnsetHash", _wrap_OBMolBondBFSIter_UnsetHash},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_UnsetWedge", _wrap_OBMolBondBFSIter_UnsetWedge},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_UnsetUp", _wrap_OBMolBondBFSIter_UnsetUp},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_UnsetDown", _wrap_OBMolBondBFSIter_UnsetDown},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_UnsetAromatic", _wrap_OBMolBondBFSIter_UnsetAromatic},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_UnsetKekule", _wrap_OBMolBondBFSIter_UnsetKekule},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_GetIdx", _wrap_OBMolBondBFSIter_GetIdx},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_GetId", _wrap_OBMolBondBFSIter_GetId},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_GetBO", _wrap_OBMolBondBFSIter_GetBO},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_GetBondOrder", _wrap_OBMolBondBFSIter_GetBondOrder},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_GetFlags", _wrap_OBMolBondBFSIter_GetFlags},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_GetBeginAtomIdx", _wrap_OBMolBondBFSIter_GetBeginAtomIdx},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_GetEndAtomIdx", _wrap_OBMolBondBFSIter_GetEndAtomIdx},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_GetBeginAtom", _wrap_OBMolBondBFSIter_GetBeginAtom},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_GetEndAtom", _wrap_OBMolBondBFSIter_GetEndAtom},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_GetNbrAtom", _wrap_OBMolBondBFSIter_GetNbrAtom},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_GetParent", _wrap_OBMolBondBFSIter_GetParent},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_GetEquibLength", _wrap_OBMolBondBFSIter_GetEquibLength},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_GetLength", _wrap_OBMolBondBFSIter_GetLength},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_GetNbrAtomIdx", _wrap_OBMolBondBFSIter_GetNbrAtomIdx},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_FindSmallestRing", _wrap_OBMolBondBFSIter_FindSmallestRing},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_IsAromatic", _wrap_OBMolBondBFSIter_IsAromatic},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_IsInRing", _wrap_OBMolBondBFSIter_IsInRing},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_IsRotor", _wrap_OBMolBondBFSIter_IsRotor},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_IsAmide", _wrap_OBMolBondBFSIter_IsAmide},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_IsPrimaryAmide", _wrap_OBMolBondBFSIter_IsPrimaryAmide},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_IsSecondaryAmide", _wrap_OBMolBondBFSIter_IsSecondaryAmide},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_IsTertiaryAmide", _wrap_OBMolBondBFSIter_IsTertiaryAmide},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_IsEster", _wrap_OBMolBondBFSIter_IsEster},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_IsCarbonyl", _wrap_OBMolBondBFSIter_IsCarbonyl},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_IsSingle", _wrap_OBMolBondBFSIter_IsSingle},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_IsDouble", _wrap_OBMolBondBFSIter_IsDouble},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_IsTriple", _wrap_OBMolBondBFSIter_IsTriple},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_IsKSingle", _wrap_OBMolBondBFSIter_IsKSingle},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_IsKDouble", _wrap_OBMolBondBFSIter_IsKDouble},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_IsKTriple", _wrap_OBMolBondBFSIter_IsKTriple},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_IsClosure", _wrap_OBMolBondBFSIter_IsClosure},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_IsUp", _wrap_OBMolBondBFSIter_IsUp},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_IsDown", _wrap_OBMolBondBFSIter_IsDown},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_IsWedge", _wrap_OBMolBondBFSIter_IsWedge},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_IsHash", _wrap_OBMolBondBFSIter_IsHash},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_IsWedgeOrHash", _wrap_OBMolBondBFSIter_IsWedgeOrHash},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_IsCisOrTrans", _wrap_OBMolBondBFSIter_IsCisOrTrans},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_IsDoubleBondGeometry", _wrap_OBMolBondBFSIter_IsDoubleBondGeometry},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_Clear", _wrap_OBMolBondBFSIter_Clear},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_DoTransformations", _wrap_OBMolBondBFSIter_DoTransformations},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_ClassDescription", _wrap_OBMolBondBFSIter_ClassDescription},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_GetTitle", _wrap_OBMolBondBFSIter_GetTitle},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_SetTitle", _wrap_OBMolBondBFSIter_SetTitle},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_HasData", _wrap_OBMolBondBFSIter_HasData},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_DeleteData", _wrap_OBMolBondBFSIter_DeleteData},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_CloneData", _wrap_OBMolBondBFSIter_CloneData},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_DataSize", _wrap_OBMolBondBFSIter_DataSize},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_GetData", _wrap_OBMolBondBFSIter_GetData},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_GetAllData", _wrap_OBMolBondBFSIter_GetAllData},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_BeginData", _wrap_OBMolBondBFSIter_BeginData},
{"Chemistry::OpenBabelc::OBMolBondBFSIter_EndData", _wrap_OBMolBondBFSIter_EndData},
{"Chemistry::OpenBabelc::new__OBMolBondIter", _wrap_new__OBMolBondIter},
{"Chemistry::OpenBabelc::delete__OBMolBondIter", _wrap_delete__OBMolBondIter},
{"Chemistry::OpenBabelc::_OBMolBondIter_good", _wrap__OBMolBondIter_good},
{"Chemistry::OpenBabelc::_OBMolBondIter_inc", _wrap__OBMolBondIter_inc},
{"Chemistry::OpenBabelc::_OBMolBondIter_deref", _wrap__OBMolBondIter_deref},
{"Chemistry::OpenBabelc::_OBMolBondIter___ref__", _wrap__OBMolBondIter___ref__},
{"Chemistry::OpenBabelc::_OBMolBondIter_Visit_set", _wrap__OBMolBondIter_Visit_set},
{"Chemistry::OpenBabelc::_OBMolBondIter_Visit_get", _wrap__OBMolBondIter_Visit_get},
{"Chemistry::OpenBabelc::_OBMolBondIter_SetIdx", _wrap__OBMolBondIter_SetIdx},
{"Chemistry::OpenBabelc::_OBMolBondIter_SetId", _wrap__OBMolBondIter_SetId},
{"Chemistry::OpenBabelc::_OBMolBondIter_SetBO", _wrap__OBMolBondIter_SetBO},
{"Chemistry::OpenBabelc::_OBMolBondIter_SetBondOrder", _wrap__OBMolBondIter_SetBondOrder},
{"Chemistry::OpenBabelc::_OBMolBondIter_SetBegin", _wrap__OBMolBondIter_SetBegin},
{"Chemistry::OpenBabelc::_OBMolBondIter_SetEnd", _wrap__OBMolBondIter_SetEnd},
{"Chemistry::OpenBabelc::_OBMolBondIter_SetParent", _wrap__OBMolBondIter_SetParent},
{"Chemistry::OpenBabelc::_OBMolBondIter_SetLength", _wrap__OBMolBondIter_SetLength},
{"Chemistry::OpenBabelc::_OBMolBondIter_Set", _wrap__OBMolBondIter_Set},
{"Chemistry::OpenBabelc::_OBMolBondIter_SetKSingle", _wrap__OBMolBondIter_SetKSingle},
{"Chemistry::OpenBabelc::_OBMolBondIter_SetKDouble", _wrap__OBMolBondIter_SetKDouble},
{"Chemistry::OpenBabelc::_OBMolBondIter_SetKTriple", _wrap__OBMolBondIter_SetKTriple},
{"Chemistry::OpenBabelc::_OBMolBondIter_SetAromatic", _wrap__OBMolBondIter_SetAromatic},
{"Chemistry::OpenBabelc::_OBMolBondIter_SetWedge", _wrap__OBMolBondIter_SetWedge},
{"Chemistry::OpenBabelc::_OBMolBondIter_SetHash", _wrap__OBMolBondIter_SetHash},
{"Chemistry::OpenBabelc::_OBMolBondIter_SetWedgeOrHash", _wrap__OBMolBondIter_SetWedgeOrHash},
{"Chemistry::OpenBabelc::_OBMolBondIter_SetUp", _wrap__OBMolBondIter_SetUp},
{"Chemistry::OpenBabelc::_OBMolBondIter_SetDown", _wrap__OBMolBondIter_SetDown},
{"Chemistry::OpenBabelc::_OBMolBondIter_SetInRing", _wrap__OBMolBondIter_SetInRing},
{"Chemistry::OpenBabelc::_OBMolBondIter_SetClosure", _wrap__OBMolBondIter_SetClosure},
{"Chemistry::OpenBabelc::_OBMolBondIter_UnsetHash", _wrap__OBMolBondIter_UnsetHash},
{"Chemistry::OpenBabelc::_OBMolBondIter_UnsetWedge", _wrap__OBMolBondIter_UnsetWedge},
{"Chemistry::OpenBabelc::_OBMolBondIter_UnsetUp", _wrap__OBMolBondIter_UnsetUp},
{"Chemistry::OpenBabelc::_OBMolBondIter_UnsetDown", _wrap__OBMolBondIter_UnsetDown},
{"Chemistry::OpenBabelc::_OBMolBondIter_UnsetAromatic", _wrap__OBMolBondIter_UnsetAromatic},
{"Chemistry::OpenBabelc::_OBMolBondIter_UnsetKekule", _wrap__OBMolBondIter_UnsetKekule},
{"Chemistry::OpenBabelc::_OBMolBondIter_GetIdx", _wrap__OBMolBondIter_GetIdx},
{"Chemistry::OpenBabelc::_OBMolBondIter_GetId", _wrap__OBMolBondIter_GetId},
{"Chemistry::OpenBabelc::_OBMolBondIter_GetBO", _wrap__OBMolBondIter_GetBO},
{"Chemistry::OpenBabelc::_OBMolBondIter_GetBondOrder", _wrap__OBMolBondIter_GetBondOrder},
{"Chemistry::OpenBabelc::_OBMolBondIter_GetFlags", _wrap__OBMolBondIter_GetFlags},
{"Chemistry::OpenBabelc::_OBMolBondIter_GetBeginAtomIdx", _wrap__OBMolBondIter_GetBeginAtomIdx},
{"Chemistry::OpenBabelc::_OBMolBondIter_GetEndAtomIdx", _wrap__OBMolBondIter_GetEndAtomIdx},
{"Chemistry::OpenBabelc::_OBMolBondIter_GetBeginAtom", _wrap__OBMolBondIter_GetBeginAtom},
{"Chemistry::OpenBabelc::_OBMolBondIter_GetEndAtom", _wrap__OBMolBondIter_GetEndAtom},
{"Chemistry::OpenBabelc::_OBMolBondIter_GetNbrAtom", _wrap__OBMolBondIter_GetNbrAtom},
{"Chemistry::OpenBabelc::_OBMolBondIter_GetParent", _wrap__OBMolBondIter_GetParent},
{"Chemistry::OpenBabelc::_OBMolBondIter_GetEquibLength", _wrap__OBMolBondIter_GetEquibLength},
{"Chemistry::OpenBabelc::_OBMolBondIter_GetLength", _wrap__OBMolBondIter_GetLength},
{"Chemistry::OpenBabelc::_OBMolBondIter_GetNbrAtomIdx", _wrap__OBMolBondIter_GetNbrAtomIdx},
{"Chemistry::OpenBabelc::_OBMolBondIter_FindSmallestRing", _wrap__OBMolBondIter_FindSmallestRing},
{"Chemistry::OpenBabelc::_OBMolBondIter_IsAromatic", _wrap__OBMolBondIter_IsAromatic},
{"Chemistry::OpenBabelc::_OBMolBondIter_IsInRing", _wrap__OBMolBondIter_IsInRing},
{"Chemistry::OpenBabelc::_OBMolBondIter_IsRotor", _wrap__OBMolBondIter_IsRotor},
{"Chemistry::OpenBabelc::_OBMolBondIter_IsAmide", _wrap__OBMolBondIter_IsAmide},
{"Chemistry::OpenBabelc::_OBMolBondIter_IsPrimaryAmide", _wrap__OBMolBondIter_IsPrimaryAmide},
{"Chemistry::OpenBabelc::_OBMolBondIter_IsSecondaryAmide", _wrap__OBMolBondIter_IsSecondaryAmide},
{"Chemistry::OpenBabelc::_OBMolBondIter_IsTertiaryAmide", _wrap__OBMolBondIter_IsTertiaryAmide},
{"Chemistry::OpenBabelc::_OBMolBondIter_IsEster", _wrap__OBMolBondIter_IsEster},
{"Chemistry::OpenBabelc::_OBMolBondIter_IsCarbonyl", _wrap__OBMolBondIter_IsCarbonyl},
{"Chemistry::OpenBabelc::_OBMolBondIter_IsSingle", _wrap__OBMolBondIter_IsSingle},
{"Chemistry::OpenBabelc::_OBMolBondIter_IsDouble", _wrap__OBMolBondIter_IsDouble},
{"Chemistry::OpenBabelc::_OBMolBondIter_IsTriple", _wrap__OBMolBondIter_IsTriple},
{"Chemistry::OpenBabelc::_OBMolBondIter_IsKSingle", _wrap__OBMolBondIter_IsKSingle},
{"Chemistry::OpenBabelc::_OBMolBondIter_IsKDouble", _wrap__OBMolBondIter_IsKDouble},
{"Chemistry::OpenBabelc::_OBMolBondIter_IsKTriple", _wrap__OBMolBondIter_IsKTriple},
{"Chemistry::OpenBabelc::_OBMolBondIter_IsClosure", _wrap__OBMolBondIter_IsClosure},
{"Chemistry::OpenBabelc::_OBMolBondIter_IsUp", _wrap__OBMolBondIter_IsUp},
{"Chemistry::OpenBabelc::_OBMolBondIter_IsDown", _wrap__OBMolBondIter_IsDown},
{"Chemistry::OpenBabelc::_OBMolBondIter_IsWedge", _wrap__OBMolBondIter_IsWedge},
{"Chemistry::OpenBabelc::_OBMolBondIter_IsHash", _wrap__OBMolBondIter_IsHash},
{"Chemistry::OpenBabelc::_OBMolBondIter_IsWedgeOrHash", _wrap__OBMolBondIter_IsWedgeOrHash},
{"Chemistry::OpenBabelc::_OBMolBondIter_IsCisOrTrans", _wrap__OBMolBondIter_IsCisOrTrans},
{"Chemistry::OpenBabelc::_OBMolBondIter_IsDoubleBondGeometry", _wrap__OBMolBondIter_IsDoubleBondGeometry},
{"Chemistry::OpenBabelc::_OBMolBondIter_Clear", _wrap__OBMolBondIter_Clear},
{"Chemistry::OpenBabelc::_OBMolBondIter_DoTransformations", _wrap__OBMolBondIter_DoTransformations},
{"Chemistry::OpenBabelc::_OBMolBondIter_ClassDescription", _wrap__OBMolBondIter_ClassDescription},
{"Chemistry::OpenBabelc::_OBMolBondIter_GetTitle", _wrap__OBMolBondIter_GetTitle},
{"Chemistry::OpenBabelc::_OBMolBondIter_SetTitle", _wrap__OBMolBondIter_SetTitle},
{"Chemistry::OpenBabelc::_OBMolBondIter_HasData", _wrap__OBMolBondIter_HasData},
{"Chemistry::OpenBabelc::_OBMolBondIter_DeleteData", _wrap__OBMolBondIter_DeleteData},
{"Chemistry::OpenBabelc::_OBMolBondIter_CloneData", _wrap__OBMolBondIter_CloneData},
{"Chemistry::OpenBabelc::_OBMolBondIter_DataSize", _wrap__OBMolBondIter_DataSize},
{"Chemistry::OpenBabelc::_OBMolBondIter_GetData", _wrap__OBMolBondIter_GetData},
{"Chemistry::OpenBabelc::_OBMolBondIter_GetAllData", _wrap__OBMolBondIter_GetAllData},
{"Chemistry::OpenBabelc::_OBMolBondIter_BeginData", _wrap__OBMolBondIter_BeginData},
{"Chemistry::OpenBabelc::_OBMolBondIter_EndData", _wrap__OBMolBondIter_EndData},
{"Chemistry::OpenBabelc::new__OBAtomAtomIter", _wrap_new__OBAtomAtomIter},
{"Chemistry::OpenBabelc::delete__OBAtomAtomIter", _wrap_delete__OBAtomAtomIter},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_good", _wrap__OBAtomAtomIter_good},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_inc", _wrap__OBAtomAtomIter_inc},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_deref", _wrap__OBAtomAtomIter_deref},
{"Chemistry::OpenBabelc::_OBAtomAtomIter___ref__", _wrap__OBAtomAtomIter___ref__},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_Visit_set", _wrap__OBAtomAtomIter_Visit_set},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_Visit_get", _wrap__OBAtomAtomIter_Visit_get},
{"Chemistry::OpenBabelc::_OBAtomAtomIter___eq__", _wrap__OBAtomAtomIter___eq__},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_Duplicate", _wrap__OBAtomAtomIter_Duplicate},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_SetIdx", _wrap__OBAtomAtomIter_SetIdx},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_SetId", _wrap__OBAtomAtomIter_SetId},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_SetHyb", _wrap__OBAtomAtomIter_SetHyb},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_SetAtomicNum", _wrap__OBAtomAtomIter_SetAtomicNum},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_SetIsotope", _wrap__OBAtomAtomIter_SetIsotope},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_SetImplicitValence", _wrap__OBAtomAtomIter_SetImplicitValence},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_IncrementImplicitValence", _wrap__OBAtomAtomIter_IncrementImplicitValence},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_DecrementImplicitValence", _wrap__OBAtomAtomIter_DecrementImplicitValence},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_SetFormalCharge", _wrap__OBAtomAtomIter_SetFormalCharge},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_SetSpinMultiplicity", _wrap__OBAtomAtomIter_SetSpinMultiplicity},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_SetType", _wrap__OBAtomAtomIter_SetType},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_SetPartialCharge", _wrap__OBAtomAtomIter_SetPartialCharge},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_SetVector", _wrap__OBAtomAtomIter_SetVector},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_SetCoordPtr", _wrap__OBAtomAtomIter_SetCoordPtr},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_SetResidue", _wrap__OBAtomAtomIter_SetResidue},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_SetParent", _wrap__OBAtomAtomIter_SetParent},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_SetAromatic", _wrap__OBAtomAtomIter_SetAromatic},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_UnsetAromatic", _wrap__OBAtomAtomIter_UnsetAromatic},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_SetClockwiseStereo", _wrap__OBAtomAtomIter_SetClockwiseStereo},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_SetAntiClockwiseStereo", _wrap__OBAtomAtomIter_SetAntiClockwiseStereo},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_SetPositiveStereo", _wrap__OBAtomAtomIter_SetPositiveStereo},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_SetNegativeStereo", _wrap__OBAtomAtomIter_SetNegativeStereo},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_UnsetStereo", _wrap__OBAtomAtomIter_UnsetStereo},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_SetInRing", _wrap__OBAtomAtomIter_SetInRing},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_SetChiral", _wrap__OBAtomAtomIter_SetChiral},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_ClearCoordPtr", _wrap__OBAtomAtomIter_ClearCoordPtr},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_GetFormalCharge", _wrap__OBAtomAtomIter_GetFormalCharge},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_GetAtomicNum", _wrap__OBAtomAtomIter_GetAtomicNum},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_GetIsotope", _wrap__OBAtomAtomIter_GetIsotope},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_GetSpinMultiplicity", _wrap__OBAtomAtomIter_GetSpinMultiplicity},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_GetAtomicMass", _wrap__OBAtomAtomIter_GetAtomicMass},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_GetExactMass", _wrap__OBAtomAtomIter_GetExactMass},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_GetIdx", _wrap__OBAtomAtomIter_GetIdx},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_GetIndex", _wrap__OBAtomAtomIter_GetIndex},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_GetId", _wrap__OBAtomAtomIter_GetId},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_GetCoordinateIdx", _wrap__OBAtomAtomIter_GetCoordinateIdx},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_GetCIdx", _wrap__OBAtomAtomIter_GetCIdx},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_GetValence", _wrap__OBAtomAtomIter_GetValence},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_GetHyb", _wrap__OBAtomAtomIter_GetHyb},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_GetImplicitValence", _wrap__OBAtomAtomIter_GetImplicitValence},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_GetHvyValence", _wrap__OBAtomAtomIter_GetHvyValence},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_GetHeteroValence", _wrap__OBAtomAtomIter_GetHeteroValence},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_GetType", _wrap__OBAtomAtomIter_GetType},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_GetX", _wrap__OBAtomAtomIter_GetX},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_GetY", _wrap__OBAtomAtomIter_GetY},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_GetZ", _wrap__OBAtomAtomIter_GetZ},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_x", _wrap__OBAtomAtomIter_x},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_y", _wrap__OBAtomAtomIter_y},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_z", _wrap__OBAtomAtomIter_z},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_GetCoordinate", _wrap__OBAtomAtomIter_GetCoordinate},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_GetVector", _wrap__OBAtomAtomIter_GetVector},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_GetPartialCharge", _wrap__OBAtomAtomIter_GetPartialCharge},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_GetResidue", _wrap__OBAtomAtomIter_GetResidue},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_GetParent", _wrap__OBAtomAtomIter_GetParent},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_GetNewBondVector", _wrap__OBAtomAtomIter_GetNewBondVector},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_GetBond", _wrap__OBAtomAtomIter_GetBond},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_GetNextAtom", _wrap__OBAtomAtomIter_GetNextAtom},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_BeginBonds", _wrap__OBAtomAtomIter_BeginBonds},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_EndBonds", _wrap__OBAtomAtomIter_EndBonds},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_BeginBond", _wrap__OBAtomAtomIter_BeginBond},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_NextBond", _wrap__OBAtomAtomIter_NextBond},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_BeginNbrAtom", _wrap__OBAtomAtomIter_BeginNbrAtom},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_NextNbrAtom", _wrap__OBAtomAtomIter_NextNbrAtom},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_GetDistance", _wrap__OBAtomAtomIter_GetDistance},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_GetAngle", _wrap__OBAtomAtomIter_GetAngle},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_NewResidue", _wrap__OBAtomAtomIter_NewResidue},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_AddResidue", _wrap__OBAtomAtomIter_AddResidue},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_DeleteResidue", _wrap__OBAtomAtomIter_DeleteResidue},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_AddBond", _wrap__OBAtomAtomIter_AddBond},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_InsertBond", _wrap__OBAtomAtomIter_InsertBond},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_DeleteBond", _wrap__OBAtomAtomIter_DeleteBond},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_ClearBond", _wrap__OBAtomAtomIter_ClearBond},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_HtoMethyl", _wrap__OBAtomAtomIter_HtoMethyl},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_SetHybAndGeom", _wrap__OBAtomAtomIter_SetHybAndGeom},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_ForceNoH", _wrap__OBAtomAtomIter_ForceNoH},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_HasNoHForced", _wrap__OBAtomAtomIter_HasNoHForced},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_ForceImplH", _wrap__OBAtomAtomIter_ForceImplH},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_HasImplHForced", _wrap__OBAtomAtomIter_HasImplHForced},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_CountFreeOxygens", _wrap__OBAtomAtomIter_CountFreeOxygens},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_ImplicitHydrogenCount", _wrap__OBAtomAtomIter_ImplicitHydrogenCount},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_ExplicitHydrogenCount", _wrap__OBAtomAtomIter_ExplicitHydrogenCount},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_MemberOfRingCount", _wrap__OBAtomAtomIter_MemberOfRingCount},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_MemberOfRingSize", _wrap__OBAtomAtomIter_MemberOfRingSize},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_CountRingBonds", _wrap__OBAtomAtomIter_CountRingBonds},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_SmallestBondAngle", _wrap__OBAtomAtomIter_SmallestBondAngle},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_AverageBondAngle", _wrap__OBAtomAtomIter_AverageBondAngle},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_BOSum", _wrap__OBAtomAtomIter_BOSum},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_KBOSum", _wrap__OBAtomAtomIter_KBOSum},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_HasResidue", _wrap__OBAtomAtomIter_HasResidue},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_IsHydrogen", _wrap__OBAtomAtomIter_IsHydrogen},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_IsCarbon", _wrap__OBAtomAtomIter_IsCarbon},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_IsNitrogen", _wrap__OBAtomAtomIter_IsNitrogen},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_IsOxygen", _wrap__OBAtomAtomIter_IsOxygen},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_IsSulfur", _wrap__OBAtomAtomIter_IsSulfur},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_IsPhosphorus", _wrap__OBAtomAtomIter_IsPhosphorus},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_IsAromatic", _wrap__OBAtomAtomIter_IsAromatic},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_IsInRing", _wrap__OBAtomAtomIter_IsInRing},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_IsInRingSize", _wrap__OBAtomAtomIter_IsInRingSize},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_IsHeteroatom", _wrap__OBAtomAtomIter_IsHeteroatom},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_IsNotCorH", _wrap__OBAtomAtomIter_IsNotCorH},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_IsConnected", _wrap__OBAtomAtomIter_IsConnected},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_IsOneThree", _wrap__OBAtomAtomIter_IsOneThree},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_IsOneFour", _wrap__OBAtomAtomIter_IsOneFour},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_IsCarboxylOxygen", _wrap__OBAtomAtomIter_IsCarboxylOxygen},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_IsPhosphateOxygen", _wrap__OBAtomAtomIter_IsPhosphateOxygen},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_IsSulfateOxygen", _wrap__OBAtomAtomIter_IsSulfateOxygen},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_IsNitroOxygen", _wrap__OBAtomAtomIter_IsNitroOxygen},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_IsAmideNitrogen", _wrap__OBAtomAtomIter_IsAmideNitrogen},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_IsPolarHydrogen", _wrap__OBAtomAtomIter_IsPolarHydrogen},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_IsNonPolarHydrogen", _wrap__OBAtomAtomIter_IsNonPolarHydrogen},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_IsAromaticNOxide", _wrap__OBAtomAtomIter_IsAromaticNOxide},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_IsChiral", _wrap__OBAtomAtomIter_IsChiral},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_IsAxial", _wrap__OBAtomAtomIter_IsAxial},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_IsClockwise", _wrap__OBAtomAtomIter_IsClockwise},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_IsAntiClockwise", _wrap__OBAtomAtomIter_IsAntiClockwise},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_IsPositiveStereo", _wrap__OBAtomAtomIter_IsPositiveStereo},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_IsNegativeStereo", _wrap__OBAtomAtomIter_IsNegativeStereo},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_HasChiralitySpecified", _wrap__OBAtomAtomIter_HasChiralitySpecified},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_HasChiralVolume", _wrap__OBAtomAtomIter_HasChiralVolume},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_IsHbondAcceptor", _wrap__OBAtomAtomIter_IsHbondAcceptor},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_IsHbondDonor", _wrap__OBAtomAtomIter_IsHbondDonor},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_IsHbondDonorH", _wrap__OBAtomAtomIter_IsHbondDonorH},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_HasAlphaBetaUnsat", _wrap__OBAtomAtomIter_HasAlphaBetaUnsat},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_HasBondOfOrder", _wrap__OBAtomAtomIter_HasBondOfOrder},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_CountBondsOfOrder", _wrap__OBAtomAtomIter_CountBondsOfOrder},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_HasNonSingleBond", _wrap__OBAtomAtomIter_HasNonSingleBond},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_HasSingleBond", _wrap__OBAtomAtomIter_HasSingleBond},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_HasDoubleBond", _wrap__OBAtomAtomIter_HasDoubleBond},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_HasAromaticBond", _wrap__OBAtomAtomIter_HasAromaticBond},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_MatchesSMARTS", _wrap__OBAtomAtomIter_MatchesSMARTS},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_Clear", _wrap__OBAtomAtomIter_Clear},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_DoTransformations", _wrap__OBAtomAtomIter_DoTransformations},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_ClassDescription", _wrap__OBAtomAtomIter_ClassDescription},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_GetTitle", _wrap__OBAtomAtomIter_GetTitle},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_SetTitle", _wrap__OBAtomAtomIter_SetTitle},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_HasData", _wrap__OBAtomAtomIter_HasData},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_DeleteData", _wrap__OBAtomAtomIter_DeleteData},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_CloneData", _wrap__OBAtomAtomIter_CloneData},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_DataSize", _wrap__OBAtomAtomIter_DataSize},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_GetData", _wrap__OBAtomAtomIter_GetData},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_GetAllData", _wrap__OBAtomAtomIter_GetAllData},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_BeginData", _wrap__OBAtomAtomIter_BeginData},
{"Chemistry::OpenBabelc::_OBAtomAtomIter_EndData", _wrap__OBAtomAtomIter_EndData},
{"Chemistry::OpenBabelc::new__OBAtomBondIter", _wrap_new__OBAtomBondIter},
{"Chemistry::OpenBabelc::delete__OBAtomBondIter", _wrap_delete__OBAtomBondIter},
{"Chemistry::OpenBabelc::_OBAtomBondIter_good", _wrap__OBAtomBondIter_good},
{"Chemistry::OpenBabelc::_OBAtomBondIter_inc", _wrap__OBAtomBondIter_inc},
{"Chemistry::OpenBabelc::_OBAtomBondIter_deref", _wrap__OBAtomBondIter_deref},
{"Chemistry::OpenBabelc::_OBAtomBondIter___ref__", _wrap__OBAtomBondIter___ref__},
{"Chemistry::OpenBabelc::_OBAtomBondIter_Visit_set", _wrap__OBAtomBondIter_Visit_set},
{"Chemistry::OpenBabelc::_OBAtomBondIter_Visit_get", _wrap__OBAtomBondIter_Visit_get},
{"Chemistry::OpenBabelc::_OBAtomBondIter_SetIdx", _wrap__OBAtomBondIter_SetIdx},
{"Chemistry::OpenBabelc::_OBAtomBondIter_SetId", _wrap__OBAtomBondIter_SetId},
{"Chemistry::OpenBabelc::_OBAtomBondIter_SetBO", _wrap__OBAtomBondIter_SetBO},
{"Chemistry::OpenBabelc::_OBAtomBondIter_SetBondOrder", _wrap__OBAtomBondIter_SetBondOrder},
{"Chemistry::OpenBabelc::_OBAtomBondIter_SetBegin", _wrap__OBAtomBondIter_SetBegin},
{"Chemistry::OpenBabelc::_OBAtomBondIter_SetEnd", _wrap__OBAtomBondIter_SetEnd},
{"Chemistry::OpenBabelc::_OBAtomBondIter_SetParent", _wrap__OBAtomBondIter_SetParent},
{"Chemistry::OpenBabelc::_OBAtomBondIter_SetLength", _wrap__OBAtomBondIter_SetLength},
{"Chemistry::OpenBabelc::_OBAtomBondIter_Set", _wrap__OBAtomBondIter_Set},
{"Chemistry::OpenBabelc::_OBAtomBondIter_SetKSingle", _wrap__OBAtomBondIter_SetKSingle},
{"Chemistry::OpenBabelc::_OBAtomBondIter_SetKDouble", _wrap__OBAtomBondIter_SetKDouble},
{"Chemistry::OpenBabelc::_OBAtomBondIter_SetKTriple", _wrap__OBAtomBondIter_SetKTriple},
{"Chemistry::OpenBabelc::_OBAtomBondIter_SetAromatic", _wrap__OBAtomBondIter_SetAromatic},
{"Chemistry::OpenBabelc::_OBAtomBondIter_SetWedge", _wrap__OBAtomBondIter_SetWedge},
{"Chemistry::OpenBabelc::_OBAtomBondIter_SetHash", _wrap__OBAtomBondIter_SetHash},
{"Chemistry::OpenBabelc::_OBAtomBondIter_SetWedgeOrHash", _wrap__OBAtomBondIter_SetWedgeOrHash},
{"Chemistry::OpenBabelc::_OBAtomBondIter_SetUp", _wrap__OBAtomBondIter_SetUp},
{"Chemistry::OpenBabelc::_OBAtomBondIter_SetDown", _wrap__OBAtomBondIter_SetDown},
{"Chemistry::OpenBabelc::_OBAtomBondIter_SetInRing", _wrap__OBAtomBondIter_SetInRing},
{"Chemistry::OpenBabelc::_OBAtomBondIter_SetClosure", _wrap__OBAtomBondIter_SetClosure},
{"Chemistry::OpenBabelc::_OBAtomBondIter_UnsetHash", _wrap__OBAtomBondIter_UnsetHash},
{"Chemistry::OpenBabelc::_OBAtomBondIter_UnsetWedge", _wrap__OBAtomBondIter_UnsetWedge},
{"Chemistry::OpenBabelc::_OBAtomBondIter_UnsetUp", _wrap__OBAtomBondIter_UnsetUp},
{"Chemistry::OpenBabelc::_OBAtomBondIter_UnsetDown", _wrap__OBAtomBondIter_UnsetDown},
{"Chemistry::OpenBabelc::_OBAtomBondIter_UnsetAromatic", _wrap__OBAtomBondIter_UnsetAromatic},
{"Chemistry::OpenBabelc::_OBAtomBondIter_UnsetKekule", _wrap__OBAtomBondIter_UnsetKekule},
{"Chemistry::OpenBabelc::_OBAtomBondIter_GetIdx", _wrap__OBAtomBondIter_GetIdx},
{"Chemistry::OpenBabelc::_OBAtomBondIter_GetId", _wrap__OBAtomBondIter_GetId},
{"Chemistry::OpenBabelc::_OBAtomBondIter_GetBO", _wrap__OBAtomBondIter_GetBO},
{"Chemistry::OpenBabelc::_OBAtomBondIter_GetBondOrder", _wrap__OBAtomBondIter_GetBondOrder},
{"Chemistry::OpenBabelc::_OBAtomBondIter_GetFlags", _wrap__OBAtomBondIter_GetFlags},
{"Chemistry::OpenBabelc::_OBAtomBondIter_GetBeginAtomIdx", _wrap__OBAtomBondIter_GetBeginAtomIdx},
{"Chemistry::OpenBabelc::_OBAtomBondIter_GetEndAtomIdx", _wrap__OBAtomBondIter_GetEndAtomIdx},
{"Chemistry::OpenBabelc::_OBAtomBondIter_GetBeginAtom", _wrap__OBAtomBondIter_GetBeginAtom},
{"Chemistry::OpenBabelc::_OBAtomBondIter_GetEndAtom", _wrap__OBAtomBondIter_GetEndAtom},
{"Chemistry::OpenBabelc::_OBAtomBondIter_GetNbrAtom", _wrap__OBAtomBondIter_GetNbrAtom},
{"Chemistry::OpenBabelc::_OBAtomBondIter_GetParent", _wrap__OBAtomBondIter_GetParent},
{"Chemistry::OpenBabelc::_OBAtomBondIter_GetEquibLength", _wrap__OBAtomBondIter_GetEquibLength},
{"Chemistry::OpenBabelc::_OBAtomBondIter_GetLength", _wrap__OBAtomBondIter_GetLength},
{"Chemistry::OpenBabelc::_OBAtomBondIter_GetNbrAtomIdx", _wrap__OBAtomBondIter_GetNbrAtomIdx},
{"Chemistry::OpenBabelc::_OBAtomBondIter_FindSmallestRing", _wrap__OBAtomBondIter_FindSmallestRing},
{"Chemistry::OpenBabelc::_OBAtomBondIter_IsAromatic", _wrap__OBAtomBondIter_IsAromatic},
{"Chemistry::OpenBabelc::_OBAtomBondIter_IsInRing", _wrap__OBAtomBondIter_IsInRing},
{"Chemistry::OpenBabelc::_OBAtomBondIter_IsRotor", _wrap__OBAtomBondIter_IsRotor},
{"Chemistry::OpenBabelc::_OBAtomBondIter_IsAmide", _wrap__OBAtomBondIter_IsAmide},
{"Chemistry::OpenBabelc::_OBAtomBondIter_IsPrimaryAmide", _wrap__OBAtomBondIter_IsPrimaryAmide},
{"Chemistry::OpenBabelc::_OBAtomBondIter_IsSecondaryAmide", _wrap__OBAtomBondIter_IsSecondaryAmide},
{"Chemistry::OpenBabelc::_OBAtomBondIter_IsTertiaryAmide", _wrap__OBAtomBondIter_IsTertiaryAmide},
{"Chemistry::OpenBabelc::_OBAtomBondIter_IsEster", _wrap__OBAtomBondIter_IsEster},
{"Chemistry::OpenBabelc::_OBAtomBondIter_IsCarbonyl", _wrap__OBAtomBondIter_IsCarbonyl},
{"Chemistry::OpenBabelc::_OBAtomBondIter_IsSingle", _wrap__OBAtomBondIter_IsSingle},
{"Chemistry::OpenBabelc::_OBAtomBondIter_IsDouble", _wrap__OBAtomBondIter_IsDouble},
{"Chemistry::OpenBabelc::_OBAtomBondIter_IsTriple", _wrap__OBAtomBondIter_IsTriple},
{"Chemistry::OpenBabelc::_OBAtomBondIter_IsKSingle", _wrap__OBAtomBondIter_IsKSingle},
{"Chemistry::OpenBabelc::_OBAtomBondIter_IsKDouble", _wrap__OBAtomBondIter_IsKDouble},
{"Chemistry::OpenBabelc::_OBAtomBondIter_IsKTriple", _wrap__OBAtomBondIter_IsKTriple},
{"Chemistry::OpenBabelc::_OBAtomBondIter_IsClosure", _wrap__OBAtomBondIter_IsClosure},
{"Chemistry::OpenBabelc::_OBAtomBondIter_IsUp", _wrap__OBAtomBondIter_IsUp},
{"Chemistry::OpenBabelc::_OBAtomBondIter_IsDown", _wrap__OBAtomBondIter_IsDown},
{"Chemistry::OpenBabelc::_OBAtomBondIter_IsWedge", _wrap__OBAtomBondIter_IsWedge},
{"Chemistry::OpenBabelc::_OBAtomBondIter_IsHash", _wrap__OBAtomBondIter_IsHash},
{"Chemistry::OpenBabelc::_OBAtomBondIter_IsWedgeOrHash", _wrap__OBAtomBondIter_IsWedgeOrHash},
{"Chemistry::OpenBabelc::_OBAtomBondIter_IsCisOrTrans", _wrap__OBAtomBondIter_IsCisOrTrans},
{"Chemistry::OpenBabelc::_OBAtomBondIter_IsDoubleBondGeometry", _wrap__OBAtomBondIter_IsDoubleBondGeometry},
{"Chemistry::OpenBabelc::_OBAtomBondIter_Clear", _wrap__OBAtomBondIter_Clear},
{"Chemistry::OpenBabelc::_OBAtomBondIter_DoTransformations", _wrap__OBAtomBondIter_DoTransformations},
{"Chemistry::OpenBabelc::_OBAtomBondIter_ClassDescription", _wrap__OBAtomBondIter_ClassDescription},
{"Chemistry::OpenBabelc::_OBAtomBondIter_GetTitle", _wrap__OBAtomBondIter_GetTitle},
{"Chemistry::OpenBabelc::_OBAtomBondIter_SetTitle", _wrap__OBAtomBondIter_SetTitle},
{"Chemistry::OpenBabelc::_OBAtomBondIter_HasData", _wrap__OBAtomBondIter_HasData},
{"Chemistry::OpenBabelc::_OBAtomBondIter_DeleteData", _wrap__OBAtomBondIter_DeleteData},
{"Chemistry::OpenBabelc::_OBAtomBondIter_CloneData", _wrap__OBAtomBondIter_CloneData},
{"Chemistry::OpenBabelc::_OBAtomBondIter_DataSize", _wrap__OBAtomBondIter_DataSize},
{"Chemistry::OpenBabelc::_OBAtomBondIter_GetData", _wrap__OBAtomBondIter_GetData},
{"Chemistry::OpenBabelc::_OBAtomBondIter_GetAllData", _wrap__OBAtomBondIter_GetAllData},
{"Chemistry::OpenBabelc::_OBAtomBondIter_BeginData", _wrap__OBAtomBondIter_BeginData},
{"Chemistry::OpenBabelc::_OBAtomBondIter_EndData", _wrap__OBAtomBondIter_EndData},
{"Chemistry::OpenBabelc::new_OBResidueIter", _wrap_new_OBResidueIter},
{"Chemistry::OpenBabelc::delete_OBResidueIter", _wrap_delete_OBResidueIter},
{"Chemistry::OpenBabelc::OBResidueIter_good", _wrap_OBResidueIter_good},
{"Chemistry::OpenBabelc::OBResidueIter_inc", _wrap_OBResidueIter_inc},
{"Chemistry::OpenBabelc::OBResidueIter_deref", _wrap_OBResidueIter_deref},
{"Chemistry::OpenBabelc::OBResidueIter___ref__", _wrap_OBResidueIter___ref__},
{"Chemistry::OpenBabelc::OBResidueIter_AddAtom", _wrap_OBResidueIter_AddAtom},
{"Chemistry::OpenBabelc::OBResidueIter_InsertAtom", _wrap_OBResidueIter_InsertAtom},
{"Chemistry::OpenBabelc::OBResidueIter_RemoveAtom", _wrap_OBResidueIter_RemoveAtom},
{"Chemistry::OpenBabelc::OBResidueIter_SetName", _wrap_OBResidueIter_SetName},
{"Chemistry::OpenBabelc::OBResidueIter_SetNum", _wrap_OBResidueIter_SetNum},
{"Chemistry::OpenBabelc::OBResidueIter_SetChain", _wrap_OBResidueIter_SetChain},
{"Chemistry::OpenBabelc::OBResidueIter_SetChainNum", _wrap_OBResidueIter_SetChainNum},
{"Chemistry::OpenBabelc::OBResidueIter_SetIdx", _wrap_OBResidueIter_SetIdx},
{"Chemistry::OpenBabelc::OBResidueIter_SetAtomID", _wrap_OBResidueIter_SetAtomID},
{"Chemistry::OpenBabelc::OBResidueIter_SetHetAtom", _wrap_OBResidueIter_SetHetAtom},
{"Chemistry::OpenBabelc::OBResidueIter_SetSerialNum", _wrap_OBResidueIter_SetSerialNum},
{"Chemistry::OpenBabelc::OBResidueIter_GetName", _wrap_OBResidueIter_GetName},
{"Chemistry::OpenBabelc::OBResidueIter_GetNum", _wrap_OBResidueIter_GetNum},
{"Chemistry::OpenBabelc::OBResidueIter_GetNumString", _wrap_OBResidueIter_GetNumString},
{"Chemistry::OpenBabelc::OBResidueIter_GetNumAtoms", _wrap_OBResidueIter_GetNumAtoms},
{"Chemistry::OpenBabelc::OBResidueIter_GetChain", _wrap_OBResidueIter_GetChain},
{"Chemistry::OpenBabelc::OBResidueIter_GetChainNum", _wrap_OBResidueIter_GetChainNum},
{"Chemistry::OpenBabelc::OBResidueIter_GetIdx", _wrap_OBResidueIter_GetIdx},
{"Chemistry::OpenBabelc::OBResidueIter_GetResKey", _wrap_OBResidueIter_GetResKey},
{"Chemistry::OpenBabelc::OBResidueIter_GetAtoms", _wrap_OBResidueIter_GetAtoms},
{"Chemistry::OpenBabelc::OBResidueIter_GetBonds", _wrap_OBResidueIter_GetBonds},
{"Chemistry::OpenBabelc::OBResidueIter_GetAtomID", _wrap_OBResidueIter_GetAtomID},
{"Chemistry::OpenBabelc::OBResidueIter_GetSerialNum", _wrap_OBResidueIter_GetSerialNum},
{"Chemistry::OpenBabelc::OBResidueIter_GetAminoAcidProperty", _wrap_OBResidueIter_GetAminoAcidProperty},
{"Chemistry::OpenBabelc::OBResidueIter_GetAtomProperty", _wrap_OBResidueIter_GetAtomProperty},
{"Chemistry::OpenBabelc::OBResidueIter_GetResidueProperty", _wrap_OBResidueIter_GetResidueProperty},
{"Chemistry::OpenBabelc::OBResidueIter_IsHetAtom", _wrap_OBResidueIter_IsHetAtom},
{"Chemistry::OpenBabelc::OBResidueIter_IsResidueType", _wrap_OBResidueIter_IsResidueType},
{"Chemistry::OpenBabelc::OBResidueIter_BeginAtoms", _wrap_OBResidueIter_BeginAtoms},
{"Chemistry::OpenBabelc::OBResidueIter_EndAtoms", _wrap_OBResidueIter_EndAtoms},
{"Chemistry::OpenBabelc::OBResidueIter_BeginAtom", _wrap_OBResidueIter_BeginAtom},
{"Chemistry::OpenBabelc::OBResidueIter_NextAtom", _wrap_OBResidueIter_NextAtom},
{"Chemistry::OpenBabelc::OBResidueIter_Clear", _wrap_OBResidueIter_Clear},
{"Chemistry::OpenBabelc::OBResidueIter_DoTransformations", _wrap_OBResidueIter_DoTransformations},
{"Chemistry::OpenBabelc::OBResidueIter_ClassDescription", _wrap_OBResidueIter_ClassDescription},
{"Chemistry::OpenBabelc::OBResidueIter_GetTitle", _wrap_OBResidueIter_GetTitle},
{"Chemistry::OpenBabelc::OBResidueIter_SetTitle", _wrap_OBResidueIter_SetTitle},
{"Chemistry::OpenBabelc::OBResidueIter_HasData", _wrap_OBResidueIter_HasData},
{"Chemistry::OpenBabelc::OBResidueIter_DeleteData", _wrap_OBResidueIter_DeleteData},
{"Chemistry::OpenBabelc::OBResidueIter_CloneData", _wrap_OBResidueIter_CloneData},
{"Chemistry::OpenBabelc::OBResidueIter_DataSize", _wrap_OBResidueIter_DataSize},
{"Chemistry::OpenBabelc::OBResidueIter_GetData", _wrap_OBResidueIter_GetData},
{"Chemistry::OpenBabelc::OBResidueIter_GetAllData", _wrap_OBResidueIter_GetAllData},
{"Chemistry::OpenBabelc::OBResidueIter_BeginData", _wrap_OBResidueIter_BeginData},
{"Chemistry::OpenBabelc::OBResidueIter_EndData", _wrap_OBResidueIter_EndData},
{"Chemistry::OpenBabelc::new__OBResidueAtomIter", _wrap_new__OBResidueAtomIter},
{"Chemistry::OpenBabelc::delete__OBResidueAtomIter", _wrap_delete__OBResidueAtomIter},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_good", _wrap__OBResidueAtomIter_good},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_inc", _wrap__OBResidueAtomIter_inc},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_deref", _wrap__OBResidueAtomIter_deref},
{"Chemistry::OpenBabelc::_OBResidueAtomIter___ref__", _wrap__OBResidueAtomIter___ref__},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_Visit_set", _wrap__OBResidueAtomIter_Visit_set},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_Visit_get", _wrap__OBResidueAtomIter_Visit_get},
{"Chemistry::OpenBabelc::_OBResidueAtomIter___eq__", _wrap__OBResidueAtomIter___eq__},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_Duplicate", _wrap__OBResidueAtomIter_Duplicate},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_SetIdx", _wrap__OBResidueAtomIter_SetIdx},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_SetId", _wrap__OBResidueAtomIter_SetId},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_SetHyb", _wrap__OBResidueAtomIter_SetHyb},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_SetAtomicNum", _wrap__OBResidueAtomIter_SetAtomicNum},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_SetIsotope", _wrap__OBResidueAtomIter_SetIsotope},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_SetImplicitValence", _wrap__OBResidueAtomIter_SetImplicitValence},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_IncrementImplicitValence", _wrap__OBResidueAtomIter_IncrementImplicitValence},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_DecrementImplicitValence", _wrap__OBResidueAtomIter_DecrementImplicitValence},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_SetFormalCharge", _wrap__OBResidueAtomIter_SetFormalCharge},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_SetSpinMultiplicity", _wrap__OBResidueAtomIter_SetSpinMultiplicity},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_SetType", _wrap__OBResidueAtomIter_SetType},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_SetPartialCharge", _wrap__OBResidueAtomIter_SetPartialCharge},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_SetVector", _wrap__OBResidueAtomIter_SetVector},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_SetCoordPtr", _wrap__OBResidueAtomIter_SetCoordPtr},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_SetResidue", _wrap__OBResidueAtomIter_SetResidue},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_SetParent", _wrap__OBResidueAtomIter_SetParent},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_SetAromatic", _wrap__OBResidueAtomIter_SetAromatic},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_UnsetAromatic", _wrap__OBResidueAtomIter_UnsetAromatic},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_SetClockwiseStereo", _wrap__OBResidueAtomIter_SetClockwiseStereo},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_SetAntiClockwiseStereo", _wrap__OBResidueAtomIter_SetAntiClockwiseStereo},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_SetPositiveStereo", _wrap__OBResidueAtomIter_SetPositiveStereo},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_SetNegativeStereo", _wrap__OBResidueAtomIter_SetNegativeStereo},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_UnsetStereo", _wrap__OBResidueAtomIter_UnsetStereo},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_SetInRing", _wrap__OBResidueAtomIter_SetInRing},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_SetChiral", _wrap__OBResidueAtomIter_SetChiral},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_ClearCoordPtr", _wrap__OBResidueAtomIter_ClearCoordPtr},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_GetFormalCharge", _wrap__OBResidueAtomIter_GetFormalCharge},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_GetAtomicNum", _wrap__OBResidueAtomIter_GetAtomicNum},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_GetIsotope", _wrap__OBResidueAtomIter_GetIsotope},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_GetSpinMultiplicity", _wrap__OBResidueAtomIter_GetSpinMultiplicity},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_GetAtomicMass", _wrap__OBResidueAtomIter_GetAtomicMass},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_GetExactMass", _wrap__OBResidueAtomIter_GetExactMass},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_GetIdx", _wrap__OBResidueAtomIter_GetIdx},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_GetIndex", _wrap__OBResidueAtomIter_GetIndex},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_GetId", _wrap__OBResidueAtomIter_GetId},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_GetCoordinateIdx", _wrap__OBResidueAtomIter_GetCoordinateIdx},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_GetCIdx", _wrap__OBResidueAtomIter_GetCIdx},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_GetValence", _wrap__OBResidueAtomIter_GetValence},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_GetHyb", _wrap__OBResidueAtomIter_GetHyb},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_GetImplicitValence", _wrap__OBResidueAtomIter_GetImplicitValence},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_GetHvyValence", _wrap__OBResidueAtomIter_GetHvyValence},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_GetHeteroValence", _wrap__OBResidueAtomIter_GetHeteroValence},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_GetType", _wrap__OBResidueAtomIter_GetType},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_GetX", _wrap__OBResidueAtomIter_GetX},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_GetY", _wrap__OBResidueAtomIter_GetY},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_GetZ", _wrap__OBResidueAtomIter_GetZ},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_x", _wrap__OBResidueAtomIter_x},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_y", _wrap__OBResidueAtomIter_y},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_z", _wrap__OBResidueAtomIter_z},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_GetCoordinate", _wrap__OBResidueAtomIter_GetCoordinate},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_GetVector", _wrap__OBResidueAtomIter_GetVector},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_GetPartialCharge", _wrap__OBResidueAtomIter_GetPartialCharge},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_GetResidue", _wrap__OBResidueAtomIter_GetResidue},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_GetParent", _wrap__OBResidueAtomIter_GetParent},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_GetNewBondVector", _wrap__OBResidueAtomIter_GetNewBondVector},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_GetBond", _wrap__OBResidueAtomIter_GetBond},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_GetNextAtom", _wrap__OBResidueAtomIter_GetNextAtom},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_BeginBonds", _wrap__OBResidueAtomIter_BeginBonds},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_EndBonds", _wrap__OBResidueAtomIter_EndBonds},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_BeginBond", _wrap__OBResidueAtomIter_BeginBond},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_NextBond", _wrap__OBResidueAtomIter_NextBond},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_BeginNbrAtom", _wrap__OBResidueAtomIter_BeginNbrAtom},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_NextNbrAtom", _wrap__OBResidueAtomIter_NextNbrAtom},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_GetDistance", _wrap__OBResidueAtomIter_GetDistance},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_GetAngle", _wrap__OBResidueAtomIter_GetAngle},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_NewResidue", _wrap__OBResidueAtomIter_NewResidue},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_AddResidue", _wrap__OBResidueAtomIter_AddResidue},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_DeleteResidue", _wrap__OBResidueAtomIter_DeleteResidue},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_AddBond", _wrap__OBResidueAtomIter_AddBond},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_InsertBond", _wrap__OBResidueAtomIter_InsertBond},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_DeleteBond", _wrap__OBResidueAtomIter_DeleteBond},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_ClearBond", _wrap__OBResidueAtomIter_ClearBond},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_HtoMethyl", _wrap__OBResidueAtomIter_HtoMethyl},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_SetHybAndGeom", _wrap__OBResidueAtomIter_SetHybAndGeom},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_ForceNoH", _wrap__OBResidueAtomIter_ForceNoH},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_HasNoHForced", _wrap__OBResidueAtomIter_HasNoHForced},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_ForceImplH", _wrap__OBResidueAtomIter_ForceImplH},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_HasImplHForced", _wrap__OBResidueAtomIter_HasImplHForced},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_CountFreeOxygens", _wrap__OBResidueAtomIter_CountFreeOxygens},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_ImplicitHydrogenCount", _wrap__OBResidueAtomIter_ImplicitHydrogenCount},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_ExplicitHydrogenCount", _wrap__OBResidueAtomIter_ExplicitHydrogenCount},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_MemberOfRingCount", _wrap__OBResidueAtomIter_MemberOfRingCount},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_MemberOfRingSize", _wrap__OBResidueAtomIter_MemberOfRingSize},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_CountRingBonds", _wrap__OBResidueAtomIter_CountRingBonds},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_SmallestBondAngle", _wrap__OBResidueAtomIter_SmallestBondAngle},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_AverageBondAngle", _wrap__OBResidueAtomIter_AverageBondAngle},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_BOSum", _wrap__OBResidueAtomIter_BOSum},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_KBOSum", _wrap__OBResidueAtomIter_KBOSum},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_HasResidue", _wrap__OBResidueAtomIter_HasResidue},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_IsHydrogen", _wrap__OBResidueAtomIter_IsHydrogen},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_IsCarbon", _wrap__OBResidueAtomIter_IsCarbon},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_IsNitrogen", _wrap__OBResidueAtomIter_IsNitrogen},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_IsOxygen", _wrap__OBResidueAtomIter_IsOxygen},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_IsSulfur", _wrap__OBResidueAtomIter_IsSulfur},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_IsPhosphorus", _wrap__OBResidueAtomIter_IsPhosphorus},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_IsAromatic", _wrap__OBResidueAtomIter_IsAromatic},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_IsInRing", _wrap__OBResidueAtomIter_IsInRing},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_IsInRingSize", _wrap__OBResidueAtomIter_IsInRingSize},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_IsHeteroatom", _wrap__OBResidueAtomIter_IsHeteroatom},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_IsNotCorH", _wrap__OBResidueAtomIter_IsNotCorH},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_IsConnected", _wrap__OBResidueAtomIter_IsConnected},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_IsOneThree", _wrap__OBResidueAtomIter_IsOneThree},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_IsOneFour", _wrap__OBResidueAtomIter_IsOneFour},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_IsCarboxylOxygen", _wrap__OBResidueAtomIter_IsCarboxylOxygen},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_IsPhosphateOxygen", _wrap__OBResidueAtomIter_IsPhosphateOxygen},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_IsSulfateOxygen", _wrap__OBResidueAtomIter_IsSulfateOxygen},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_IsNitroOxygen", _wrap__OBResidueAtomIter_IsNitroOxygen},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_IsAmideNitrogen", _wrap__OBResidueAtomIter_IsAmideNitrogen},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_IsPolarHydrogen", _wrap__OBResidueAtomIter_IsPolarHydrogen},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_IsNonPolarHydrogen", _wrap__OBResidueAtomIter_IsNonPolarHydrogen},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_IsAromaticNOxide", _wrap__OBResidueAtomIter_IsAromaticNOxide},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_IsChiral", _wrap__OBResidueAtomIter_IsChiral},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_IsAxial", _wrap__OBResidueAtomIter_IsAxial},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_IsClockwise", _wrap__OBResidueAtomIter_IsClockwise},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_IsAntiClockwise", _wrap__OBResidueAtomIter_IsAntiClockwise},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_IsPositiveStereo", _wrap__OBResidueAtomIter_IsPositiveStereo},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_IsNegativeStereo", _wrap__OBResidueAtomIter_IsNegativeStereo},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_HasChiralitySpecified", _wrap__OBResidueAtomIter_HasChiralitySpecified},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_HasChiralVolume", _wrap__OBResidueAtomIter_HasChiralVolume},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_IsHbondAcceptor", _wrap__OBResidueAtomIter_IsHbondAcceptor},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_IsHbondDonor", _wrap__OBResidueAtomIter_IsHbondDonor},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_IsHbondDonorH", _wrap__OBResidueAtomIter_IsHbondDonorH},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_HasAlphaBetaUnsat", _wrap__OBResidueAtomIter_HasAlphaBetaUnsat},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_HasBondOfOrder", _wrap__OBResidueAtomIter_HasBondOfOrder},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_CountBondsOfOrder", _wrap__OBResidueAtomIter_CountBondsOfOrder},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_HasNonSingleBond", _wrap__OBResidueAtomIter_HasNonSingleBond},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_HasSingleBond", _wrap__OBResidueAtomIter_HasSingleBond},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_HasDoubleBond", _wrap__OBResidueAtomIter_HasDoubleBond},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_HasAromaticBond", _wrap__OBResidueAtomIter_HasAromaticBond},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_MatchesSMARTS", _wrap__OBResidueAtomIter_MatchesSMARTS},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_Clear", _wrap__OBResidueAtomIter_Clear},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_DoTransformations", _wrap__OBResidueAtomIter_DoTransformations},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_ClassDescription", _wrap__OBResidueAtomIter_ClassDescription},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_GetTitle", _wrap__OBResidueAtomIter_GetTitle},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_SetTitle", _wrap__OBResidueAtomIter_SetTitle},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_HasData", _wrap__OBResidueAtomIter_HasData},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_DeleteData", _wrap__OBResidueAtomIter_DeleteData},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_CloneData", _wrap__OBResidueAtomIter_CloneData},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_DataSize", _wrap__OBResidueAtomIter_DataSize},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_GetData", _wrap__OBResidueAtomIter_GetData},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_GetAllData", _wrap__OBResidueAtomIter_GetAllData},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_BeginData", _wrap__OBResidueAtomIter_BeginData},
{"Chemistry::OpenBabelc::_OBResidueAtomIter_EndData", _wrap__OBResidueAtomIter_EndData},
{"Chemistry::OpenBabelc::new__OBMolAngleIter", _wrap_new__OBMolAngleIter},
{"Chemistry::OpenBabelc::delete__OBMolAngleIter", _wrap_delete__OBMolAngleIter},
{"Chemistry::OpenBabelc::_OBMolAngleIter_good", _wrap__OBMolAngleIter_good},
{"Chemistry::OpenBabelc::_OBMolAngleIter_inc", _wrap__OBMolAngleIter_inc},
{"Chemistry::OpenBabelc::_OBMolAngleIter___ref__", _wrap__OBMolAngleIter___ref__},
{"Chemistry::OpenBabelc::new__OBMolTorsionIter", _wrap_new__OBMolTorsionIter},
{"Chemistry::OpenBabelc::delete__OBMolTorsionIter", _wrap_delete__OBMolTorsionIter},
{"Chemistry::OpenBabelc::_OBMolTorsionIter_good", _wrap__OBMolTorsionIter_good},
{"Chemistry::OpenBabelc::_OBMolTorsionIter_inc", _wrap__OBMolTorsionIter_inc},
{"Chemistry::OpenBabelc::_OBMolTorsionIter___ref__", _wrap__OBMolTorsionIter___ref__},
{"Chemistry::OpenBabelc::new__OBMolPairIter", _wrap_new__OBMolPairIter},
{"Chemistry::OpenBabelc::delete__OBMolPairIter", _wrap_delete__OBMolPairIter},
{"Chemistry::OpenBabelc::_OBMolPairIter_good", _wrap__OBMolPairIter_good},
{"Chemistry::OpenBabelc::_OBMolPairIter_inc", _wrap__OBMolPairIter_inc},
{"Chemistry::OpenBabelc::_OBMolPairIter___ref__", _wrap__OBMolPairIter___ref__},
{"Chemistry::OpenBabelc::new__OBMolRingIter", _wrap_new__OBMolRingIter},
{"Chemistry::OpenBabelc::delete__OBMolRingIter", _wrap_delete__OBMolRingIter},
{"Chemistry::OpenBabelc::_OBMolRingIter_good", _wrap__OBMolRingIter_good},
{"Chemistry::OpenBabelc::_OBMolRingIter_inc", _wrap__OBMolRingIter_inc},
{"Chemistry::OpenBabelc::_OBMolRingIter_deref", _wrap__OBMolRingIter_deref},
{"Chemistry::OpenBabelc::_OBMolRingIter___ref__", _wrap__OBMolRingIter___ref__},
{"Chemistry::OpenBabelc::_OBMolRingIter_ring_id_set", _wrap__OBMolRingIter_ring_id_set},
{"Chemistry::OpenBabelc::_OBMolRingIter_ring_id_get", _wrap__OBMolRingIter_ring_id_get},
{"Chemistry::OpenBabelc::_OBMolRingIter__path_set", _wrap__OBMolRingIter__path_set},
{"Chemistry::OpenBabelc::_OBMolRingIter__path_get", _wrap__OBMolRingIter__path_get},
{"Chemistry::OpenBabelc::_OBMolRingIter__pathset_set", _wrap__OBMolRingIter__pathset_set},
{"Chemistry::OpenBabelc::_OBMolRingIter__pathset_get", _wrap__OBMolRingIter__pathset_get},
{"Chemistry::OpenBabelc::_OBMolRingIter_Size", _wrap__OBMolRingIter_Size},
{"Chemistry::OpenBabelc::_OBMolRingIter_PathSize", _wrap__OBMolRingIter_PathSize},
{"Chemistry::OpenBabelc::_OBMolRingIter_IsAromatic", _wrap__OBMolRingIter_IsAromatic},
{"Chemistry::OpenBabelc::_OBMolRingIter_SetType", _wrap__OBMolRingIter_SetType},
{"Chemistry::OpenBabelc::_OBMolRingIter_GetType", _wrap__OBMolRingIter_GetType},
{"Chemistry::OpenBabelc::_OBMolRingIter_GetRootAtom", _wrap__OBMolRingIter_GetRootAtom},
{"Chemistry::OpenBabelc::_OBMolRingIter_IsMember", _wrap__OBMolRingIter_IsMember},
{"Chemistry::OpenBabelc::_OBMolRingIter_IsInRing", _wrap__OBMolRingIter_IsInRing},
{"Chemistry::OpenBabelc::_OBMolRingIter_SetParent", _wrap__OBMolRingIter_SetParent},
{"Chemistry::OpenBabelc::_OBMolRingIter_GetParent", _wrap__OBMolRingIter_GetParent},
{"Chemistry::OpenBabelc::_OBMolRingIter_findCenterAndNormal", _wrap__OBMolRingIter_findCenterAndNormal},
{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 through 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" {
#if 0
} /* c-mode */
#endif
#endif

#if 0
#define SWIGRUNTIME_DEBUG
#endif


SWIGRUNTIME void
SWIG_InitializeModule(void *clientdata) {
  size_t i;
  swig_module_info *module_head, *iter;
  int found, init;
  
  clientdata = clientdata;
  
  /* check to see if the circular list has been setup, if not, set it up */
  if (swig_module.next==0) {
    /* Initialize the swig_module */
    swig_module.type_initial = swig_type_initial;
    swig_module.cast_initial = swig_cast_initial;
    swig_module.next = &swig_module;
    init = 1;
  } else {
    init = 0;
  }
  
  /* Try and load any already created modules */
  module_head = SWIG_GetModule(clientdata);
  if (!module_head) {
    /* This is the first module loaded for this interpreter */
    /* so set the swig module into the interpreter */
    SWIG_SetModule(clientdata, &swig_module);
    module_head = &swig_module;
  } else {
    /* the interpreter has loaded a SWIG module, but has it loaded this one? */
    found=0;
    iter=module_head;
    do {
      if (iter==&swig_module) {
        found=1;
        break;
      }
      iter=iter->next;
    } while (iter!= module_head);
    
    /* if the is found in the list, then all is done and we may leave */
    if (found) return;
    /* otherwise we must add out module into the list */
    swig_module.next = module_head->next;
    module_head->next = &swig_module;
  }
  
  /* When multiple interpeters are used, a module could have already been initialized in
       a different interpreter, but not yet have a pointer in this interpreter.
       In this case, we do not want to continue adding types... everything should be
       set up already */
  if (init == 0) return;
  
  /* Now work on filling in swig_module.types */
#ifdef SWIGRUNTIME_DEBUG
  printf("SWIG_InitializeModule: size %d\n", swig_module.size);
#endif
  for (i = 0; i < swig_module.size; ++i) {
    swig_type_info *type = 0;
    swig_type_info *ret;
    swig_cast_info *cast;
    
#ifdef SWIGRUNTIME_DEBUG
    printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
#endif
    
    /* 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 */
#ifdef SWIGRUNTIME_DEBUG
      printf("SWIG_InitializeModule: found type %s\n", type->name);
#endif
      if (swig_module.type_initial[i]->clientdata) {
        type->clientdata = swig_module.type_initial[i]->clientdata;
#ifdef SWIGRUNTIME_DEBUG
        printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
#endif
      }
    } 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;
#ifdef SWIGRUNTIME_DEBUG
      printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
#endif
      if (swig_module.next != &swig_module) {
        ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
#ifdef SWIGRUNTIME_DEBUG
        if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
#endif
      }
      if (ret) {
        if (type == swig_module.type_initial[i]) {
#ifdef SWIGRUNTIME_DEBUG
          printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
#endif
          cast->type = ret;
          ret = 0;
        } else {
          /* Check for casting already in the list */
          swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
#ifdef SWIGRUNTIME_DEBUG
          if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
#endif
          if (!ocast) ret = 0;
        }
      }
      
      if (!ret) {
#ifdef SWIGRUNTIME_DEBUG
        printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
#endif
        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;
  
#ifdef SWIGRUNTIME_DEBUG
  printf("**** SWIG_InitializeModule: Cast List ******\n");
  for (i = 0; i < swig_module.size; ++i) {
    int j = 0;
    swig_cast_info *cast = swig_module.cast_initial[i];
    printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
    while (cast->type) {
      printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
      cast++;
      ++j;
    }
    printf("---- Total casts: %d\n",j);
  }
  printf("**** SWIG_InitializeModule: Cast List ******\n");
#endif
}

/* 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
#if 0
{
  /* c-mode */
#endif
}
#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 = get_sv((char*) swig_variables[i].name, TRUE | 0x2 | GV_ADDMULTI);
    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 = get_sv((char*)swig_constants[i].name, TRUE | 0x2 | GV_ADDMULTI);
    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);
  }
  
  SWIG_TypeClientData(SWIGTYPE_p_std__vectorT_int_t, (void*) "Chemistry::OpenBabel::VectorInt");
  SWIG_TypeClientData(SWIGTYPE_p_std__vectorT_unsigned_int_t, (void*) "Chemistry::OpenBabel::VectorUnsignedInt");
  SWIG_TypeClientData(SWIGTYPE_p_std__vectorT_std__vectorT_int_t_t, (void*) "Chemistry::OpenBabel::VectorVInt");
  SWIG_TypeClientData(SWIGTYPE_p_std__vectorT_double_t, (void*) "Chemistry::OpenBabel::VectorDouble");
  SWIG_TypeClientData(SWIGTYPE_p_std__vectorT_std__string_t, (void*) "Chemistry::OpenBabel::VectorString");
  SWIG_TypeClientData(SWIGTYPE_p_std__vectorT_OpenBabel__vector3_t, (void*) "Chemistry::OpenBabel::VectorVector3");
  SWIG_TypeClientData(SWIGTYPE_p_std__vectorT_OpenBabel__OBMol_t, (void*) "Chemistry::OpenBabel::VectorOBMol");
  SWIG_TypeClientData(SWIGTYPE_p_std__vectorT_OpenBabel__OBBond_t, (void*) "Chemistry::OpenBabel::VectorOBBond");
  SWIG_TypeClientData(SWIGTYPE_p_std__vectorT_OpenBabel__OBResidue_t, (void*) "Chemistry::OpenBabel::VectorOBResidue");
  SWIG_TypeClientData(SWIGTYPE_p_std__vectorT_OpenBabel__OBRing_t, (void*) "Chemistry::OpenBabel::VectorOBRing");
  SWIG_TypeClientData(SWIGTYPE_p_std__vectorT_OpenBabel__OBRing_p_t, (void*) "Chemistry::OpenBabel::VectorpOBRing");
  SWIG_TypeClientData(SWIGTYPE_p_std__vectorT_OpenBabel__OBGenericData_p_t, (void*) "Chemistry::OpenBabel::VectorpOBGenericData");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBGlobalDataBase, (void*) "Chemistry::OpenBabel::OBGlobalDataBase");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBElement, (void*) "Chemistry::OpenBabel::OBElement");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBElementTable, (void*) "Chemistry::OpenBabel::OBElementTable");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBIsotopeTable, (void*) "Chemistry::OpenBabel::OBIsotopeTable");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBTypeTable, (void*) "Chemistry::OpenBabel::OBTypeTable");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBResidueData, (void*) "Chemistry::OpenBabel::OBResidueData");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__DoubleType, (void*) "Chemistry::OpenBabel::DoubleType");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBRandom, (void*) "Chemistry::OpenBabel::OBRandom");
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "M_PI", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(3.14159265358979323846)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBStopwatch, (void*) "Chemistry::OpenBabel::OBStopwatch");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBSqrtTbl, (void*) "Chemistry::OpenBabel::OBSqrtTbl");
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "RAD_TO_DEG", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >((180.0/3.14159265358979323846))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "DEG_TO_RAD", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >((3.14159265358979323846/180.0))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__vector3, (void*) "Chemistry::OpenBabel::vector3");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__matrix3x3, (void*) "Chemistry::OpenBabel::matrix3x3");
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "UndefinedData", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::UndefinedData)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "PairData", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::PairData)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "EnergyData", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::EnergyData)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "CommentData", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::CommentData)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "ConformerData", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::ConformerData)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "ExternalBondData", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::ExternalBondData)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "RotamerList", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::RotamerList)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "VirtualBondData", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::VirtualBondData)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "RingData", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::RingData)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "TorsionData", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::TorsionData)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "AngleData", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::AngleData)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "SerialNums", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::SerialNums)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "UnitCell", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::UnitCell)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "SpinData", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::SpinData)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "ChargeData", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::ChargeData)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "SymmetryData", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::SymmetryData)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "ChiralData", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::ChiralData)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OccupationData", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::OccupationData)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "DensityData", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::DensityData)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "ElectronicData", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::ElectronicData)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "VibrationData", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::VibrationData)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "RotationData", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::RotationData)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "NuclearData", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::NuclearData)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "SetData", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::SetData)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "GridData", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::GridData)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "VectorData", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::VectorData)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "MatrixData", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::MatrixData)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "StereoData", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::StereoData)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "DOSData", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::DOSData)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "ElectronicTransitionData", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::ElectronicTransitionData)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "CustomData0", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::CustomData0)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "CustomData1", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::CustomData1)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "CustomData2", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::CustomData2)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "CustomData3", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::CustomData3)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "CustomData4", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::CustomData4)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "CustomData5", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::CustomData5)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "CustomData6", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::CustomData6)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "CustomData7", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::CustomData7)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "CustomData8", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::CustomData8)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "CustomData9", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::CustomData9)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "CustomData10", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::CustomData10)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "CustomData11", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::CustomData11)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "CustomData12", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::CustomData12)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "CustomData13", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::CustomData13)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "CustomData14", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::CustomData14)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "CustomData15", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGenericDataType::CustomData15)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "any", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::any)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "fileformatInput", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::fileformatInput)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "userInput", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::userInput)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "perceived", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::perceived)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "external", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::external)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "_local", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::local)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBGenericData, (void*) "Chemistry::OpenBabel::OBGenericData");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBBase, (void*) "Chemistry::OpenBabel::OBBase");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBCommentData, (void*) "Chemistry::OpenBabel::OBCommentData");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBExternalBond, (void*) "Chemistry::OpenBabel::OBExternalBond");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBExternalBondData, (void*) "Chemistry::OpenBabel::OBExternalBondData");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBPairData, (void*) "Chemistry::OpenBabel::OBPairData");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBSetData, (void*) "Chemistry::OpenBabel::OBSetData");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBVirtualBond, (void*) "Chemistry::OpenBabel::OBVirtualBond");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBRingData, (void*) "Chemistry::OpenBabel::OBRingData");
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBUnitCell_Undefined", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBUnitCell::Undefined)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBUnitCell_Triclinic", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBUnitCell::Triclinic)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBUnitCell_Monoclinic", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBUnitCell::Monoclinic)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBUnitCell_Orthorhombic", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBUnitCell::Orthorhombic)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBUnitCell_Tetragonal", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBUnitCell::Tetragonal)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBUnitCell_Rhombohedral", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBUnitCell::Rhombohedral)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBUnitCell_Hexagonal", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBUnitCell::Hexagonal)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBUnitCell_Cubic", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBUnitCell::Cubic)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBUnitCell, (void*) "Chemistry::OpenBabel::OBUnitCell");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBConformerData, (void*) "Chemistry::OpenBabel::OBConformerData");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBSymmetryData, (void*) "Chemistry::OpenBabel::OBSymmetryData");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBTorsion, (void*) "Chemistry::OpenBabel::OBTorsion");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBTorsionData, (void*) "Chemistry::OpenBabel::OBTorsionData");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBAngle, (void*) "Chemistry::OpenBabel::OBAngle");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBAngleData, (void*) "Chemistry::OpenBabel::OBAngleData");
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "output", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::output)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "input", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::input)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "calcvolume", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::calcvolume)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBChiralData, (void*) "Chemistry::OpenBabel::OBChiralData");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBSerialNums, (void*) "Chemistry::OpenBabel::OBSerialNums");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBVibrationData, (void*) "Chemistry::OpenBabel::OBVibrationData");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBDOSData, (void*) "Chemistry::OpenBabel::OBDOSData");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBOrbital, (void*) "Chemistry::OpenBabel::OBOrbital");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBOrbitalData, (void*) "Chemistry::OpenBabel::OBOrbitalData");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBElectronicTransitionData, (void*) "Chemistry::OpenBabel::OBElectronicTransitionData");
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBRotationData_UNKNOWN", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBRotationData::UNKNOWN)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBRotationData_ASYMMETRIC", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBRotationData::ASYMMETRIC)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBRotationData_SYMMETRIC", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBRotationData::SYMMETRIC)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBRotationData_LINEAR", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBRotationData::LINEAR)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBRotationData, (void*) "Chemistry::OpenBabel::OBRotationData");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBVectorData, (void*) "Chemistry::OpenBabel::OBVectorData");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBMatrixData, (void*) "Chemistry::OpenBabel::OBMatrixData");
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBGridData_BOHR", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGridData::BOHR)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBGridData_ANGSTROM", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGridData::ANGSTROM)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBGridData_OTHER", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBGridData::OTHER)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBGridData, (void*) "Chemistry::OpenBabel::OBGridData");
  SWIG_TypeClientData(SWIGTYPE_p_std__binary_functionT_char_const_p_char_const_p_bool_t, (void*) "Chemistry::OpenBabel::Dummy");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__CharPtrLess, (void*) "Chemistry::OpenBabel::CharPtrLess");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBPlugin, (void*) "Chemistry::OpenBabel::OBPlugin");
  SWIG_TypeClientData(SWIGTYPE_p_std__stringbuf, (void*) "Chemistry::OpenBabel::stringbuf");
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "obError", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::obError)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "obWarning", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::obWarning)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "obInfo", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::obInfo)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "obAuditMsg", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::obAuditMsg)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "obDebug", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::obDebug)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "always", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::always)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "onceOnly", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::onceOnly)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBError, (void*) "Chemistry::OpenBabel::OBError");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBMessageHandler, (void*) "Chemistry::OpenBabel::OBMessageHandler");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__obLogBuf, (void*) "Chemistry::OpenBabel::obLogBuf");
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "NOTREADABLE", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(0x01)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "READONEONLY", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(0x02)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "READBINARY", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(0x04)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "ZEROATOMSOK", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(0x08)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "NOTWRITABLE", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(0x10)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "WRITEONEONLY", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(0x20)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "WRITEBINARY", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(0x40)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "READXML", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(0x80)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "DEFAULTFORMAT", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(0x4000)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBFormat, (void*) "Chemistry::OpenBabel::OBFormat");
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBConversion_INOPTIONS", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBConversion::INOPTIONS)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBConversion_OUTOPTIONS", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBConversion::OUTOPTIONS)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBConversion_GENOPTIONS", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBConversion::GENOPTIONS)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBConversion_ALL", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBConversion::ALL)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBConversion, (void*) "Chemistry::OpenBabel::OBConversion");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBResidue, (void*) "Chemistry::OpenBabel::OBResidue");
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "MAXSETNO", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(40)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "MAXELEM", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(1024)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "MINELEM", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(29)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "MAXRES", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(100)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "MINRES", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(54)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "AA_ALA", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 1))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "AA_GLY", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 2))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "AA_LEU", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 3))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "AA_SER", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 4))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "AA_VAL", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 5))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "AA_THR", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 6))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "AA_LYS", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 7))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "AA_ASP", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 8))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "AA_ILE", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 9))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "AA_ASN", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 10))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "AA_GLU", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 11))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "AA_PRO", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 12))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "AA_ARG", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 13))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "AA_PHE", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 14))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "AA_GLN", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 15))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "AA_TYR", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 16))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "AA_HIS", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 17))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "AA_CYS", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 18))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "AA_MET", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 19))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "AA_TRP", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 20))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "ACIDIC", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBAminoAcidProperty::ACIDIC)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "ACYCLIC", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBAminoAcidProperty::ACYCLIC)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "ALIPHATIC", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBAminoAcidProperty::ALIPHATIC)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "AROMATIC", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBAminoAcidProperty::AROMATIC)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "BASIC", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBAminoAcidProperty::BASIC)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "BURIED", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBAminoAcidProperty::BURIED)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "CHARGED", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBAminoAcidProperty::CHARGED)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "CYCLIC", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBAminoAcidProperty::CYCLIC)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "HYDROPHOBIC", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBAminoAcidProperty::HYDROPHOBIC)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "LARGE", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBAminoAcidProperty::LARGE)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "MEDIUM", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBAminoAcidProperty::MEDIUM)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "NEGATIVE", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBAminoAcidProperty::NEGATIVE)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "NEUTRAL", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBAminoAcidProperty::NEUTRAL)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "POLAR", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBAminoAcidProperty::POLAR)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "POSITIVE", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBAminoAcidProperty::POSITIVE)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "SMALL", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBAminoAcidProperty::SMALL)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "SURFACE", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBAminoAcidProperty::SURFACE)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "ALPHA_CARBON", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueAtomProperty::ALPHA_CARBON)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "AMINO_BACKBONE", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueAtomProperty::AMINO_BACKBONE)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "BACKBONE", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueAtomProperty::BACKBONE)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "CYSTEINE_SULPHUR", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueAtomProperty::CYSTEINE_SULPHUR)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "LIGAND", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueAtomProperty::LIGAND)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "NUCLEIC_BACKBONE", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueAtomProperty::NUCLEIC_BACKBONE)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "SHAPELY_BACKBONE", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueAtomProperty::SHAPELY_BACKBONE)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "SHAPELY_SPECIAL", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueAtomProperty::SHAPELY_SPECIAL)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "SIDECHAIN", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueAtomProperty::SIDECHAIN)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "SUGAR_PHOSPHATE", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueAtomProperty::SUGAR_PHOSPHATE)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "ALA", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::ALA)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "GLY", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::GLY)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "LEU", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::LEU)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "SER", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::SER)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "VAL", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::VAL)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "LYS", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::LYS)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "ASP", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::ASP)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "ILE", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::ILE)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "ASN", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::ASN)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "GLU", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::GLU)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "PRO", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::PRO)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "ARG", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::ARG)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "PHE", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::PHE)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "GLN", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::GLN)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "TYR", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::TYR)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "HIS", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::HIS)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "CYS", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::CYS)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "MET", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::MET)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "TRP", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::TRP)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "ASX", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::ASX)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "GLX", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::GLX)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "PCA", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::PCA)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "HYP", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::HYP)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "A", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::A)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "C", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::C)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "G", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::G)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "T", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::T)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "U", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::U)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "UPLUS", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::UPLUS)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "I", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::I)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "_1MA", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::_1MA)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "_5MC", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::_5MC)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OMC", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::OMC)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "_1MG", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::_1MG)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "_2MG", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::_2MG)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "M2G", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::M2G)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "_7MG", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::_7MG)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OMG", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::OMG)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "YG", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::YG)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "H2U", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::H2U)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "_5MU", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::_5MU)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "PSU", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::PSU)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "UNK", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::UNK)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "ACE", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::ACE)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "FOR", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::FOR)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "HOH", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::HOH)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "DOD", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::DOD)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "SO4", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::SO4)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "PO4", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::PO4)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "NAD", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::NAD)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "COA", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::COA)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "NAP", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::NAP)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "NDP", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueIndex::NDP)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "AMINO", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueProperty::AMINO)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "AMINO_NUCLEO", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueProperty::AMINO_NUCLEO)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "COENZYME", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueProperty::COENZYME)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "ION", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueProperty::ION)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "NUCLEO", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueProperty::NUCLEO)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "PROTEIN", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueProperty::PROTEIN)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "PURINE", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueProperty::PURINE)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "PYRIMIDINE", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueProperty::PYRIMIDINE)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "SOLVENT", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueProperty::SOLVENT)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "WATER", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBResidueProperty::WATER)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBInternalCoord, (void*) "Chemistry::OpenBabel::OBInternalCoord");
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_4RING_ATOM", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 1))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_3RING_ATOM", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 2))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_AROMATIC_ATOM", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 3))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_RING_ATOM", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 4))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_CSTEREO_ATOM", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 5))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_ACSTEREO_ATOM", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 6))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_DONOR_ATOM", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 7))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_ACCEPTOR_ATOM", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 8))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_CHIRAL_ATOM", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 9))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_POS_CHIRAL_ATOM", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 10))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_NEG_CHIRAL_ATOM", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 11))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_ATOM_HAS_NO_H", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 12))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_ATOM_NOT_H_DEFICIENT", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 13))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBAtom, (void*) "Chemistry::OpenBabel::OBAtom");
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_AROMATIC_BOND", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 1))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_WEDGE_BOND", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 2))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_HASH_BOND", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 3))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_RING_BOND", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 4))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_TORUP_BOND", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 5))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_TORDOWN_BOND", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 6))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_KSINGLE_BOND", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 7))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_KDOUBLE_BOND", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 8))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_KTRIPLE_BOND", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 9))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_CLOSURE_BOND", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 10))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_WEDGE_OR_HASH_BOND", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 11))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_CIS_OR_TRANS_BOND", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 12))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBBond_Aromatic", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBBond::Aromatic)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBBond_Ring", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBBond::Ring)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBBond_Closure", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBBond::Closure)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBBond_Wedge", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBBond::Wedge)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBBond_Hash", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBBond::Hash)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBBond_WedgeOrHash", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBBond::WedgeOrHash)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBBond_CisOrTrans", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBBond::CisOrTrans)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBBond, (void*) "Chemistry::OpenBabel::OBBond");
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_SSSR_MOL", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 1))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_RINGFLAGS_MOL", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 2))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_AROMATIC_MOL", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 3))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_ATOMTYPES_MOL", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 4))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_CHIRALITY_MOL", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 5))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_PCHARGE_MOL", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 6))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_HYBRID_MOL", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 8))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_IMPVAL_MOL", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 9))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_KEKULE_MOL", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 10))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_CLOSURE_MOL", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 11))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_H_ADDED_MOL", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 12))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_PH_CORRECTED_MOL", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 13))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_AROM_CORRECTED_MOL", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 14))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_CHAINS_MOL", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 15))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_TCHARGE_MOL", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 16))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_TSPIN_MOL", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 17))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_RINGTYPES_MOL", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 18))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_PATTERN_STRUCTURE", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 19))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_LSSR_MOL", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 20))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OB_CURRENT_CONFORMER", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(-1)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBMol, (void*) "Chemistry::OpenBabel::OBMol");
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "BUFF_SIZE", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(32768)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBRing, (void*) "Chemistry::OpenBabel::OBRing");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBRingSearch, (void*) "Chemistry::OpenBabel::OBRingSearch");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBRTree, (void*) "Chemistry::OpenBabel::OBRTree");
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBSmartsPattern_All", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBSmartsPattern::All)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBSmartsPattern_Single", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBSmartsPattern::Single)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBSmartsPattern_AllUnique", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBSmartsPattern::AllUnique)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBSmartsPattern, (void*) "Chemistry::OpenBabel::OBSmartsPattern");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBSmartsMatcher, (void*) "Chemistry::OpenBabel::OBSmartsMatcher");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBSSMatch, (void*) "Chemistry::OpenBabel::OBSSMatch");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__AliasData, (void*) "Chemistry::OpenBabel::AliasData");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBAtomClassData, (void*) "Chemistry::OpenBabel::OBAtomClassData");
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBFingerprint_FPT_UNIQUEBITS", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBFingerprint::FPT_UNIQUEBITS)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBFingerprint_FPT_NOINFO", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::OBFingerprint::FPT_NOINFO)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBFingerprint, (void*) "Chemistry::OpenBabel::OBFingerprint");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__FptIndexHeader, (void*) "Chemistry::OpenBabel::FptIndexHeader");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__FptIndex, (void*) "Chemistry::OpenBabel::FptIndex");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__FastSearch, (void*) "Chemistry::OpenBabel::FastSearch");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__FastSearchIndexer, (void*) "Chemistry::OpenBabel::FastSearchIndexer");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBDescriptor, (void*) "Chemistry::OpenBabel::OBDescriptor");
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBFF_LOGLVL_NONE", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(0)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBFF_LOGLVL_LOW", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(1)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBFF_LOGLVL_MEDIUM", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(2)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBFF_LOGLVL_HIGH", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(3)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBFF_ENERGY", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 0))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBFF_EBOND", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 1))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBFF_EANGLE", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 2))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBFF_ESTRBND", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 3))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBFF_ETORSION", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 4))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBFF_EOOP", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 5))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBFF_EVDW", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 6))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBFF_EELECTROSTATIC", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 7))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBFF_CONST_IGNORE", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 0))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBFF_CONST_ATOM", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 1))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBFF_CONST_ATOM_X", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 2))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBFF_CONST_ATOM_Y", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 3))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBFF_CONST_ATOM_Z", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 4))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBFF_CONST_DISTANCE", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 5))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBFF_CONST_ANGLE", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 6))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBFF_CONST_TORSION", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 7))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBFF_CONST_CHIRAL", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 8))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBFF_NUMERICAL_GRADIENT", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 0))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "OBFF_ANALYTICAL_GRADIENT", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >((1 << 1))));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "KCAL_TO_KJ", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_double  SWIG_PERL_CALL_ARGS_1(static_cast< double >(4.1868)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "LineSearchType_Simple", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::LineSearchType::Simple)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "LineSearchType_Newton2Num", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(OpenBabel::LineSearchType::Newton2Num)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__LineSearchType, (void*) "Chemistry::OpenBabel::LineSearchType");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBFFParameter, (void*) "Chemistry::OpenBabel::OBFFParameter");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBFFCalculation2, (void*) "Chemistry::OpenBabel::OBFFCalculation2");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBFFCalculation3, (void*) "Chemistry::OpenBabel::OBFFCalculation3");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBFFCalculation4, (void*) "Chemistry::OpenBabel::OBFFCalculation4");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBFFConstraint, (void*) "Chemistry::OpenBabel::OBFFConstraint");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBFFConstraints, (void*) "Chemistry::OpenBabel::OBFFConstraints");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBForceField, (void*) "Chemistry::OpenBabel::OBForceField");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBBuilder, (void*) "Chemistry::OpenBabel::OBBuilder");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBOp, (void*) "Chemistry::OpenBabel::OBOp");
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "SETWORD", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(32)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "WORDROLL", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(5)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "WORDMASK", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(31)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  /*@SWIG:/usr/local/share/swig/2.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
    SV *sv = get_sv((char*) SWIG_prefix "STARTWORDS", TRUE | 0x2 | GV_ADDMULTI);
    sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1(static_cast< int >(10)));
    SvREADONLY_on(sv);
  } while(0) /*@SWIG@*/;
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBBitVec, (void*) "Chemistry::OpenBabel::OBBitVec");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBRotorRule, (void*) "Chemistry::OpenBabel::OBRotorRule");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBRotorRules, (void*) "Chemistry::OpenBabel::OBRotorRules");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBRotor, (void*) "Chemistry::OpenBabel::OBRotor");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBRotorList, (void*) "Chemistry::OpenBabel::OBRotorList");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__rotor_digit, (void*) "Chemistry::OpenBabel::rotor_digit");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBRotorKeys, (void*) "Chemistry::OpenBabel::OBRotorKeys");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBRotamerList, (void*) "Chemistry::OpenBabel::OBRotamerList");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBMolAtomIter, (void*) "Chemistry::OpenBabel::_OBMolAtomIter");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBMolAtomDFSIter, (void*) "Chemistry::OpenBabel::_OBMolAtomDFSIter");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBMolAtomBFSIter, (void*) "Chemistry::OpenBabel::_OBMolAtomBFSIter");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBMolBondBFSIter, (void*) "Chemistry::OpenBabel::OBMolBondBFSIter");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBMolBondIter, (void*) "Chemistry::OpenBabel::_OBMolBondIter");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBAtomAtomIter, (void*) "Chemistry::OpenBabel::_OBAtomAtomIter");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBAtomBondIter, (void*) "Chemistry::OpenBabel::_OBAtomBondIter");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBResidueIter, (void*) "Chemistry::OpenBabel::OBResidueIter");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBResidueAtomIter, (void*) "Chemistry::OpenBabel::_OBResidueAtomIter");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBMolAngleIter, (void*) "Chemistry::OpenBabel::_OBMolAngleIter");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBMolTorsionIter, (void*) "Chemistry::OpenBabel::_OBMolTorsionIter");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBMolPairIter, (void*) "Chemistry::OpenBabel::_OBMolPairIter");
  SWIG_TypeClientData(SWIGTYPE_p_OpenBabel__OBMolRingIter, (void*) "Chemistry::OpenBabel::_OBMolRingIter");
  ST(0) = &PL_sv_yes;
  XSRETURN(1);
}

