You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
19 lines
501 B
C
19 lines
501 B
C
|
|
typedef void JNIEnv;
|
|
typedef void AndroidBitmapInfo;
|
|
typedef void* jobject;
|
|
|
|
#define ANDROID_BITMAP_RESULT_SUCCESS 0
|
|
|
|
|
|
int AndroidBitmap_getInfo(JNIEnv* env, jobject jbitmap,
|
|
AndroidBitmapInfo* info) {
|
|
return ANDROID_BITMAP_RESULT_SUCCESS;
|
|
}
|
|
int AndroidBitmap_lockPixels(JNIEnv* env, jobject jbitmap, void** addrPtr) {
|
|
return ANDROID_BITMAP_RESULT_SUCCESS;
|
|
}
|
|
int AndroidBitmap_unlockPixels(JNIEnv* env, jobject jbitmap) {
|
|
return ANDROID_BITMAP_RESULT_SUCCESS;
|
|
}
|