For example say I want to generalise this scenario:
auto myConverterFunction1(bool arg1, bool arg2, ubyte arg3, int arg4)
{return targetFunction(cast(ubyte)arg1, cast(ubyte)arg2, arg3, arg4);
} So I'll have something like: auto myConverterFunction2(Args...)(Args args) { // Don't know how to do this part... }Basically I need to substitute bool for ubyte to interface with the Java JNI.
Thanks, Saurabh