2016-05-04 02:29:58 +00:00
|
|
|
// Copyright 2004-present Facebook. All Rights Reserved.
|
|
|
|
|
|
|
|
#include "Platform.h"
|
|
|
|
|
|
|
|
namespace facebook {
|
|
|
|
namespace react {
|
|
|
|
|
2017-05-11 11:46:44 +00:00
|
|
|
#if __clang__
|
|
|
|
#pragma clang diagnostic push
|
|
|
|
#pragma clang diagnostic ignored "-Wglobal-constructors"
|
|
|
|
#endif
|
|
|
|
|
2016-05-04 02:29:58 +00:00
|
|
|
namespace ReactMarker {
|
2017-05-10 10:48:13 +00:00
|
|
|
|
2017-06-07 17:17:58 +00:00
|
|
|
LogTaggedMarker logTaggedMarker = nullptr;
|
2017-05-10 10:48:13 +00:00
|
|
|
void logMarker(const ReactMarkerId markerId) {
|
|
|
|
logTaggedMarker(markerId, nullptr);
|
|
|
|
}
|
2016-05-04 02:29:58 +00:00
|
|
|
|
2017-06-07 17:17:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
namespace JSCNativeHooks {
|
2016-05-04 02:29:58 +00:00
|
|
|
|
|
|
|
Hook loggingHook = nullptr;
|
|
|
|
Hook nowHook = nullptr;
|
2017-06-07 17:17:58 +00:00
|
|
|
ConfigurationHook installPerfHooks = nullptr;
|
|
|
|
|
2016-05-04 02:29:58 +00:00
|
|
|
}
|
|
|
|
|
2017-05-11 11:46:44 +00:00
|
|
|
#if __clang__
|
|
|
|
#pragma clang diagnostic pop
|
|
|
|
#endif
|
|
|
|
|
2016-05-04 02:29:58 +00:00
|
|
|
} }
|