You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/05/10 23:59:32 UTC
[jira] [Commented] (THRIFT-2505) go: struct should always be a
pointer to avoid copying of potentially size-unbounded structs
[ https://issues.apache.org/jira/browse/THRIFT-2505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13993997#comment-13993997 ]
ASF GitHub Bot commented on THRIFT-2505:
----------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/thrift/pull/116
> go: struct should always be a pointer to avoid copying of potentially size-unbounded structs
> --------------------------------------------------------------------------------------------
>
> Key: THRIFT-2505
> URL: https://issues.apache.org/jira/browse/THRIFT-2505
> Project: Thrift
> Issue Type: Bug
> Components: Go - Compiler
> Reporter: Aleksey Pesternikov
> Assignee: Jens Geyer
> Fix For: 0.9.2
>
>
> THRIFT-2451 changed the way structs are mapped. Unfortunately that introduced passing structs by value as function arguments and returned values in many places. I'm changing it back to pointers.
--
This message was sent by Atlassian JIRA
(v6.2#6252)