/* Automatically generated file.  Do not edit directly. */

/* This file is part of The New Aspell
 * Copyright (C) 2001-2002 by Kevin Atkinson under the GNU LGPL
 * license version 2.0 or 2.1.  You should have received a copy of the
 * LGPL license along with this library if you did not you can find it
 * at http://www.gnu.org/.                                              */

#ifdef WIN32PORT
#include "aspellroot.h"
#endif
#include "string_pair.hpp"
#include "string_pair_enumeration.hpp"

namespace acommon {

class StringPairEnumeration;

extern "C" ASPELL_API int aspell_string_pair_enumeration_at_end(const StringPairEnumeration * ths)
{
  return ths->at_end();
}

#ifdef WIN32PORT
extern "C" ASPELL_API StringPair* aspell_string_pair_enumeration_next(StringPairEnumeration * ths)
{
  return &ths->next();
}
#else
extern "C" StringPair aspell_string_pair_enumeration_next(StringPairEnumeration * ths)
{
  return ths->next();
}
#endif

extern "C" ASPELL_API void delete_aspell_string_pair_enumeration(StringPairEnumeration * ths)
{
  delete ths;
}

extern "C" ASPELL_API StringPairEnumeration * aspell_string_pair_enumeration_clone(const StringPairEnumeration * ths)
{
  return ths->clone();
}

extern "C" ASPELL_API void aspell_string_pair_enumeration_assign(StringPairEnumeration * ths, const StringPairEnumeration * other)
{
  ths->assign(other);
}



}

