platform/shared/ruby/ext/camera/camera.i in rhodes-3.4.2 vs platform/shared/ruby/ext/camera/camera.i in rhodes-3.5.1.12
- old
+ new
@@ -5,10 +5,11 @@
extern void take_picture(char* callback_url, rho_param *options_hash);
extern void choose_picture(char* callback_url, rho_param *options_hash);
extern VALUE get_camera_info(const char* camera_type);
+extern void save_image_to_device_gallery(const char* image_path, rho_param* options_hash);
%}
%typemap(default) (rho_param *options_hash) {
$1 = NULL;
@@ -25,5 +26,6 @@
extern void take_picture(char* callback_url, rho_param *options_hash );
extern void choose_picture(char* callback_url, rho_param *options_hash);
extern VALUE get_camera_info(const char* camera_type);
+extern void save_image_to_device_gallery(const char* image_path, rho_param* options_hash);