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

Side by Side Diff: include/v8.h

Issue 25221002: Remove ArrayBufferView::BaseAddress method. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 2 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 2667 matching lines...) Expand 10 before | Expand all | Expand 10 after
2678 */ 2678 */
2679 Local<ArrayBuffer> Buffer(); 2679 Local<ArrayBuffer> Buffer();
2680 /** 2680 /**
2681 * Byte offset in |Buffer|. 2681 * Byte offset in |Buffer|.
2682 */ 2682 */
2683 size_t ByteOffset(); 2683 size_t ByteOffset();
2684 /** 2684 /**
2685 * Size of a view in bytes. 2685 * Size of a view in bytes.
2686 */ 2686 */
2687 size_t ByteLength(); 2687 size_t ByteLength();
2688 /**
2689 * Base address of a view.
2690 */
2691 void* BaseAddress();
2692 2688
2693 V8_INLINE static ArrayBufferView* Cast(Value* obj); 2689 V8_INLINE static ArrayBufferView* Cast(Value* obj);
2694 2690
2695 static const int kInternalFieldCount = 2691 static const int kInternalFieldCount =
2696 V8_ARRAY_BUFFER_VIEW_INTERNAL_FIELD_COUNT; 2692 V8_ARRAY_BUFFER_VIEW_INTERNAL_FIELD_COUNT;
2697 2693
2698 private: 2694 private:
2699 ArrayBufferView(); 2695 ArrayBufferView();
2700 static void CheckCast(Value* obj); 2696 static void CheckCast(Value* obj);
2701 }; 2697 };
(...skipping 3800 matching lines...) Expand 10 before | Expand all | Expand 10 after
6502 */ 6498 */
6503 6499
6504 6500
6505 } // namespace v8 6501 } // namespace v8
6506 6502
6507 6503
6508 #undef TYPE_CHECK 6504 #undef TYPE_CHECK
6509 6505
6510 6506
6511 #endif // V8_H_ 6507 #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