ifish/Ifish/AlibcTradeSDK-3.1.1.96/Frameworks/OpenMtopSDK.framework/Headers/TBSDKThreadSafeMutableArry.h

24 lines
593 B
Objective-C

//
// TBThreadSafeMutableArry.h
// TBLocationFramework
//
// Created by striveliu on 7/4/14.
// Copyright (c) 2014 taobao. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <pthread.h>
@interface TBSDKThreadSafeMutableArry : NSArray
{
pthread_rwlock_t s_pthread_rwlock_t;
NSMutableArray *_mutableArry;
}
- (void)addObject:(id)anObject;
- (void) insert: (id) object atIndex: (NSUInteger) atIndex;
- (void)removeObjectAtIndex:(NSUInteger)index;
- (void)removeAllObjects;
- (void)removeLastObject;
- (id)objectAtIndex:(NSUInteger)index;
- (NSUInteger)getCount;
@end