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

Unified Diff: gin/wrapper_info.h

Issue 67763002: Add gin, a lightweight bindings system for V8 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Aaron's comments Created 7 years, 1 month 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 | « gin/test/v8_test.cc ('k') | gin/wrapper_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gin/wrapper_info.h
diff --git a/gin/wrapper_info.h b/gin/wrapper_info.h
new file mode 100644
index 0000000000000000000000000000000000000000..16eef25536658c6efdba6ec7f592b4f876f25e9c
--- /dev/null
+++ b/gin/wrapper_info.h
@@ -0,0 +1,25 @@
+// Copyright 2013 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 GIN_WRAPPER_INFO_H_
+#define GIN_WRAPPER_INFO_H_
+
+#include "v8/include/v8.h"
+
+namespace gin {
+
+enum InternalFields {
+ kWrapperInfoIndex,
+ kEncodedValueIndex,
+ kNumberOfInternalFields,
+};
+
+struct WrapperInfo {
+ static WrapperInfo* From(v8::Handle<v8::Object> object);
+ // Currently we just use the address of this struct for identity.
+};
+
+} // namespace gin
+
+#endif // GIN_WRAPPER_INFO_H_
« no previous file with comments | « gin/test/v8_test.cc ('k') | gin/wrapper_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698