mirror of
https://github.com/status-im/react-native.git
synced 2025-01-09 17:15:54 +00:00
81c2f3b189
Reviewed By: dcaspi Differential Revision: D5185504 fbshipit-source-id: 4f7e9f9068598418b346a7370f6be241a0784b60
35 lines
574 B
C++
35 lines
574 B
C++
// Copyright 2004-present Facebook. All Rights Reserved.
|
|
|
|
#include "Platform.h"
|
|
|
|
namespace facebook {
|
|
namespace react {
|
|
|
|
#if __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Wglobal-constructors"
|
|
#endif
|
|
|
|
namespace ReactMarker {
|
|
|
|
LogTaggedMarker logTaggedMarker = nullptr;
|
|
void logMarker(const ReactMarkerId markerId) {
|
|
logTaggedMarker(markerId, nullptr);
|
|
}
|
|
|
|
}
|
|
|
|
namespace JSCNativeHooks {
|
|
|
|
Hook loggingHook = nullptr;
|
|
Hook nowHook = nullptr;
|
|
ConfigurationHook installPerfHooks = nullptr;
|
|
|
|
}
|
|
|
|
#if __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
|
|
} }
|