virtualbox-com 0.10.5 → 0.10.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -933,6 +933,44 @@ void RUBY_VBOX_INIT(void) {
933
933
  rb_define_method(cNSISupports, "cast", NSISupports__cast, 1);
934
934
  rb_define_method(cNSISupports, "dup", NSISupports__dup, 0);
935
935
  rb_define_method(cNSISupports, "clone", NSISupports__clone, 0);
936
+
937
+ /* Prevent garbage collection of static value */
938
+ rb_gc_register_address(&mVirtualBox);
939
+ rb_gc_register_address(&mCOM);
940
+ rb_gc_register_address(&mModel);
941
+
942
+ rb_gc_register_address(&cBlob);
943
+ rb_gc_register_address(&cWString);
944
+ rb_gc_register_address(&cCArray);
945
+ rb_gc_register_address(&cIID);
946
+ rb_gc_register_address(&cAbstractModel);
947
+ rb_gc_register_address(&cAbstractInterface);
948
+ rb_gc_register_address(&cAbstractEnum);
949
+
950
+ rb_gc_register_address(&oZero);
951
+ rb_gc_register_address(&oMax_u16);
952
+ rb_gc_register_address(&oMax_u32);
953
+ rb_gc_register_address(&oMax_u64);
954
+ rb_gc_register_address(&oMax_s16);
955
+ rb_gc_register_address(&oMax_s32);
956
+ rb_gc_register_address(&oMax_s64);
957
+ rb_gc_register_address(&oMin_s16);
958
+ rb_gc_register_address(&oMin_s32);
959
+ rb_gc_register_address(&oMin_s64);
960
+ rb_gc_register_address(&oExceptionMap);
961
+ rb_gc_register_address(&oUUIDparser);
962
+
963
+ rb_gc_register_address(&sYes);
964
+ rb_gc_register_address(&sNo);
965
+ rb_gc_register_address(&sTrue);
966
+ rb_gc_register_address(&sFalse);
967
+ rb_gc_register_address(&sOn);
968
+ rb_gc_register_address(&sOff);
969
+ rb_gc_register_address(&sEnabled);
970
+ rb_gc_register_address(&sDisabled);
971
+ rb_gc_register_address(&sIID);
972
+ rb_gc_register_address(&sCode);
973
+ rb_gc_register_address(&sFunction);
936
974
  }
937
975
 
938
976
  VALUE virtualbox_com_virtualbox(void *ptr) {
@@ -933,6 +933,44 @@ void RUBY_VBOX_INIT(void) {
933
933
  rb_define_method(cNSISupports, "cast", NSISupports__cast, 1);
934
934
  rb_define_method(cNSISupports, "dup", NSISupports__dup, 0);
935
935
  rb_define_method(cNSISupports, "clone", NSISupports__clone, 0);
936
+
937
+ /* Prevent garbage collection of static value */
938
+ rb_gc_register_address(&mVirtualBox);
939
+ rb_gc_register_address(&mCOM);
940
+ rb_gc_register_address(&mModel);
941
+
942
+ rb_gc_register_address(&cBlob);
943
+ rb_gc_register_address(&cWString);
944
+ rb_gc_register_address(&cCArray);
945
+ rb_gc_register_address(&cIID);
946
+ rb_gc_register_address(&cAbstractModel);
947
+ rb_gc_register_address(&cAbstractInterface);
948
+ rb_gc_register_address(&cAbstractEnum);
949
+
950
+ rb_gc_register_address(&oZero);
951
+ rb_gc_register_address(&oMax_u16);
952
+ rb_gc_register_address(&oMax_u32);
953
+ rb_gc_register_address(&oMax_u64);
954
+ rb_gc_register_address(&oMax_s16);
955
+ rb_gc_register_address(&oMax_s32);
956
+ rb_gc_register_address(&oMax_s64);
957
+ rb_gc_register_address(&oMin_s16);
958
+ rb_gc_register_address(&oMin_s32);
959
+ rb_gc_register_address(&oMin_s64);
960
+ rb_gc_register_address(&oExceptionMap);
961
+ rb_gc_register_address(&oUUIDparser);
962
+
963
+ rb_gc_register_address(&sYes);
964
+ rb_gc_register_address(&sNo);
965
+ rb_gc_register_address(&sTrue);
966
+ rb_gc_register_address(&sFalse);
967
+ rb_gc_register_address(&sOn);
968
+ rb_gc_register_address(&sOff);
969
+ rb_gc_register_address(&sEnabled);
970
+ rb_gc_register_address(&sDisabled);
971
+ rb_gc_register_address(&sIID);
972
+ rb_gc_register_address(&sCode);
973
+ rb_gc_register_address(&sFunction);
936
974
  }
937
975
 
938
976
  VALUE virtualbox_com_virtualbox(void *ptr) {
@@ -933,6 +933,44 @@ void RUBY_VBOX_INIT(void) {
933
933
  rb_define_method(cNSISupports, "cast", NSISupports__cast, 1);
934
934
  rb_define_method(cNSISupports, "dup", NSISupports__dup, 0);
935
935
  rb_define_method(cNSISupports, "clone", NSISupports__clone, 0);
936
+
937
+ /* Prevent garbage collection of static value */
938
+ rb_gc_register_address(&mVirtualBox);
939
+ rb_gc_register_address(&mCOM);
940
+ rb_gc_register_address(&mModel);
941
+
942
+ rb_gc_register_address(&cBlob);
943
+ rb_gc_register_address(&cWString);
944
+ rb_gc_register_address(&cCArray);
945
+ rb_gc_register_address(&cIID);
946
+ rb_gc_register_address(&cAbstractModel);
947
+ rb_gc_register_address(&cAbstractInterface);
948
+ rb_gc_register_address(&cAbstractEnum);
949
+
950
+ rb_gc_register_address(&oZero);
951
+ rb_gc_register_address(&oMax_u16);
952
+ rb_gc_register_address(&oMax_u32);
953
+ rb_gc_register_address(&oMax_u64);
954
+ rb_gc_register_address(&oMax_s16);
955
+ rb_gc_register_address(&oMax_s32);
956
+ rb_gc_register_address(&oMax_s64);
957
+ rb_gc_register_address(&oMin_s16);
958
+ rb_gc_register_address(&oMin_s32);
959
+ rb_gc_register_address(&oMin_s64);
960
+ rb_gc_register_address(&oExceptionMap);
961
+ rb_gc_register_address(&oUUIDparser);
962
+
963
+ rb_gc_register_address(&sYes);
964
+ rb_gc_register_address(&sNo);
965
+ rb_gc_register_address(&sTrue);
966
+ rb_gc_register_address(&sFalse);
967
+ rb_gc_register_address(&sOn);
968
+ rb_gc_register_address(&sOff);
969
+ rb_gc_register_address(&sEnabled);
970
+ rb_gc_register_address(&sDisabled);
971
+ rb_gc_register_address(&sIID);
972
+ rb_gc_register_address(&sCode);
973
+ rb_gc_register_address(&sFunction);
936
974
  }
937
975
 
938
976
  VALUE virtualbox_com_virtualbox(void *ptr) {
@@ -1,5 +1,5 @@
1
1
  module VirtualBox
2
2
  module COM
3
- VERSION = "0.10.5"
3
+ VERSION = "0.10.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: virtualbox-com
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.5
4
+ version: 0.10.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -57,42 +57,42 @@ files:
57
57
  - Gemfile
58
58
  - virtualbox-com.gemspec
59
59
  - scripts/spec.rb
60
- - scripts/sig.rb
61
60
  - scripts/xidl-conv.rb
62
61
  - scripts/to_c.rb
63
62
  - scripts/abstracts.rb
63
+ - scripts/sig.rb
64
64
  - examples/simple.rb
65
+ - ext/virtualbox-com/4.2/vbox.c
65
66
  - ext/virtualbox-com/4.1/vbox.c
66
- - ext/virtualbox-com/loader/vbox-loader.c
67
67
  - ext/virtualbox-com/vbox.c
68
- - ext/virtualbox-com/4.2/vbox.c
69
- - ext/virtualbox-com/types.h
68
+ - ext/virtualbox-com/loader/vbox-loader.c
70
69
  - ext/virtualbox-com/helpers.h
70
+ - ext/virtualbox-com/types.h
71
+ - ext/virtualbox-com/4.2/extconf.rb
71
72
  - ext/virtualbox-com/4.1/extconf.rb
72
73
  - ext/virtualbox-com/loader/extconf.rb
73
- - ext/virtualbox-com/4.2/extconf.rb
74
- - ext/virtualbox-com/4.1/generated.inc
75
74
  - ext/virtualbox-com/4.2/generated.inc
76
- - lib/virtualbox-com.rb
77
- - lib/virtualbox/com.rb
78
- - lib/virtualbox/com/abstracts.rb
79
- - lib/virtualbox/com/version.rb
80
- - lib/virtualbox/com/util.rb
81
- - lib/virtualbox/com/xpcomc-ffi/iid.rb
82
- - lib/virtualbox/com/xpcomc-ffi/lib.rb
83
- - lib/virtualbox/com/xpcomc-ffi/xpcomc-vbox.rb
84
- - lib/virtualbox/com/xpcomc-ffi/spec.rb
85
- - lib/virtualbox/com/xpcomc-ffi/abstracts.rb
86
- - lib/virtualbox/com/xpcomc-ffi/sig.rb
87
- - lib/virtualbox/com/xpcomc-ffi/model-types.rb
88
- - lib/virtualbox/com/xpcomc-ffi/binding.rb
89
- - lib/virtualbox/com/xpcomc-ffi/implementer.rb
75
+ - ext/virtualbox-com/4.1/generated.inc
90
76
  - lib/virtualbox/com/exceptions.rb
77
+ - lib/virtualbox/com/util.rb
91
78
  - lib/virtualbox/com/model/4.2.rb
92
79
  - lib/virtualbox/com/model/4.1-generated.rb
93
80
  - lib/virtualbox/com/model/4.2-generated.rb
94
- - lib/virtualbox/com/xpcomc-native.rb
81
+ - lib/virtualbox/com/xpcomc-ffi/sig.rb
82
+ - lib/virtualbox/com/xpcomc-ffi/model-types.rb
83
+ - lib/virtualbox/com/xpcomc-ffi/abstracts.rb
84
+ - lib/virtualbox/com/xpcomc-ffi/spec.rb
85
+ - lib/virtualbox/com/xpcomc-ffi/implementer.rb
86
+ - lib/virtualbox/com/xpcomc-ffi/binding.rb
87
+ - lib/virtualbox/com/xpcomc-ffi/iid.rb
88
+ - lib/virtualbox/com/xpcomc-ffi/lib.rb
89
+ - lib/virtualbox/com/xpcomc-ffi/xpcomc-vbox.rb
95
90
  - lib/virtualbox/com/xpcomc-ffi.rb
91
+ - lib/virtualbox/com/version.rb
92
+ - lib/virtualbox/com/abstracts.rb
93
+ - lib/virtualbox/com/xpcomc-native.rb
94
+ - lib/virtualbox/com.rb
95
+ - lib/virtualbox-com.rb
96
96
  homepage: http://github.com/sdalu/virtualbox-com
97
97
  licenses:
98
98
  - GPL-2
@@ -108,7 +108,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
108
108
  version: '0'
109
109
  segments:
110
110
  - 0
111
- hash: 1923609477400548225
111
+ hash: -2955089643712316138
112
112
  required_rubygems_version: !ruby/object:Gem::Requirement
113
113
  none: false
114
114
  requirements:
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
117
  version: '0'
118
118
  segments:
119
119
  - 0
120
- hash: 1923609477400548225
120
+ hash: -2955089643712316138
121
121
  requirements: []
122
122
  rubyforge_project:
123
123
  rubygems_version: 1.8.25