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

Add argument_implementation_type attribute to mapped types, and to function and method arguments #81

Open
PetrPPetrov opened this issue Sep 25, 2018 · 0 comments

Comments

@PetrPPetrov
Copy link
Owner

Added argument_implementation_type attribute to mapped types, and to function and method arguments

It is valuable for callbacks, when a method has std_string argument which has implementation_type="std::string".

Bcapi generates the following template for callback implementator:
...
virtual void f1(std::string arg1)...
...

however, the base user class accepts only const std::string&:
...
virtual void f1(const std::string& arg1) = 0;
...

which causes problems.

@PetrPPetrov PetrPPetrov changed the title Added argument_implementation_type attribute to mapped types, and to function and method arguments Add argument_implementation_type attribute to mapped types, and to function and method arguments Nov 1, 2018
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

1 participant