You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Aleksey Pesternikov (JIRA)" <ji...@apache.org> on 2014/05/02 18:00:20 UTC
[jira] [Updated] (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:all-tabpanel ]
Aleksey Pesternikov updated THRIFT-2505:
----------------------------------------
Summary: go: struct should always be a pointer to avoid copying of potentially size-unbounded structs (was: struct should always be a pointer to avoid copying of potentially size-unbounded structs)
> 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
>
> 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)