# HG changeset patch
# User Volker Braun <vbraun@stp.dias.ie>
# Date 1308069422 25200
# Node ID 98b80ddf6c9f18409d222bcb01622aa32ef8d18f
# Parent 4285c96efbec1b5606fa13f3b10e0d0ec5c8cc38
Trac #9880: Remove erroneous extern declaration
According to Burcin, this was a workaround required in
some old Cython version.
diff --git a/sage/symbolic/pynac.pyx b/sage/symbolic/pynac.pyx
a
|
b
|
|
581 | 581 | |
582 | 582 | from sage.structure.element cimport Element |
583 | 583 | |
584 | | # We declare the functions defined below as extern here, to prevent Cython |
585 | | # from generating separate declarations for them which confuse g++ |
586 | | cdef extern from *: |
587 | | int py_get_parent_char(object o) except -1 |
588 | | |
589 | 584 | cdef public int py_get_parent_char(object o) except -1: |
590 | 585 | if isinstance(o, Element): |
591 | 586 | return (<Element>o)._parent.characteristic() |