Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
#22626: better work around for the GAP-Python name clash on T_INT, ...
Browse files Browse the repository at this point in the history
  • Loading branch information
nthiery committed Mar 17, 2017
1 parent b301e4c commit 431845f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/sage/libs/gap/gap_includes.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
# http://www.gnu.org/licenses/
###############################################################################

cdef extern from "<structmember.h>":
pass

cdef extern from "<gap/system.h>":
ctypedef char Char
Expand Down Expand Up @@ -62,16 +64,16 @@ cdef extern from "<gap/objects.h>":
char* TNAM_OBJ(Obj obj)
cdef int FIRST_REAL_TNUM
cdef int FIRST_CONSTANT_TNUM
cdef int T_INT "(FIRST_CONSTANT_TNUM+ 0)"
cdef int T_INT
cdef int T_INTPOS
cdef int T_INTNEG
cdef int T_RAT
cdef int T_CYC
cdef int T_FFE
cdef int T_PERM2
cdef int T_PERM4
cdef int T_BOOL "(FIRST_CONSTANT_TNUM+ 8)"
cdef int T_CHAR "(FIRST_CONSTANT_TNUM+ 9)"
cdef int T_BOOL
cdef int T_CHAR
cdef int T_FUNCTION
cdef int T_FLAGS
cdef int T_MACFLOAT
Expand Down Expand Up @@ -110,7 +112,7 @@ cdef extern from "<gap/objects.h>":
cdef int T_BLIST
cdef int T_BLIST_NSORT
cdef int T_BLIST_SSORT
cdef int T_STRING "(FIRST_LIST_TNUM+50)"
cdef int T_STRING
cdef int T_STRING_NSORT
cdef int T_STRING_SSORT
cdef int LAST_LIST_TNUM
Expand Down

0 comments on commit 431845f

Please sign in to comment.