gphoto4ruby 0.2.8 → 0.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.2.9
2
+
3
+ * Fixed bug when could not build gem on MacOs
4
+
1
5
  == 0.2.8
2
6
 
3
7
  * Added reset filesystem in some calls to make it more stable
data/ext/gphoto2camera.c CHANGED
@@ -22,6 +22,11 @@
22
22
 
23
23
  #include "gphoto2camera.h"
24
24
 
25
+ VALUE rb_mGPhoto2;
26
+ VALUE rb_cGPhoto2Camera;
27
+
28
+ VALUE rb_cGPhoto2ConfigurationError;
29
+
25
30
  void camera_mark(GPhoto2Camera *c) {
26
31
  }
27
32
 
data/ext/gphoto2camera.h CHANGED
@@ -32,10 +32,10 @@
32
32
  #ifndef _INC_CAMERA
33
33
  #define _INC_CAMERA
34
34
 
35
- VALUE rb_mGPhoto2;
36
- VALUE rb_cGPhoto2Camera;
35
+ extern VALUE rb_mGPhoto2;
36
+ extern VALUE rb_cGPhoto2Camera;
37
37
 
38
- VALUE rb_cGPhoto2ConfigurationError;
38
+ extern VALUE rb_cGPhoto2ConfigurationError;
39
39
 
40
40
  void camera_mark(GPhoto2Camera *c);
41
41
  void camera_free(GPhoto2Camera *c);
@@ -22,6 +22,8 @@
22
22
 
23
23
  #include "gphoto2camera_event.h"
24
24
 
25
+ VALUE rb_cGPhoto2CameraEvent;
26
+
25
27
  void camera_event_mark(GPhoto2CameraEvent *ce) {
26
28
  }
27
29
 
@@ -31,7 +31,7 @@ typedef struct {
31
31
  CameraFilePath *path;
32
32
  } GPhoto2CameraEvent;
33
33
 
34
- VALUE rb_cGPhoto2CameraEvent;
34
+ extern VALUE rb_cGPhoto2CameraEvent;
35
35
 
36
36
  #define EVENT_UNKNOWN rb_str_new2("unknown")
37
37
  #define EVENT_TIMEOUT rb_str_new2("timeout")
@@ -22,6 +22,8 @@
22
22
 
23
23
  #include "gphoto2camera_utilities.h"
24
24
 
25
+ VALUE rb_cGPhoto2Exception;
26
+
25
27
  void rb_raise_gp_result(int retval) {
26
28
  rb_raise(rb_cGPhoto2Exception, "LibGPhoto2 function returned: %s", gp_result_as_string(retval));
27
29
  }
@@ -41,7 +41,7 @@ typedef struct {
41
41
  char *virtFolder;
42
42
  } GPhoto2Camera;
43
43
 
44
- VALUE rb_cGPhoto2Exception;
44
+ extern VALUE rb_cGPhoto2Exception;
45
45
 
46
46
  void rb_raise_gp_result(int retval);
47
47
  int gp_result_check(int retval);
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gphoto4ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - heq4 company
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2008-10-16 00:00:00 +04:00
13
+ date: 2008-10-21 00:00:00 +04:00
14
14
  default_executable:
15
15
  dependencies: []
16
16