dust3d/thirdparty/cgal/CGAL-5.1/include/CGAL/CORE/Gmp.h

38 lines
1.2 KiB
C
Raw Normal View History

/****************************************************************************
* Core Library Version 1.7, August 2004
* Copyright (c) 1995-2004 Exact Computation Project
* All rights reserved.
*
* This file is part of CGAL (www.cgal.org).
*
2020-10-13 12:44:25 +00:00
* $URL: https://github.com/CGAL/cgal/blob/v5.1/CGAL_Core/include/CGAL/CORE/Gmp.h $
* $Id: Gmp.h 0779373 2020-03-26T13:31:46+01:00 Sébastien Loriot
* SPDX-License-Identifier: LGPL-3.0-or-later
***************************************************************************/
// CORE LIBRARY FILE
#ifndef _CORE_GMP_H_
#define _CORE_GMP_H_
#include <CGAL/CORE/Impl.h>
#include <gmp.h>
2020-10-13 12:44:25 +00:00
namespace CORE {
CGAL_CORE_EXPORT std::ostream& io_write (std::ostream &, mpz_srcptr);
CGAL_CORE_EXPORT std::ostream& io_write (std::ostream &, mpq_srcptr);
CGAL_CORE_EXPORT std::istream& io_read (std::istream &, mpz_ptr);
CGAL_CORE_EXPORT std::istream& io_read (std::istream &, mpq_ptr);
//std::ostream& operator<< (std::ostream &, mpz_srcptr);
//std::ostream& operator<< (std::ostream &, mpq_srcptr);
//std::istream& operator>> (std::istream &, mpz_ptr);
//std::istream& operator>> (std::istream &, mpq_ptr);
} //namespace CORE
#ifdef CGAL_HEADER_ONLY
#include <CGAL/CORE/Gmp_impl.h>
#endif // CGAL_HEADER_ONLY
#endif // _CORE_GMP_H_