diff options
Diffstat (limited to 'src/handles.h')
-rw-r--r-- | src/handles.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/handles.h b/src/handles.h index aa9d8b99..d95ca911 100644 --- a/src/handles.h +++ b/src/handles.h @@ -223,6 +223,13 @@ Handle<Object> SetLocalPropertyIgnoreAttributes( Handle<Object> value, PropertyAttributes attributes); +// Used to set local properties on the object we totally control +// and which therefore has no accessors and alikes. +void SetLocalPropertyNoThrow(Handle<JSObject> object, + Handle<String> key, + Handle<Object> value, + PropertyAttributes attributes = NONE); + Handle<Object> SetPropertyWithInterceptor(Handle<JSObject> object, Handle<String> key, Handle<Object> value, |