Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Returning a string is messed up in the generated interface #1180

Closed
eggrobin opened this issue Dec 25, 2016 · 0 comments
Closed

Returning a string is messed up in the generated interface #1180

eggrobin opened this issue Dec 25, 2016 · 0 comments
Assignees

Comments

@eggrobin
Copy link
Member

If the Return has a required string result, the generator writes a C# method whose return value is marshalled as an in parameter. The expected behaviour occurs if we declare it in the proto as a pointer to char const which is_produced. Moreover, SayHello returns a string literal to a marshaller which will destroy it, this probably won't end well.

@eggrobin eggrobin changed the title Returning a string is messed up in generated interface Returning a string is messed up in the generated interface Dec 25, 2016
@pleroy pleroy closed this as completed Mar 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants