v8.h | v8.h | |||
---|---|---|---|---|
skipping to change at line 2686 | skipping to change at line 2686 | |||
PropertyAttribute attributes = None); | PropertyAttribute attributes = None); | |||
V8_INLINE(void Set(const char* name, Handle<Data> value)); | V8_INLINE(void Set(const char* name, Handle<Data> value)); | |||
private: | private: | |||
Template(); | Template(); | |||
friend class ObjectTemplate; | friend class ObjectTemplate; | |||
friend class FunctionTemplate; | friend class FunctionTemplate; | |||
}; | }; | |||
template<typename T> | template<typename T> | |||
class V8EXPORT ReturnValue { | class ReturnValue { | |||
public: | public: | |||
V8_INLINE(explicit ReturnValue(internal::Object** slot)); | V8_INLINE(explicit ReturnValue(internal::Object** slot)); | |||
// Handle setters | // Handle setters | |||
V8_INLINE(void Set(const Persistent<T>& handle)); | V8_INLINE(void Set(const Persistent<T>& handle)); | |||
V8_INLINE(void Set(const Handle<T> handle)); | V8_INLINE(void Set(const Handle<T> handle)); | |||
// Fast primitive setters | // Fast primitive setters | |||
V8_INLINE(void Set(Isolate* isolate, bool value)); | V8_INLINE(void Set(Isolate* isolate, bool value)); | |||
V8_INLINE(void Set(Isolate* isolate, double i)); | V8_INLINE(void Set(Isolate* isolate, double i)); | |||
V8_INLINE(void Set(Isolate* isolate, int32_t i)); | V8_INLINE(void Set(Isolate* isolate, int32_t i)); | |||
V8_INLINE(void Set(Isolate* isolate, uint32_t i)); | V8_INLINE(void Set(Isolate* isolate, uint32_t i)); | |||
skipping to change at line 2713 | skipping to change at line 2713 | |||
internal::Object** value_; | internal::Object** value_; | |||
}; | }; | |||
/** | /** | |||
* The argument information given to function call callbacks. This | * The argument information given to function call callbacks. This | |||
* class provides access to information about the context of the call, | * class provides access to information about the context of the call, | |||
* including the receiver, the number and values of arguments, and | * including the receiver, the number and values of arguments, and | |||
* the holder of the function. | * the holder of the function. | |||
*/ | */ | |||
template<typename T> | template<typename T> | |||
class V8EXPORT FunctionCallbackInfo { | class FunctionCallbackInfo { | |||
public: | public: | |||
V8_INLINE(int Length() const); | V8_INLINE(int Length() const); | |||
V8_INLINE(Local<Value> operator[](int i) const); | V8_INLINE(Local<Value> operator[](int i) const); | |||
V8_INLINE(Local<Function> Callee() const); | V8_INLINE(Local<Function> Callee() const); | |||
V8_INLINE(Local<Object> This() const); | V8_INLINE(Local<Object> This() const); | |||
V8_INLINE(Local<Object> Holder() const); | V8_INLINE(Local<Object> Holder() const); | |||
V8_INLINE(bool IsConstructCall() const); | V8_INLINE(bool IsConstructCall() const); | |||
V8_INLINE(Local<Value> Data() const); | V8_INLINE(Local<Value> Data() const); | |||
V8_INLINE(Isolate* GetIsolate() const); | V8_INLINE(Isolate* GetIsolate() const); | |||
V8_INLINE(ReturnValue<T> GetReturnValue() const); | V8_INLINE(ReturnValue<T> GetReturnValue() const); | |||
skipping to change at line 2760 | skipping to change at line 2760 | |||
internal::Object** values, | internal::Object** values, | |||
int length, | int length, | |||
bool is_construct_call)); | bool is_construct_call)); | |||
}; | }; | |||
/** | /** | |||
* The information passed to a property callback about the context | * The information passed to a property callback about the context | |||
* of the property access. | * of the property access. | |||
*/ | */ | |||
template<typename T> | template<typename T> | |||
class V8EXPORT PropertyCallbackInfo { | class PropertyCallbackInfo { | |||
public: | public: | |||
V8_INLINE(Isolate* GetIsolate() const); | V8_INLINE(Isolate* GetIsolate() const); | |||
V8_INLINE(Local<Value> Data() const); | V8_INLINE(Local<Value> Data() const); | |||
V8_INLINE(Local<Object> This() const); | V8_INLINE(Local<Object> This() const); | |||
V8_INLINE(Local<Object> Holder() const); | V8_INLINE(Local<Object> Holder() const); | |||
V8_INLINE(ReturnValue<T> GetReturnValue() const); | V8_INLINE(ReturnValue<T> GetReturnValue() const); | |||
// This shouldn't be public, but the arm compiler needs it. | // This shouldn't be public, but the arm compiler needs it. | |||
static const int kArgsLength = 5; | static const int kArgsLength = 5; | |||
protected: | protected: | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added | |||