[linters] Fix unavailable api check to take the avaiability attribute into account when it's not the first one in the list.
Reviewed By: martinoluca Differential Revision: D5292444 fbshipit-source-id: 620a855master
parent
38676e43d7
commit
72802024b3
@ -0,0 +1,26 @@
|
||||
/*
|
||||
* Copyright (c) 2017 - present Facebook, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the BSD style license found in the
|
||||
* LICENSE file in the root directory of this source tree. An additional grant
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
#import <AVFoundation/AVFoundation.h>
|
||||
|
||||
@interface FNFPlayerLayer : CAEAGLLayer
|
||||
|
||||
- (instancetype)initWithConfigs:(FNFPlayerLayer*)configs;
|
||||
|
||||
@end
|
||||
|
||||
@implementation FNFPlayerLayer {
|
||||
BOOL my_field;
|
||||
}
|
||||
|
||||
- (instancetype)initWithConfigs:(FNFPlayerLayer*)configs {
|
||||
my_field = configs.presentsWithTransaction;
|
||||
return self;
|
||||
}
|
||||
|
||||
@end
|
Loading…
Reference in new issue