v8.h | v8.h | |||
---|---|---|---|---|
skipping to change at line 589 | skipping to change at line 589 | |||
/** | /** | |||
* Returns the script id value. | * Returns the script id value. | |||
*/ | */ | |||
Local<Value> Id(); | Local<Value> Id(); | |||
/** | /** | |||
* Associate an additional data object with the script. This is mainly us ed | * Associate an additional data object with the script. This is mainly us ed | |||
* with the debugger as this data object is only available through the | * with the debugger as this data object is only available through the | |||
* debugger API. | * debugger API. | |||
*/ | */ | |||
void SetData(Handle<Value> data); | void SetData(Handle<String> data); | |||
}; | }; | |||
/** | /** | |||
* An error message. | * An error message. | |||
*/ | */ | |||
class V8EXPORT Message { | class V8EXPORT Message { | |||
public: | public: | |||
Local<String> Get() const; | Local<String> Get() const; | |||
Local<String> GetSourceLine() const; | Local<String> GetSourceLine() const; | |||
skipping to change at line 2566 | skipping to change at line 2566 | |||
bool HasOutOfMemoryException(); | bool HasOutOfMemoryException(); | |||
/** Returns true if V8 has a current context. */ | /** Returns true if V8 has a current context. */ | |||
static bool InContext(); | static bool InContext(); | |||
/** | /** | |||
* Associate an additional data object with the context. This is mainly u sed | * Associate an additional data object with the context. This is mainly u sed | |||
* with the debugger to provide additional information on the context thr ough | * with the debugger to provide additional information on the context thr ough | |||
* the debugger API. | * the debugger API. | |||
*/ | */ | |||
void SetData(Handle<Value> data); | void SetData(Handle<String> data); | |||
Local<Value> GetData(); | Local<Value> GetData(); | |||
/** | /** | |||
* Stack-allocated class which sets the execution context for all | * Stack-allocated class which sets the execution context for all | |||
* operations executed within a local scope. | * operations executed within a local scope. | |||
*/ | */ | |||
class V8EXPORT Scope { | class V8EXPORT Scope { | |||
public: | public: | |||
inline Scope(Handle<Context> context) : context_(context) { | inline Scope(Handle<Context> context) : context_(context) { | |||
context_->Enter(); | context_->Enter(); | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||