Cosmetic changes in a few test cases
This commit is contained in:
parent
209ed1db66
commit
18058a9860
6 changed files with 8 additions and 35 deletions
|
|
@ -1,9 +1,5 @@
|
|||
%module enum_missing
|
||||
|
||||
#if defined(SWIGSCILAB)
|
||||
%rename(AvCodecCtx) AVCodecContext;
|
||||
#endif
|
||||
|
||||
// Test when SWIG does not parse the enum definition
|
||||
%{
|
||||
enum AVPixelFormat {
|
||||
|
|
@ -18,10 +14,10 @@ enum AVPixelFormat2 {
|
|||
%}
|
||||
|
||||
%inline %{
|
||||
typedef struct AVCodecContext {
|
||||
typedef struct AVCodecCtx {
|
||||
enum AVPixelFormat pix_fmt;
|
||||
enum AVPixelFormat2 pix_fmt2;
|
||||
} AVCodecContext;
|
||||
} AVCodecCtx;
|
||||
|
||||
enum AVPixelFormat global_fmt;
|
||||
enum AVPixelFormat2 global_fmt2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue