-
Notifications
You must be signed in to change notification settings - Fork 59
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 Rust(std::option::Option) <-> Java(X) mapping #11
Comments
Has this feature been implemented? Can we close this issue? |
Is is partly implemented, now only |
@Dushistov When will this implemented? In 0.2.1? |
Ok, I will include implementation into the next release. |
@Dushistov Have you had a chance to start on this at all? I also need this support and was trying to figure out if I should try and write it in a mappings file or not. (Disclaimer: I don't actually know what I'm doing) |
As new mantainer, now I am busy with new release of https://github.com/Dushistov/bluetooth-serial-port . For this feature I imagine to implement something like this: static_method f(x: Option<Foo>) -> Option<Boo>; to Optional<T> f(@Nullable Foo x); |
I haven't, yet. If you're able to do it I could do a code review of it.
That might be very instructive to me.
…On Sat, Mar 2, 2019, 4:44 PM Evgeniy Dushistov ***@***.***> wrote:
@coltfred <https://github.com/coltfred>
Have you had a chance to start on this at all?
As new mantainer, now I am busy with new release of
https://github.com/Dushistov/bluetooth-serial-port .
When it will be done, and nobody implement this feature,
For this feature I imagine to implement something like this:
static_method f(x: Option<Foo>) -> Option<Boo>;
to
Optional<T> ***@***.*** Foo x);
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAj2N21zJmGjtLhPdYqgsMOLjs2G2tarks5vSwzogaJpZM4Orubn>
.
|
Missed things:
|
@Dushistov It seems we also don't have |
I am today did some java job, and missed |
I need them as return types. I won't have time to work on this for a few
days so any help you could give would be awesome.
…On Fri, Mar 15, 2019, 5:12 PM Evgeniy Dushistov ***@***.***> wrote:
@coltfred <https://github.com/coltfred>
It seems we also don't have Option or Option<&str> as a return type. Did
you miss that in your > above comment or am I missing something?
I am today did some java job, and missed Option<&str> as input argument,
that's why I included it into list. If you need also Option<String>,
Option<&str> we
can also include them into list.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAj2N0w42nVPR1CjHmc9-Rg0JDCTZBlyks5vXCjFgaJpZM4Orubn>
.
|
Missed things:
|
Option for Android is hard, so should be setting to generate our own option.
The text was updated successfully, but these errors were encountered: