1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-02 09:27:55 +01:00
Telegram/legacy/TL/TLObject.mm
2015-10-01 19:19:52 +03:00

21 lines
493 B
Plaintext

#import "TLObject.h"
#import <objc/runtime.h>
//static const char *constructorNameKey = "TL.constructorName";
@implementation NSArray (TL)
- (void)TLtagConstructorName:(int32_t)__unused constructorName
{
//objc_setAssociatedObject(self, constructorNameKey, [[NSNumber alloc] initWithInt:constructorName], OBJC_ASSOCIATION_RETAIN_NONATOMIC);
}
- (int32_t)TLconstructorName
{
return 0;
//return [(NSNumber *)objc_getAssociatedObject(self, constructorNameKey) intValue];
}
@end