2016-05-04 02:29:58 +00:00
|
|
|
// Copyright 2004-present Facebook. All Rights Reserved.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2016-05-14 00:15:03 +00:00
|
|
|
#if defined(WITH_JSC_EXTRA_TRACING) || DEBUG
|
|
|
|
|
|
|
|
#include <inttypes.h>
|
2016-11-22 14:05:36 +00:00
|
|
|
#include <jschelpers/JavaScriptCore.h>
|
2016-05-14 00:15:03 +00:00
|
|
|
|
2016-05-04 02:29:58 +00:00
|
|
|
namespace facebook {
|
|
|
|
namespace react {
|
|
|
|
|
2016-05-14 00:15:03 +00:00
|
|
|
uint64_t tracingTagFromJSValue(JSContextRef ctx, JSValueRef value, JSValueRef* exception);
|
2016-05-04 02:29:58 +00:00
|
|
|
void addNativeTracingHooks(JSGlobalContextRef ctx);
|
|
|
|
|
|
|
|
} }
|
|
|
|
|
|
|
|
#endif
|