blob: 5b8b50796dc6f39b60e2e412d0e41e7469fa43ca [file] [log] [blame]
// Copyright (c) 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef NativeValueTraits_h
#define NativeValueTraits_h
#include "wtf/Allocator.h"
#include <v8.h>
namespace blink {
class ExceptionState;
template <typename T, typename... Arguments>
struct NativeValueTraits {
STATIC_ONLY(NativeValueTraits);
static T nativeValue(v8::Isolate*,
v8::Local<v8::Value>,
ExceptionState&,
Arguments... args);
};
} // namespace blink
#endif // NativeValueTraits_h