[ReactNative] Add if DEBUG to profile functions declarations

This commit is contained in:
Tadeu Zagallo 2015-04-20 12:33:52 -01:00
parent 915925db9d
commit 2d5d55d17e
1 changed files with 4 additions and 0 deletions

View File

@ -16,6 +16,8 @@
#import "RCTLog.h"
#import "RCTUtils.h"
#if DEBUG
#pragma mark - Prototypes
NSNumber *RCTProfileTimestamp(NSTimeInterval);
@ -147,3 +149,5 @@ void RCTProfileImmediateEvent(NSString *name, NSTimeInterval timestamp, NSString
@"args": RCTProfileGetMemoryUsage(),
);
}
#endif