mirror of https://github.com/go-python/gopy.git
bind: use GOINTBITS to switch b/w 32b and 64b integers
Change-Id: I5fa64fbe78809206e05ffed772a20d92da7b1a88
This commit is contained in:
parent
086ef0f72f
commit
770e51609b
|
@ -43,7 +43,7 @@ const (
|
|||
return c2py(*addr); \
|
||||
}
|
||||
|
||||
#ifdef __X86_64__
|
||||
#if (GOINTBITS == 4)
|
||||
def_cnv( int, PyLong_FromLong, PyLong_AsLong, GoInt)
|
||||
def_cnv(uint, PyLong_FromUnsignedLong, PyLong_AsUnsignedLong, GoUint)
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue