qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Darryl L. Pierce (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-3983) Provides aliases in the Swig Ruby bindings for the C++ class names.
Date Mon, 18 Feb 2013 20:21:12 GMT

    [ https://issues.apache.org/jira/browse/QPID-3983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580811#comment-13580811
] 

Darryl L. Pierce commented on QPID-3983:
----------------------------------------

One issue with this is that it will break any code that was written specifically against the
raw Swig bindings; i.e., anything in the cqpid:: namespace.
                
> Provides aliases in the Swig Ruby bindings for the C++ class names.
> -------------------------------------------------------------------
>
>                 Key: QPID-3983
>                 URL: https://issues.apache.org/jira/browse/QPID-3983
>             Project: Qpid
>          Issue Type: Improvement
>            Reporter: Darryl L. Pierce
>            Assignee: Darryl L. Pierce
>         Attachments: 0001-Provide-a-prefix-in-Swig-to-differentiate-C-from-Rub.patch
>
>
> In the Ruby VM there are various name collisions in the native Ruby extensions that are
occurring as a result of the names of the C++ classes; i.e., the VM creates an instance of
Cqpid::Connection when it should be creating an instance of Qpid::Messaging::Connection.
> This feature adds the prefix "Cpp" to each of the classes that are bound in Ruby via
Swig to avoid such name collisions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


Mime
View raw message