@@ -1019,9 +1019,9 @@ class V8_EXPORT PrimitiveArray {
1019
1019
public:
1020
1020
static Local<PrimitiveArray> New (Isolate* isolate, int length);
1021
1021
int Length () const ;
1022
- V8_DEPRECATED (" Use Isolate* version" ,
1022
+ V8_DEPRECATE_SOON (" Use Isolate* version" ,
1023
1023
void Set (int index, Local<Primitive> item));
1024
- V8_DEPRECATED (" Use Isolate* version" ,
1024
+ V8_DEPRECATE_SOON (" Use Isolate* version" ,
1025
1025
Local<Primitive> Get (int index));
1026
1026
void Set (Isolate* isolate, int index, Local<Primitive> item);
1027
1027
Local<Primitive> Get (Isolate* isolate, int index);
@@ -1739,8 +1739,8 @@ class V8_EXPORT StackTrace {
1739
1739
/* *
1740
1740
* Returns a StackFrame at a particular index.
1741
1741
*/
1742
- V8_DEPRECATED (" Use Isolate version" ,
1743
- Local<StackFrame> GetFrame (uint32_t index) const );
1742
+ V8_DEPRECATE_SOON (" Use Isolate version" ,
1743
+ Local<StackFrame> GetFrame (uint32_t index) const );
1744
1744
Local<StackFrame> GetFrame (Isolate* isolate, uint32_t index) const ;
1745
1745
1746
1746
/* *
@@ -2451,7 +2451,7 @@ class V8_EXPORT Value : public Data {
2451
2451
2452
2452
inline V8_DEPRECATED (" Use maybe version" ,
2453
2453
Local<Boolean > ToBoolean () const );
2454
- inline V8_DEPRECATED (" Use maybe version" , Local<String> ToString () const );
2454
+ inline V8_DEPRECATE_SOON (" Use maybe version" , Local<String> ToString () const );
2455
2455
inline V8_DEPRECATED (" Use maybe version" , Local<Object> ToObject () const );
2456
2456
inline V8_DEPRECATED (" Use maybe version" ,
2457
2457
Local<Integer> ToInteger () const );
@@ -2471,7 +2471,7 @@ class V8_EXPORT Value : public Data {
2471
2471
Local<Context> context) const ;
2472
2472
V8_WARN_UNUSED_RESULT Maybe<int32_t > Int32Value (Local<Context> context) const ;
2473
2473
2474
- V8_DEPRECATED (" Use maybe version" , bool BooleanValue () const );
2474
+ V8_DEPRECATE_SOON (" Use maybe version" , bool BooleanValue () const );
2475
2475
V8_DEPRECATED (" Use maybe version" , double NumberValue () const );
2476
2476
V8_DEPRECATED (" Use maybe version" , int64_t IntegerValue () const );
2477
2477
V8_DEPRECATED (" Use maybe version" , uint32_t Uint32Value () const );
@@ -2584,7 +2584,7 @@ class V8_EXPORT String : public Name {
2584
2584
* Returns the number of bytes in the UTF-8 encoded
2585
2585
* representation of this string.
2586
2586
*/
2587
- V8_DEPRECATED (" Use Isolate version instead" , int Utf8Length () const );
2587
+ V8_DEPRECATE_SOON (" Use Isolate version instead" , int Utf8Length () const );
2588
2588
2589
2589
int Utf8Length (Isolate* isolate) const ;
2590
2590
@@ -2642,23 +2642,23 @@ class V8_EXPORT String : public Name {
2642
2642
// 16-bit character codes.
2643
2643
int Write (Isolate* isolate, uint16_t * buffer, int start = 0 , int length = -1 ,
2644
2644
int options = NO_OPTIONS) const ;
2645
- V8_DEPRECATED (" Use Isolate* version" ,
2646
- int Write (uint16_t * buffer, int start = 0 , int length = -1 ,
2647
- int options = NO_OPTIONS) const );
2645
+ V8_DEPRECATE_SOON (" Use Isolate* version" ,
2646
+ int Write (uint16_t * buffer, int start = 0 , int length = -1 ,
2647
+ int options = NO_OPTIONS) const );
2648
2648
// One byte characters.
2649
2649
int WriteOneByte (Isolate* isolate, uint8_t * buffer, int start = 0 ,
2650
2650
int length = -1 , int options = NO_OPTIONS) const ;
2651
- V8_DEPRECATED (" Use Isolate* version" ,
2652
- int WriteOneByte (uint8_t * buffer, int start = 0 ,
2653
- int length = -1 , int options = NO_OPTIONS)
2651
+ V8_DEPRECATE_SOON (" Use Isolate* version" ,
2652
+ int WriteOneByte (uint8_t * buffer, int start = 0 ,
2653
+ int length = -1 , int options = NO_OPTIONS)
2654
2654
const );
2655
2655
// UTF-8 encoded characters.
2656
2656
int WriteUtf8 (Isolate* isolate, char * buffer, int length = -1 ,
2657
2657
int * nchars_ref = NULL , int options = NO_OPTIONS) const ;
2658
- V8_DEPRECATED (" Use Isolate* version" ,
2659
- int WriteUtf8 (char * buffer, int length = -1 ,
2660
- int * nchars_ref = NULL ,
2661
- int options = NO_OPTIONS) const );
2658
+ V8_DEPRECATE_SOON (" Use Isolate* version" ,
2659
+ int WriteUtf8 (char * buffer, int length = -1 ,
2660
+ int * nchars_ref = NULL ,
2661
+ int options = NO_OPTIONS) const );
2662
2662
2663
2663
/* *
2664
2664
* A zero length string.
@@ -2822,9 +2822,9 @@ class V8_EXPORT String : public Name {
2822
2822
*/
2823
2823
static Local<String> Concat (Isolate* isolate, Local<String> left,
2824
2824
Local<String> right);
2825
- static V8_DEPRECATED (" Use Isolate* version" ,
2826
- Local<String> Concat (Local<String> left,
2827
- Local<String> right));
2825
+ static V8_DEPRECATE_SOON (" Use Isolate* version" ,
2826
+ Local<String> Concat (Local<String> left,
2827
+ Local<String> right));
2828
2828
2829
2829
/* *
2830
2830
* Creates a new external string using the data defined in the given
@@ -5049,8 +5049,8 @@ class V8_EXPORT BooleanObject : public Object {
5049
5049
class V8_EXPORT StringObject : public Object {
5050
5050
public:
5051
5051
static Local<Value> New (Isolate* isolate, Local<String> value);
5052
- V8_DEPRECATED (" Use Isolate* version" ,
5053
- static Local<Value> New (Local<String> value));
5052
+ V8_DEPRECATE_SOON (" Use Isolate* version" ,
5053
+ static Local<Value> New (Local<String> value));
5054
5054
5055
5055
Local<String> ValueOf () const ;
5056
5056
0 commit comments