File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 16
16
17
17
%{
18
18
#include < AvTranscoder/Library.hpp>
19
- #include < AvTranscoder/Option.hpp>
20
19
#include < AvTranscoder/log.hpp>
21
20
%}
22
21
@@ -30,9 +29,9 @@ namespace std {
30
29
%include " AvTranscoder/profile/profile.i"
31
30
32
31
%include <AvTranscoder/Library.hpp>
33
- %include <AvTranscoder/Option.hpp>
34
32
%include <AvTranscoder/log.hpp>
35
33
34
+ %include " AvTranscoder/option.i"
36
35
%include " AvTranscoder/codec/codec.i"
37
36
%include " AvTranscoder/stream/stream.i"
38
37
%include " AvTranscoder/decoder/decoder.i"
Original file line number Diff line number Diff line change
1
+ %{
2
+ #include < AvTranscoder/Option.hpp>
3
+ %}
4
+
5
+ namespace std {
6
+ // Allow vector of object with no default constructor
7
+ %ignore vector< avtranscoder::Option >::vector(size_type);
8
+ %ignore vector< avtranscoder::Option >::resize;
9
+
10
+ // Create instantiations of a template classes
11
+ %template (OptionArray) vector< avtranscoder::Option >;
12
+ %template (IntPair) pair< size_t , size_t >;
13
+ }
14
+
15
+ %include <AvTranscoder/Option.hpp>
You can’t perform that action at this time.
0 commit comments