3dphotoshoot
diff src/android/camera.c @ 8:9fc7d52f578d
FINALLY I'm getting an image out of the camera
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 25 May 2015 04:14:38 +0300 |
parents | 7f6e6eb3d20e |
children | d1b456d08713 |
line diff
1.1 --- a/src/android/camera.c Sat May 23 23:14:44 2015 +0300 1.2 +++ b/src/android/camera.c Mon May 25 04:14:38 2015 +0300 1.3 @@ -102,7 +102,7 @@ 1.4 return 0; 1.5 } 1.6 1.7 -void cam_update(void) 1.8 +int cam_update(void) 1.9 { 1.10 jmethodID method; 1.11 1.12 @@ -119,7 +119,7 @@ 1.13 return -1; 1.14 } 1.15 (*jni)->CallStaticVoidMethod(jni, activity_class, method); 1.16 - return; 1.17 + return 0; 1.18 } 1.19 1.20 int cam_is_capturing(void)