qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Stitcher (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PROTON-1868) [Python] pn_handle_t binding does not reliably work with Win64
Date Tue, 26 Jun 2018 05:21:00 GMT

     [ https://issues.apache.org/jira/browse/PROTON-1868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Stitcher updated PROTON-1868:
------------------------------------
    Component/s: ruby-binding
                 python-binding

> [Python] pn_handle_t binding does not reliably work with Win64
> --------------------------------------------------------------
>
>                 Key: PROTON-1868
>                 URL: https://issues.apache.org/jira/browse/PROTON-1868
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: python-binding, ruby-binding
>            Reporter: Andrew Stitcher
>            Assignee: Andrew Stitcher
>            Priority: Major
>             Fix For: proton-c-0.24.0
>
>
> pn_handle_t is treated by swig as identical to uintptr_t which is defined as unsigned
long. However under Win64 this is a 32 bit int which is not long enough to fit all 64 bit
addresses.
> The swig code should be changed to either define uintptr_t as unsigned long long for
64 bit builds which is always 64 bits (on all platforms).
> Or we should use a custom typemap for pn_handle_t which uses PyLong_AsVoidPtr & PyLong_FromVoidPtr.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message