mirror of
https://github.com/status-im/react-native.git
synced 2025-01-14 19:44:13 +00:00
86f2eb18e5
Reviewed By: tadeuzagallo Differential Revision: D3234830 fbshipit-source-id: 94cc870d47d620c8bd8d35f83d0b017e5ddba90d
20 lines
379 B
C++
20 lines
379 B
C++
// Copyright 2004-present Facebook. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#if defined(WITH_JSC_EXTRA_TRACING) || DEBUG
|
|
|
|
#include <inttypes.h>
|
|
|
|
#include <JavaScriptCore/JSContextRef.h>
|
|
|
|
namespace facebook {
|
|
namespace react {
|
|
|
|
uint64_t tracingTagFromJSValue(JSContextRef ctx, JSValueRef value, JSValueRef* exception);
|
|
void addNativeTracingHooks(JSGlobalContextRef ctx);
|
|
|
|
} }
|
|
|
|
#endif
|