mirror of
https://github.com/status-im/react-native.git
synced 2025-01-09 09:12:02 +00:00
5e8f1716fc
Reviewed By: bestander Differential Revision: D3324351 fbshipit-source-id: 41fa18a23c8661440a7deff244c93278f418e1d9
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
|