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

Side by Side Diff: include/v8.h

Issue 7692020: Added forgotten V8EXPORT attributes for v8::Array::CheckCast and v8::Number::CheckCast. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 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 | 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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 1317 matching lines...) Expand 10 before | Expand all | Expand 10 after
1328 /** 1328 /**
1329 * A JavaScript number value (ECMA-262, 4.3.20) 1329 * A JavaScript number value (ECMA-262, 4.3.20)
1330 */ 1330 */
1331 class Number : public Primitive { 1331 class Number : public Primitive {
1332 public: 1332 public:
1333 V8EXPORT double Value() const; 1333 V8EXPORT double Value() const;
1334 V8EXPORT static Local<Number> New(double value); 1334 V8EXPORT static Local<Number> New(double value);
1335 static inline Number* Cast(v8::Value* obj); 1335 static inline Number* Cast(v8::Value* obj);
1336 private: 1336 private:
1337 V8EXPORT Number(); 1337 V8EXPORT Number();
1338 static void CheckCast(v8::Value* obj); 1338 V8EXPORT static void CheckCast(v8::Value* obj);
1339 }; 1339 };
1340 1340
1341 1341
1342 /** 1342 /**
1343 * A JavaScript value representing a signed integer. 1343 * A JavaScript value representing a signed integer.
1344 */ 1344 */
1345 class Integer : public Number { 1345 class Integer : public Number {
1346 public: 1346 public:
1347 V8EXPORT static Local<Integer> New(int32_t value); 1347 V8EXPORT static Local<Integer> New(int32_t value);
1348 V8EXPORT static Local<Integer> NewFromUnsigned(uint32_t value); 1348 V8EXPORT static Local<Integer> NewFromUnsigned(uint32_t value);
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
1702 1702
1703 /** 1703 /**
1704 * Creates a JavaScript array with the given length. If the length 1704 * Creates a JavaScript array with the given length. If the length
1705 * is negative the returned array will have length 0. 1705 * is negative the returned array will have length 0.
1706 */ 1706 */
1707 V8EXPORT static Local<Array> New(int length = 0); 1707 V8EXPORT static Local<Array> New(int length = 0);
1708 1708
1709 static inline Array* Cast(Value* obj); 1709 static inline Array* Cast(Value* obj);
1710 private: 1710 private:
1711 V8EXPORT Array(); 1711 V8EXPORT Array();
1712 static void CheckCast(Value* obj); 1712 V8EXPORT static void CheckCast(Value* obj);
1713 }; 1713 };
1714 1714
1715 1715
1716 /** 1716 /**
1717 * A JavaScript function object (ECMA-262, 15.3). 1717 * A JavaScript function object (ECMA-262, 15.3).
1718 */ 1718 */
1719 class Function : public Object { 1719 class Function : public Object {
1720 public: 1720 public:
1721 V8EXPORT Local<Object> NewInstance() const; 1721 V8EXPORT Local<Object> NewInstance() const;
1722 V8EXPORT Local<Object> NewInstance(int argc, Handle<Value> argv[]) const; 1722 V8EXPORT Local<Object> NewInstance(int argc, Handle<Value> argv[]) const;
(...skipping 2474 matching lines...) Expand 10 before | Expand all | Expand 10 after
4197 4197
4198 4198
4199 } // namespace v8 4199 } // namespace v8
4200 4200
4201 4201
4202 #undef V8EXPORT 4202 #undef V8EXPORT
4203 #undef TYPE_CHECK 4203 #undef TYPE_CHECK
4204 4204
4205 4205
4206 #endif // V8_H_ 4206 #endif // 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