I have a problem with registering methods using JNI, if i want to use "method_name", compiler throws me error about that.
typedef struct {
char *name;
char *signature;
void *fnPtr;
} JNINativeMethod;
How to type method name without crazy conversions like std::string -> const char* -> char*? Is it possible?
Main problem is that JNIMethod struct require char* not const char* that's why I'm asking