AndroidBitmap_lockPixels() and SWIG

26 views Asked by At

In my project Java and C++ interactions are made with SWIG. The problem is that I need to use function AndroidBitmap_lockPixels(JNIEnv *env, jobject jbitmap, void **addrPtr), whic requires JNIEnv *env. Is it possible to write a function of C++ structure/class that will accept Bitmap (from Java, Android) as parameter and call AndroidBitmap_lockPixels() with it, in SWIG?

0

There are 0 answers