Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 319376 Details for
Bug 426428
dev-lang/swig generates broken code for py-3 (‘PyInt_FromSize_t’ was not declared in this scope)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch adding PyInt_FromSize
swig-2.0.4-pyint_fromsize_declaration.patch (text/plain), 432 bytes, created by
Sven Vermeulen (RETIRED)
on 2012-07-27 10:04:40 UTC
(
hide
)
Description:
Patch adding PyInt_FromSize
Filename:
MIME Type:
Creator:
Sven Vermeulen (RETIRED)
Created:
2012-07-27 10:04:40 UTC
Size:
432 bytes
patch
obsolete
>--- swig.orig/Lib/python/pyhead.swg >+++ swig/Lib/python/pyhead.swg >@@ -5,6 +5,7 @@ > #define PyInt_Check(x) PyLong_Check(x) > #define PyInt_AsLong(x) PyLong_AsLong(x) > #define PyInt_FromLong(x) PyLong_FromLong(x) >+#define PyInt_FromSize_t(x) PyLong_FromSize_t(x) > #define PyString_Check(name) PyBytes_Check(name) > #define PyString_FromString(x) PyUnicode_FromString(x) > #define PyString_Format(fmt, args) PyUnicode_Format(fmt, args)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 426428
: 319376