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

Side by Side Diff: include/v8.h

Issue 10558005: Further extend TypedArray support in d8: (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed Michael's comments. Created 8 years, 5 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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 1533 matching lines...) Expand 10 before | Expand all | Expand 10 after
1544 Handle<FunctionTemplate> tmpl); 1544 Handle<FunctionTemplate> tmpl);
1545 1545
1546 /** 1546 /**
1547 * Call builtin Object.prototype.toString on this object. 1547 * Call builtin Object.prototype.toString on this object.
1548 * This is different from Value::ToString() that may call 1548 * This is different from Value::ToString() that may call
1549 * user-defined toString function. This one does not. 1549 * user-defined toString function. This one does not.
1550 */ 1550 */
1551 V8EXPORT Local<String> ObjectProtoToString(); 1551 V8EXPORT Local<String> ObjectProtoToString();
1552 1552
1553 /** 1553 /**
1554 * Returns the function invoked as a constructor for this object.
1555 * May be the null value.
1556 */
1557 V8EXPORT Local<Value> GetConstructor();
1558
1559 /**
1554 * Returns the name of the function invoked as a constructor for this object. 1560 * Returns the name of the function invoked as a constructor for this object.
1555 */ 1561 */
1556 V8EXPORT Local<String> GetConstructorName(); 1562 V8EXPORT Local<String> GetConstructorName();
1557 1563
1558 /** Gets the number of internal fields for this Object. */ 1564 /** Gets the number of internal fields for this Object. */
1559 V8EXPORT int InternalFieldCount(); 1565 V8EXPORT int InternalFieldCount();
1560 /** Gets the value in an internal field. */ 1566 /** Gets the value in an internal field. */
1561 inline Local<Value> GetInternalField(int index); 1567 inline Local<Value> GetInternalField(int index);
1562 /** Sets the value in an internal field. */ 1568 /** Sets the value in an internal field. */
1563 V8EXPORT void SetInternalField(int index, Handle<Value> value); 1569 V8EXPORT void SetInternalField(int index, Handle<Value> value);
(...skipping 2932 matching lines...) Expand 10 before | Expand all | Expand 10 after
4496 4502
4497 4503
4498 } // namespace v8 4504 } // namespace v8
4499 4505
4500 4506
4501 #undef V8EXPORT 4507 #undef V8EXPORT
4502 #undef TYPE_CHECK 4508 #undef TYPE_CHECK
4503 4509
4504 4510
4505 #endif // V8_H_ 4511 #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