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

ASF subversion and git services commented on PROTON-324:
--------------------------------------------------------

Commit 1491441 from [~mcpierce]
[ https://svn.apache.org/r1491441 ]

PROTON-324: Refactor Perl support for working with arrays and Data objects

Renamed the TypeHelper class to Mapping to be more like the Ruby
language. Deleted the previous qpid::proton::Array class since it
tightly coupled the developer's code to Proton where it should not do
so.

Provides three new methods:

  qpid::proton::put_array_into - put an array into a Data object

  qpid::proton::get_array_from - gets an array out of a Data object

  qpid::proton::get_list_from  - gets a list out of a Data object
                
> Perl arrays can be easily extracted from a Data object.
> -------------------------------------------------------
>
>                 Key: PROTON-324
>                 URL: https://issues.apache.org/jira/browse/PROTON-324
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: proton-c
>            Reporter: Darryl L. Pierce
>            Assignee: Darryl L. Pierce
>
> The current code attempts to mimic how the Ruby code previously behaved. But 
> that model had problems, and Perl doesn't have the same language capabilities 
> as Ruby. The implementation for extracting an Array should be refactored 
> accordingly.

--
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

Reply via email to