Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(296)

Unified Diff: include/v8.h

Issue 1829833002: [V8] Add v8::Value::TypeOf to API (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Changed to non static Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/api.cc » ('j') | src/api.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/v8.h
diff --git a/include/v8.h b/include/v8.h
index ab945ec5324085af75656b9a8156165eeef548b0..b0f0fcc73a3a4511f81606de9c7b0e0413209193 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -2039,6 +2039,9 @@ class V8_EXPORT Value : public Data {
template <class T> V8_INLINE static Value* Cast(T* value);
+ V8_WARN_UNUSED_RESULT MaybeLocal<String> TypeOf(
+ v8::Local<v8::Context> context);
+
private:
V8_INLINE bool QuickIsUndefined() const;
V8_INLINE bool QuickIsNull() const;
« no previous file with comments | « no previous file | src/api.cc » ('j') | src/api.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698