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

Unified Diff: gin/function_template.h.pump

Issue 93813002: Implement gin::ObjectTemplateBuilder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: gin/function_template.h.pump
diff --git a/gin/function_template.h.pump b/gin/function_template.h.pump
index 5812c80d9c9ce3ecb3185f7bcbeb1411d415ce78..b6f61d581ab80dbaea47edd663c93b4a3bda255a 100644
--- a/gin/function_template.h.pump
+++ b/gin/function_template.h.pump
@@ -5,6 +5,9 @@ $$
$$ http://code.google.com/p/googletest/wiki/PumpManual
$$
+#ifndef GIN_FUNCTION_TEMPLATE_H_
+#define GIN_FUNCTION_TEMPLATE_H_
+
$var MAX_ARITY = 4
// Copyright 2013 The Chromium Authors. All rights reserved.
@@ -180,3 +183,5 @@ v8::Local<v8::FunctionTemplate> CreateFunctionTemplate(
]]
} // namespace gin
+
+#endif // GIN_FUNCTION_TEMPLATE_H_

Powered by Google App Engine
This is Rietveld 408576698