Anyone knows how to make a callback from C++ to B4R?
Suppose you have a library like this:
OBS: in this library is not possible use inline, i'm creating a new library
@Erel?
Suppose you have a library like this:
B4X:
Library obLibr;
void B4RMyLib::Initialize()
{
obLibr.onState([](unsigned char param1, const char * param2)
{
//<==== HOW TO CALL B4R from here????
});
}
OBS: in this library is not possible use inline, i'm creating a new library
@Erel?