google / jni-bind

JNI Bind is a set of advanced syntactic sugar for writing efficient correct JNI Code in C++17 (and up).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Void parameter sets should not require declaration

jwhpryor opened this issue · comments

Empty returns, constructors, and methods should not require specification.

Can I work on it

Sure! I would start by looking at class.h and method.h. Also, I don't know what your setup is like, and I wouldn't be surprised if you need to resolve some blockages (i.e. #42).

This is obviously gating for 1.0 release, but I may not be able to do much in the immediate term. If you can unblock that, it would be a help.

I thought it would be easy but now I am not getting what to do

Basically, ::jni::Method take ::jni::Params which is tedious if there are no params.

i.e. I must write this:

Method {"Foo", Return{}, Params{}}

when I want to write this:

Method {"Foo", Return{}}

The task is to write a constructor for Method (and probably a CTAD guide) so this is possible.