mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 01:25:39 +00:00
e541d9b108
Reviewed By: bnham Differential Revision: D4197369 fbshipit-source-id: 53869fe1b56010c8a5330025d06ef557369e4957
19 lines
376 B
C++
19 lines
376 B
C++
// Copyright 2004-present Facebook. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#if defined(WITH_JSC_EXTRA_TRACING) || DEBUG
|
|
|
|
#include <inttypes.h>
|
|
#include <jschelpers/JavaScriptCore.h>
|
|
|
|
namespace facebook {
|
|
namespace react {
|
|
|
|
uint64_t tracingTagFromJSValue(JSContextRef ctx, JSValueRef value, JSValueRef* exception);
|
|
void addNativeTracingHooks(JSGlobalContextRef ctx);
|
|
|
|
} }
|
|
|
|
#endif
|