[ReactNative] Add if DEBUG to profile functions declarations
This commit is contained in:
parent
915925db9d
commit
2d5d55d17e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue