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

Side by Side Diff: include/v8.h

Issue 438303003: Removed GetConstructor from the API (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/api.cc » ('j') | 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 2208 matching lines...) Expand 10 before | Expand all | Expand 10 after
2219 Local<Object> FindInstanceInPrototypeChain(Handle<FunctionTemplate> tmpl); 2219 Local<Object> FindInstanceInPrototypeChain(Handle<FunctionTemplate> tmpl);
2220 2220
2221 /** 2221 /**
2222 * Call builtin Object.prototype.toString on this object. 2222 * Call builtin Object.prototype.toString on this object.
2223 * This is different from Value::ToString() that may call 2223 * This is different from Value::ToString() that may call
2224 * user-defined toString function. This one does not. 2224 * user-defined toString function. This one does not.
2225 */ 2225 */
2226 Local<String> ObjectProtoToString(); 2226 Local<String> ObjectProtoToString();
2227 2227
2228 /** 2228 /**
2229 * Returns the function invoked as a constructor for this object.
2230 * May be the null value.
2231 */
2232 Local<Value> GetConstructor();
2233
2234 /**
2235 * Returns the name of the function invoked as a constructor for this object. 2229 * Returns the name of the function invoked as a constructor for this object.
2236 */ 2230 */
2237 Local<String> GetConstructorName(); 2231 Local<String> GetConstructorName();
2238 2232
2239 /** Gets the number of internal fields for this Object. */ 2233 /** Gets the number of internal fields for this Object. */
2240 int InternalFieldCount(); 2234 int InternalFieldCount();
2241 2235
2242 /** Same as above, but works for Persistents */ 2236 /** Same as above, but works for Persistents */
2243 V8_INLINE static int InternalFieldCount( 2237 V8_INLINE static int InternalFieldCount(
2244 const PersistentBase<Object>& object) { 2238 const PersistentBase<Object>& object) {
(...skipping 4490 matching lines...) Expand 10 before | Expand all | Expand 10 after
6735 */ 6729 */
6736 6730
6737 6731
6738 } // namespace v8 6732 } // namespace v8
6739 6733
6740 6734
6741 #undef TYPE_CHECK 6735 #undef TYPE_CHECK
6742 6736
6743 6737
6744 #endif // V8_H_ 6738 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698