Ticket #12173: fmpz_cleanup.patch

File fmpz_cleanup.patch, 796 bytes (added by jpflori, 10 years ago)

Replace _fmpz_cleanup by fmpz_cleanup_mpz_content

  • sage/libs/flint/flint.pxd

    # HG changeset patch
    # User Jean-Pierre Flori <jean-pierre.flor@ssi.gouv.fr>
    # Date 1338977133 -7200
    # Node ID 8c69bd678d1e911dba9c190ab2c86cad87a72bf3
    # Parent  d45887691fb30797f5d43e97bf1be26d6d0c993b
    #12173: use _fmpz_cleanup_mpz_content instead of _fmpz_cleanup
    
    diff --git a/sage/libs/flint/flint.pxd b/sage/libs/flint/flint.pxd
    a b  
    55
    66    cdef unsigned long FLINT_BIT_COUNT(unsigned long)
    77    void _fmpz_cleanup()
     8    void _fmpz_cleanup_mpz_content()
  • sage/libs/flint/flint.pyx

    diff --git a/sage/libs/flint/flint.pyx b/sage/libs/flint/flint.pyx
    a b  
    1414include "../../ext/cdefs.pxi"
    1515
    1616def free_flint_stack():
    17     _fmpz_cleanup()
     17    _fmpz_cleanup_mpz_content()