/*****************************************************************************1# Copyright (C) 2007 William Stein <[email protected]>2#3# Distributed under the terms of the GNU General Public License (GPL) as4# published by the Free Software Foundation; either version 2 of the5# License, or (at your option) any later version.6#7# This code is distributed in the hope that it will be useful,8# but WITHOUT ANY WARRANTY; without even the implied warranty of9# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU10# General Public License for more details.11#12# The full text of the GPL is available at:13#14# http://www.gnu.org/licenses/15#*****************************************************************************/1617/* Author: Joel B. Mohler <[email protected]>182007-06-17 */1920#ifndef ZZ_PYLONG_H21#define ZZ_PYLONG_H2223/* Yes, this is kind of weird. I'm only wrapping this for C++ */24#ifdef __cplusplus2526#include <Python.h>27#include <NTL/ZZ.h>28using namespace NTL;29#include "gmp.h"3031/* ZZ -> pylong conversion */32PyObject * ZZ_get_pylong(ZZ &z);3334/* pylong -> ZZ conversion */35int ZZ_set_pylong(ZZ &z, PyObject * ll);36#endif3738#endif394041