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

Side by Side Diff: include/v8.h

Issue 2315413002: [api] Fix typo. (Closed)
Patch Set: Created 4 years, 3 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** \mainpage V8 API Reference Guide 5 /** \mainpage V8 API Reference Guide
6 * 6 *
7 * V8 is Google's open source JavaScript engine. 7 * V8 is Google's open source JavaScript engine.
8 * 8 *
9 * This set of documents provides reference material generated from the 9 * This set of documents provides reference material generated from the
10 * V8 header file, include/v8.h. 10 * V8 header file, include/v8.h.
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 template <class F> 336 template <class F>
337 friend class ReturnValue; 337 friend class ReturnValue;
338 338
339 explicit V8_INLINE Local(T* that) : val_(that) {} 339 explicit V8_INLINE Local(T* that) : val_(that) {}
340 V8_INLINE static Local<T> New(Isolate* isolate, T* that); 340 V8_INLINE static Local<T> New(Isolate* isolate, T* that);
341 T* val_; 341 T* val_;
342 }; 342 };
343 343
344 344
345 #if !defined(V8_IMMINENT_DEPRECATION_WARNINGS) 345 #if !defined(V8_IMMINENT_DEPRECATION_WARNINGS)
346 // Local is an alias for Local for historical reasons. 346 // Handle is an alias for Local for historical reasons.
347 template <class T> 347 template <class T>
348 using Handle = Local<T>; 348 using Handle = Local<T>;
349 #endif 349 #endif
350 350
351 351
352 /** 352 /**
353 * A MaybeLocal<> is a wrapper around Local<> that enforces a check whether 353 * A MaybeLocal<> is a wrapper around Local<> that enforces a check whether
354 * the Local<> is empty before it can be used. 354 * the Local<> is empty before it can be used.
355 * 355 *
356 * If an API method returns a MaybeLocal<>, the API method can potentially fail 356 * If an API method returns a MaybeLocal<>, the API method can potentially fail
(...skipping 9104 matching lines...) Expand 10 before | Expand all | Expand 10 after
9461 */ 9461 */
9462 9462
9463 9463
9464 } // namespace v8 9464 } // namespace v8
9465 9465
9466 9466
9467 #undef TYPE_CHECK 9467 #undef TYPE_CHECK
9468 9468
9469 9469
9470 #endif // INCLUDE_V8_H_ 9470 #endif // INCLUDE_V8_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698