ropencv 0.0.8 → 0.0.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/ext/rbind.rb +12 -12
- data/ropencv.gemspec +1 -1
- metadata +1 -1
data/ext/rbind.rb
CHANGED
|
@@ -60,18 +60,18 @@ rbind.parser.type("std::vector<Point3d>")
|
|
|
60
60
|
rbind.parser.type("std::vector<Vec4i>")
|
|
61
61
|
|
|
62
62
|
# add opencv docu
|
|
63
|
-
|
|
64
|
-
rbind.parser.each_type do |t|
|
|
65
|
-
if @doc.has_key?(t.full_name)
|
|
66
|
-
t.doc = @doc[t.full_name]
|
|
67
|
-
end
|
|
68
|
-
next unless t.is_a?(Rbind::RNamespace)
|
|
69
|
-
t.each_operation do |op|
|
|
70
|
-
if @doc.has_key?(op.full_name)
|
|
71
|
-
op.doc = @doc[op.full_name]
|
|
72
|
-
end
|
|
73
|
-
end
|
|
74
|
-
end
|
|
63
|
+
#@doc = YAML.load(File.open(File.join(File.dirname(__FILE__),'opencv.yml')).read)
|
|
64
|
+
#rbind.parser.each_type do |t|
|
|
65
|
+
# if @doc.has_key?(t.full_name)
|
|
66
|
+
# t.doc = @doc[t.full_name]
|
|
67
|
+
# end
|
|
68
|
+
# next unless t.is_a?(Rbind::RNamespace)
|
|
69
|
+
# t.each_operation do |op|
|
|
70
|
+
# if @doc.has_key?(op.full_name)
|
|
71
|
+
# op.doc = @doc[op.full_name]
|
|
72
|
+
# end
|
|
73
|
+
# end
|
|
74
|
+
#end
|
|
75
75
|
|
|
76
76
|
# generate files
|
|
77
77
|
rbind.generator_ruby.file_prefix = "ropencv"
|
data/ropencv.gemspec
CHANGED